From d9026271a2b3534f1245bfc40d9a8859187ba453 Mon Sep 17 00:00:00 2001 From: Gabriel Fonseca Date: Fri, 9 Oct 2026 11:08:14 +0100 Subject: [PATCH 1/6] feat(sdk): add typed service clients for v2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 14 +- README.md | 56 +- SECURITY.md | 2 +- contracts/reports/conformance.json | 9 +- contracts/reports/migration-matrix.md | 11 +- .../java/dev/frontal/sdk/api/ApiClient.java | 273 +- .../frontal/sdk/auth/ApiKeyAuthProvider.java | 4 +- .../dev/frontal/sdk/config/ClientConfig.java | 94 +- .../dev/frontal/sdk/models/ApiException.java | 23 +- .../dev/frontal/sdk/models/ApiService.java | 4 +- .../dev/frontal/sdk/models/AuthException.java | 21 +- .../frontal/sdk/models/FrontalException.java | 46 + .../dev/frontal/sdk/models/PageResult.java | 16 +- .../dev/frontal/sdk/models/QueryParams.java | 83 + .../sdk/models/RateLimitException.java | 21 +- .../frontal/sdk/models/ServerException.java | 23 +- .../frontal/sdk/models/SseEventIterator.java | 12 +- .../frontal/sdk/models/SseEventPublisher.java | 18 +- .../sdk/models/ValidationException.java | 21 +- .../java/dev/frontal/sdk/utils/Poller.java | 14 +- .../frontal/sdk/utils/RequestUriBuilder.java | 35 +- docs/ARCHITECTURE.md | 8 +- docs/ENTERPRISE_READINESS.md | 3 +- docs/ONBOARDING.md | 4 +- docs/OVERVIEW.md | 4 +- docs/README.md | 2 +- docs/ROADMAP.md | 2 +- docs/api/README.md | 31 + docs/api/agents.md | 37 + docs/api/ai.md | 29 + docs/api/audit.md | 19 + docs/api/auth.md | 143 + docs/api/billing.md | 57 + docs/api/blob.md | 27 + docs/api/connection-tests.md | 13 + docs/api/connectors.md | 35 + docs/api/data.md | 313 + docs/api/events.md | 45 + docs/api/governance.md | 59 + docs/api/invocations.md | 13 + docs/api/lineage.md | 25 + docs/api/methods-as-code.md | 771 +++ docs/api/observability.md | 73 + docs/api/ontology.md | 353 + docs/api/pipelines.md | 33 + docs/api/providers.md | 13 + docs/api/react.md | 11 + docs/api/sandbox.md | 17 + docs/api/schedules.md | 31 + docs/api/webhook-endpoints.md | 25 + docs/api/webhooks.md | 31 + docs/api/workflows.md | 71 + docs/mcp.json | 2 +- examples/README.md | 8 +- .../dev/frontal/examples/QuickstartTest.java | 4 +- gradle.properties | 2 +- mcp.json | 2 +- scripts/README.md | 3 +- scripts/check_contracts.py | 106 +- scripts/generate_endpoints.py | 326 +- .../java/dev/frontal/sdk/api/Frontal.java | 170 +- .../java/dev/frontal/sdk/ApiClientTest.java | 131 +- .../dev/frontal/sdk/ContractCoverageTest.java | 119 +- .../dev/frontal/sdk/ReadmeExamplesTest.java | 13 + .../frontal/sdk/resources/AgentsClient.java | 74 +- .../sdk/resources/AgentsServiceClient.java | 422 ++ .../dev/frontal/sdk/resources/AiClient.java | 42 +- .../sdk/resources/AiServiceClient.java | 298 + .../frontal/sdk/resources/AuditClient.java | 137 + .../dev/frontal/sdk/resources/AuthClient.java | 2175 +++++++ .../frontal/sdk/resources/BillingClient.java | 904 +++ .../dev/frontal/sdk/resources/BlobClient.java | 352 + .../sdk/resources/ConnectionTestsClient.java | 56 + .../sdk/resources/ConnectorsClient.java | 474 ++ .../dev/frontal/sdk/resources/DataClient.java | 4813 ++++++++++++++ .../dev/frontal/sdk/resources/Endpoints.java | 647 +- .../frontal/sdk/resources/EventsClient.java | 550 ++ .../sdk/resources/GovernanceClient.java | 767 +++ .../sdk/resources/InvocationsClient.java | 45 + .../frontal/sdk/resources/LineageClient.java | 226 + .../sdk/resources/ObservabilityClient.java | 1114 ++++ .../frontal/sdk/resources/OntologyClient.java | 5698 +++++++++++++++++ .../sdk/resources/PipelinesClient.java | 354 + .../sdk/resources/ProvidersClient.java | 45 + .../frontal/sdk/resources/ReactClient.java | 8 + .../frontal/sdk/resources/SandboxClient.java | 106 + .../sdk/resources/SchedulesClient.java | 379 ++ .../frontal/sdk/resources/SdkOperation.java | 12 + .../frontal/sdk/resources/ServiceClient.java | 64 +- .../sdk/resources/WebhookEndpointsClient.java | 262 + .../frontal/sdk/resources/WebhooksClient.java | 345 + .../sdk/resources/WorkflowsClient.java | 51 +- .../sdk/resources/WorkflowsServiceClient.java | 1078 ++++ skills/frontal-sdk/SKILL.md | 2 +- skills/java-mockwebserver-tests/SKILL.md | 2 +- templates/README.md | 2 +- templates/agent-approval/pom.xml | 2 +- .../frontal/examples/agentapproval/Main.java | 3 +- templates/cron-export/pom.xml | 2 +- .../dev/frontal/examples/cronexport/Main.java | 3 +- templates/pipeline-monitor/pom.xml | 2 +- .../examples/pipelinemonitor/Main.java | 3 +- 103 files changed, 25035 insertions(+), 470 deletions(-) create mode 100644 core/src/main/java/dev/frontal/sdk/models/QueryParams.java create mode 100644 docs/api/README.md create mode 100644 docs/api/agents.md create mode 100644 docs/api/ai.md create mode 100644 docs/api/audit.md create mode 100644 docs/api/auth.md create mode 100644 docs/api/billing.md create mode 100644 docs/api/blob.md create mode 100644 docs/api/connection-tests.md create mode 100644 docs/api/connectors.md create mode 100644 docs/api/data.md create mode 100644 docs/api/events.md create mode 100644 docs/api/governance.md create mode 100644 docs/api/invocations.md create mode 100644 docs/api/lineage.md create mode 100644 docs/api/methods-as-code.md create mode 100644 docs/api/observability.md create mode 100644 docs/api/ontology.md create mode 100644 docs/api/pipelines.md create mode 100644 docs/api/providers.md create mode 100644 docs/api/react.md create mode 100644 docs/api/sandbox.md create mode 100644 docs/api/schedules.md create mode 100644 docs/api/webhook-endpoints.md create mode 100644 docs/api/webhooks.md create mode 100644 docs/api/workflows.md create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuditClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BlobClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/EventsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/LineageClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ReactClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/SdkOperation.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 37fcefa..895bf0e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.0.0" + ".": "2.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 6533bfe..1636f1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,11 @@ # Changelog -## 1.0.0 +## 2.0.0 -- Add the Gradle multi-module SDK, shared OkHttp/Jackson transport, typed errors, pagination, polling, and SSE support. -- Add named AI, agents, and workflows clients plus accessors for every service. -- Add MockWebServer, README example, route contract, Java 17/21 CI, and Central Portal release checks. +- Establish the initial SDK release with the multi-module build, shared transport, typed failures, pagination, polling, and SSE support. +- Add named service clients and operation methods for all catalogued routes. +- Retry safe streamed GET downloads and bound retained error diagnostics. +- Add immutable typed query parameters and JSON tree request bodies for routes without contract schemas; isolate custom Jackson configuration. +- Narrow polling exceptions, complete finite SSE publishers at exact demand boundaries, and publish generated service references. All notable changes to this SDK are recorded here. - -## Unreleased - -- Add the initial repository scaffold and shared API contract snapshots. diff --git a/README.md b/README.md index c12c860..e0afcd3 100644 --- a/README.md +++ b/README.md @@ -14,35 +14,77 @@ Maven: dev.frontal frontal-sdk - 1.0.0 + 2.0.0 ``` Gradle Kotlin DSL: ```kotlin -implementation("dev.frontal:frontal-sdk:1.0.0") +implementation("dev.frontal:frontal-sdk:2.0.0") ``` Set `FRONTAL_API_KEY`, then make a testable call. The README snippet is compiled and run against MockWebServer in CI: ```java -try (Frontal f = Frontal.builder().apiKey("frt_test_key").baseUrl(mock.url("/v1").toString()).build()) { - JsonNode agent = f.agents().get("agt_123", JsonNode.class); +try (Frontal quickstartClient = Frontal.builder().apiKey("frt_test_key").apiBaseUrl(mock.url("/v1").toString()).build()) { + JsonNode agent = quickstartClient.agents().get("agt_123", JsonNode.class); if (!"triage".equals(agent.path("name").asText())) throw new AssertionError(); } ``` -The production default base URL is `https://api.frontal.dev/v1`; `baseUrl(...)` is useful for tests and compatible gateways. `Frontal` exposes every API service, with named operation helpers for AI, agents, and workflows. Each service shares one transport, and all catalogued routes remain available through its `request` methods and `Endpoints` constants. +The production default API base URL is `https://api.frontal.dev/v1`; `apiBaseUrl(...)` configures test servers and compatible gateways. `Frontal` exposes a typed client for every API service, with named operation methods generated from the route catalog. Each service shares one transport; `Endpoints` and generic `request` methods remain available for advanced use. + +For routes whose contracts do not define a payload schema, named methods accept `JsonNode` request bodies, typed query parameters, and caller-selected response types. Use `JsonNode` for flexible responses or `TypeReference` for generic collections: + +```java + JsonNode health = f.agents().getAgentsHealth(QueryParams.empty(), JsonNode.class); +``` ## Configuration -`Frontal.builder()` accepts `apiKey`, `baseUrl`, `aiBaseUrl`, `env`, `debug`, `timeout`, `connectTimeout`, `maxRetries`, and custom headers. `Frontal.fromEnvironment()` reads `FRONTAL_API_KEY`, `FRONTAL_API_URL`, `FRONTAL_AI_URL`, `FRONTAL_ENV`, `FRONTAL_DEBUG`, and `FRONTAL_TIMEOUT`. Java does not load `.env` files automatically. +`Frontal.builder()` accepts `apiKey`, `apiBaseUrl`, `aiBaseUrl`, `environment`, `debug`, `requestTimeout`, `connectTimeout`, `maxRetries`, `maxResponseBytes`, `maxErrorBodyBytes`, `userAgent`, custom headers, and an optional `ObjectMapper`. The SDK copies a supplied mapper at build time. `Frontal.fromEnvironment()` reads `FRONTAL_API_KEY`, `FRONTAL_API_URL`, `FRONTAL_AI_URL`, `FRONTAL_ENV`, `FRONTAL_DEBUG`, and `FRONTAL_TIMEOUT`. Java does not load `.env` files automatically. + +HTTP errors are `FrontalException` subclasses: `AuthException`, `RateLimitException`, `ValidationException`, `ServerException`, or `ApiException`. They expose `code()`, `requestId()`, `statusCode()`, and `retryable()`. Network failures use `NetworkException`. `responseBody()` retains at most 16 KiB by default; `responseBodyTruncated()` reports when the diagnostic body was capped. -HTTP errors are `FrontalException` subclasses: `AuthException`, `RateLimitException`, `ValidationException`, `ServerException`, or `ApiException`. They expose `code()`, `requestId()`, `statusCode()`, and `retryable()`. Network failures use `NetworkException`. +With a `Frontal` client open, catch typed failures when the application needs different handling, and use the request ID for support diagnostics. Error response bodies are available through `responseBody()` and may contain sensitive data, so avoid logging them indiscriminately: + +```java +try { + JsonNode agent = f.agents().get("agt_123", JsonNode.class); +} catch (RateLimitException e) { + System.err.println("Retry after " + e.retryAfter() + "; request " + e.requestId()); +} catch (FrontalException e) { + System.err.println("Frontal request failed: " + e.code() + "; request " + e.requestId()); +} +``` Paginated list operations return `PageResult` with `nextPage()`, `all()`, and `Iterable` support. Streaming endpoints expose `Flow.Publisher` and a blocking `SseEventIterator` that callers close after use. +Iterate pages lazily when the result may be large: + +```java +for (JsonNode agent : f.agents().list(QueryParams.empty(), JsonNode.class)) { + System.out.println(agent.path("id").asText()); +} +``` + +`requestBytes()` buffers a response up to the configured response limit. For larger downloads, use `streamBody()` and close the response. This example assumes `outputStream` is an open `OutputStream`: + +```java +Endpoint download = new Endpoint(ApiService.DATA, HttpMethod.GETRAW, "/exports/{param}"); +try (ApiStream response = f.data().streamBody(download, List.of("exp_123"), QueryParams.empty(), null)) { + response.body().transferTo(outputStream); +} +``` + +Request and query maps use their keys verbatim as wire names; for example, use `"agent_id"` when the API expects `agent_id`. Java bean properties use the default snake case Jackson strategy. A custom mapper’s settings are honored, and `@JsonProperty` controls exact field names. + +The configured request timeout applies to each ordinary call attempt and `streamBody()` download attempt. Safe GET requests may retry up to `maxRetries`; writes run once. Retry delays are capped at five seconds. SSE connections disable the read and call timeout so long-lived streams can remain open; close the blocking iterator or cancel the Flow subscription to release the connection. + + +Browse the [service API reference](./docs/api/README.md) for all named operations and route signatures. + ## Build and verify Requirements: JDK 17 or 21 and Python 3 for the contract check. The Gradle wrapper is the supported build entry point. diff --git a/SECURITY.md b/SECURITY.md index d3b3567..ba7a227 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,6 +6,6 @@ We aim to acknowledge reports within five business days and will coordinate a fi ## Supported versions -Security fixes are provided for the latest stable release line (currently `1.x`). Upgrade to the latest patch release before reporting an issue. Unsupported versions may receive a fix only when a vulnerability warrants it and a maintainer can provide one. +Security fixes are provided for the latest stable release line (currently `2.x`). Upgrade to the latest patch release before reporting an issue. Unsupported versions may receive a fix only when a vulnerability warrants it and a maintainer can provide one. Never commit populated `.env` files, credentials, or captured production payloads. diff --git a/contracts/reports/conformance.json b/contracts/reports/conformance.json index aec2e5a..2375227 100644 --- a/contracts/reports/conformance.json +++ b/contracts/reports/conformance.json @@ -1,9 +1,10 @@ { "repository": "sdk-java", "language": "Java", - "status": "route-catalogued", + "status": "named-operations", "contractEndpointEntries": 622, - "generatedEndpointConstants": 622, - "catalogCoverage": "100%", - "note": "All routes in sdk-endpoints.json have generated endpoint constants and share the generic SDK transport. Route-specific typed models are not generated because the inventory does not provide complete schemas." + "generatedEndpointConstants": 611, + "namedOperationMethods": 611, + "supportedRouteCoverage": "611/622", + "note": "Endpoint constants and named operations cover SDK service routes. Payloads without usable schemas retain caller-provided JSON and response types." } diff --git a/contracts/reports/migration-matrix.md b/contracts/reports/migration-matrix.md index 793eb5b..c006549 100644 --- a/contracts/reports/migration-matrix.md +++ b/contracts/reports/migration-matrix.md @@ -1,12 +1,13 @@ # Java SDK route coverage -_Status: generated route catalog complete. This measures catalog coverage and generic transport availability, not route-specific typed models._ +_Status: generated route catalog and named operation surface complete. Typed models are provided only where committed schemas are usable._ | Metric | Value | | --- | ---: | | Contract endpoint entries | 622 | -| Generated endpoint constants | 622 | -| Catalog coverage | 100% | -| Route-specific typed request/response models | Not generated | +| Generated endpoint constants | 611 | +| Named operation methods for supported routes | 611 | +| Contract routes omitted from the SDK surface | 11 | +| Operation-specific payload schemas usable | Limited by committed contract snapshots | -`scripts/generate_endpoints.py` regenerates `services/src/main/java/dev/frontal/sdk/resources/Endpoints.java` from `contracts/sdk-endpoints.json`. All catalogued routes use the shared Java transport; callers provide response types when decoding JSON. +`scripts/generate_endpoints.py` regenerates `services/src/main/java/dev/frontal/sdk/resources/Endpoints.java` from `contracts/sdk-endpoints.json`, grouping agent-run operations with agents. SDK routes use the shared Java transport; callers provide response types when decoding JSON. diff --git a/core/src/main/java/dev/frontal/sdk/api/ApiClient.java b/core/src/main/java/dev/frontal/sdk/api/ApiClient.java index 4b1d984..e3329ea 100644 --- a/core/src/main/java/dev/frontal/sdk/api/ApiClient.java +++ b/core/src/main/java/dev/frontal/sdk/api/ApiClient.java @@ -4,8 +4,6 @@ import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.PropertyNamingStrategies; -import com.fasterxml.jackson.databind.node.ArrayNode; -import com.fasterxml.jackson.databind.node.ObjectNode; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; @@ -45,11 +43,15 @@ public final class ApiClient implements AutoCloseable { private final boolean ownsHttpClient; public ApiClient(ClientConfig config) { - this(config, createHttpClient(config), new ObjectMapper(), apiKeyAuth(config), true); + this(config, createHttpClient(config), defaultObjectMapper(), apiKeyAuth(config), true); + } + + ApiClient(ClientConfig config, ObjectMapper objectMapper) { + this(config, createHttpClient(config), objectMapper, apiKeyAuth(config), true); } public ApiClient(ClientConfig config, AuthProvider authProvider) { - this(config, createHttpClient(config), new ObjectMapper(), authProvider, true); + this(config, createHttpClient(config), defaultObjectMapper(), authProvider, true); } public ApiClient(ClientConfig config, OkHttpClient httpClient, ObjectMapper objectMapper) { @@ -69,15 +71,13 @@ private ApiClient( boolean ownsHttpClient) { this.config = Objects.requireNonNull(config, "config"); this.httpClient = Objects.requireNonNull(httpClient, "httpClient"); - this.objectMapper = Objects.requireNonNull(objectMapper, "objectMapper") - .copy() - .setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE); + this.objectMapper = Objects.requireNonNull(objectMapper, "objectMapper").copy(); this.authProvider = authProvider; this.ownsHttpClient = ownsHttpClient; } public ObjectMapper objectMapper() { - return objectMapper; + return objectMapper.copy(); } public ClientConfig config() { @@ -87,8 +87,8 @@ public ClientConfig config() { public @Nullable T request( Endpoint endpoint, List pathParams, - Map query, - @Nullable Object body, + QueryParams query, + @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return decode(execute(endpoint, pathParams, query, body).body(), responseType); @@ -97,8 +97,8 @@ public ClientConfig config() { public @Nullable T request( Endpoint endpoint, List pathParams, - Map query, - @Nullable Object body, + QueryParams query, + @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { byte[] response = execute(endpoint, pathParams, query, body).body(); @@ -106,14 +106,16 @@ public ClientConfig config() { } /** Executes an endpoint and returns the successful status, headers, and raw response bytes. */ - public ApiResponse execute(Endpoint endpoint, List pathParams, Map query, @Nullable Object body) + public ApiResponse execute(Endpoint endpoint, List pathParams, QueryParams query, @Nullable JsonNode body) throws IOException, InterruptedException { Objects.requireNonNull(endpoint, "endpoint"); - if (endpoint.method() == HttpMethod.STREAM || endpoint.method() == HttpMethod.POSTFORMDATA) { + if (endpoint.method() == HttpMethod.STREAM + || endpoint.method() == HttpMethod.POSTFORMDATA + || endpoint.method() == HttpMethod.POSTRAW) { throw new IllegalArgumentException("Use stream() or executeForm() for this endpoint kind"); } RequestBody requestBody = requestBody(endpoint.method(), body); - String contentType = contentType(endpoint.method(), body); + String contentType = contentType(body); String accept = endpoint.method() == HttpMethod.GETRAW ? "application/pdf, application/octet-stream, */*" : "application/json, application/octet-stream"; @@ -121,15 +123,104 @@ public ApiResponse execute(Endpoint endpoint, List pathParams, Map pathParams, Map query, @Nullable Object body) + public byte[] requestBytes(Endpoint endpoint, List pathParams, QueryParams query, @Nullable JsonNode body) throws IOException, InterruptedException { return execute(endpoint, pathParams, query, body).body(); } + /** Sends an opaque binary request body and returns response metadata and bytes. */ + public ApiResponse executeRaw(Endpoint endpoint, List pathParams, QueryParams query, byte[] body) + throws IOException, InterruptedException { + Objects.requireNonNull(endpoint, "endpoint"); + Objects.requireNonNull(body, "body"); + if (endpoint.method() != HttpMethod.POSTRAW) { + throw new IllegalArgumentException("executeRaw requires a POSTRAW endpoint"); + } + return exchange( + endpoint, + pathParams, + query, + RequestBody.create(body, OCTET_STREAM), + OCTET_STREAM.toString(), + "application/json, application/octet-stream"); + } + + /** Sends an opaque binary request body and decodes the response. */ + public @Nullable T requestRaw( + Endpoint endpoint, List pathParams, QueryParams query, byte[] body, Class responseType) + throws IOException, InterruptedException { + return decode(executeRaw(endpoint, pathParams, query, body).body(), responseType); + } + + /** Sends an opaque binary request body and decodes a generic response. */ + public @Nullable T requestRaw( + Endpoint endpoint, List pathParams, QueryParams query, byte[] body, TypeReference responseType) + throws IOException, InterruptedException { + byte[] response = executeRaw(endpoint, pathParams, query, body).body(); + return response.length == 0 ? null : objectMapper.readValue(response, responseType); + } + + /** Sends an opaque binary request body and returns raw response bytes. */ + public byte[] requestRawBytes(Endpoint endpoint, List pathParams, QueryParams query, byte[] body) + throws IOException, InterruptedException { + return executeRaw(endpoint, pathParams, query, body).body(); + } + + /** Opens a successful response body without buffering it. The caller must close the result. */ + public ApiStream streamBody(Endpoint endpoint, List pathParams, QueryParams query, @Nullable JsonNode body) + throws IOException, InterruptedException { + Objects.requireNonNull(endpoint, "endpoint"); + if (endpoint.method() == HttpMethod.STREAM + || endpoint.method() == HttpMethod.POSTFORMDATA + || endpoint.method() == HttpMethod.POSTRAW) { + throw new IllegalArgumentException("Use streamResponse() or executeForm() for this endpoint kind"); + } + String requestId = UUID.randomUUID().toString(); + RequestBody requestBody = requestBody(endpoint.method(), body); + String contentType = contentType(body); + int attempts = endpoint.method().wireMethod().equals("GET") ? config.maxRetries() + 1 : 1; + for (int attempt = 0; attempt < attempts; attempt++) { + Request request = buildRequest(endpoint, pathParams, query, requestBody, contentType, "*/*", requestId); + Response response; + try { + response = httpClient.newCall(request).execute(); + } catch (IOException exception) { + if (attempt + 1 < attempts) { + waitBeforeRetry(attempt, null); + continue; + } + throw new NetworkException("Frontal request failed before receiving a response", requestId, exception); + } + if (!response.isSuccessful()) { + int status = response.code(); + String responseRequestId = response.header("x-request-id", requestId); + String retryAfter = response.header("retry-after"); + ErrorBody errorBody; + try (response) { + ResponseBody bodyValue = response.body(); + errorBody = + readErrorBody(bodyValue == null ? InputStream.nullInputStream() : bodyValue.byteStream()); + } + if (endpoint.method().wireMethod().equals("GET") + && attempt + 1 < attempts + && isRetryableStatus(status)) { + waitBeforeRetry(attempt, retryAfter); + continue; + } + throw toFrontalException(status, responseRequestId, retryAfter, errorBody); + } + ResponseBody responseBody = response.body(); + InputStream input = responseBody == null ? InputStream.nullInputStream() : responseBody.byteStream(); + return new ApiStream( + response.code(), response.headers().toMultimap(), new ResponseInputStream(response, input)); + } + throw new NetworkException("Frontal request failed", requestId, null); + } + public @Nullable T requestForm( Endpoint endpoint, List pathParams, - Map query, + QueryParams query, Map fields, Map files, Class responseType) @@ -140,7 +231,7 @@ public byte[] requestBytes(Endpoint endpoint, List pathParams, Map @Nullable T requestForm( Endpoint endpoint, List pathParams, - Map query, + QueryParams query, Map fields, Map files, TypeReference responseType) @@ -154,7 +245,7 @@ public byte[] requestBytes(Endpoint endpoint, List pathParams, Map pathParams, - Map query, + QueryParams query, Map fields, Map files) throws IOException, InterruptedException { @@ -178,18 +269,18 @@ public ApiResponse executeForm( } /** Returns a live response body for a contract endpoint marked {@code STREAM}. */ - public InputStream stream(Endpoint endpoint, List pathParams, Map query) + public InputStream stream(Endpoint endpoint, List pathParams, QueryParams query) throws IOException, InterruptedException { return streamResponse(endpoint, pathParams, query).body(); } /** Opens a streaming response while preserving its status and headers. */ - public ApiStream streamResponse(Endpoint endpoint, List pathParams, Map query) + public ApiStream streamResponse(Endpoint endpoint, List pathParams, QueryParams query) throws IOException, InterruptedException { return newPendingStream(endpoint, pathParams, query).execute(); } - private PendingStream newPendingStream(Endpoint endpoint, List pathParams, Map query) { + private PendingStream newPendingStream(Endpoint endpoint, List pathParams, QueryParams query) { Objects.requireNonNull(endpoint, "endpoint"); if (endpoint.method() != HttpMethod.STREAM) { throw new IllegalArgumentException("stream requires a STREAM endpoint"); @@ -222,16 +313,16 @@ private ApiStream execute() throws IOException { } ResponseBody responseBody = response.body(); if (!response.isSuccessful()) { - byte[] bytes; + ErrorBody errorBody; try (response) { - bytes = readBounded( + errorBody = readErrorBody( responseBody == null ? InputStream.nullInputStream() : responseBody.byteStream()); } throw toFrontalException( response.code(), response.header("x-request-id", requestId), response.header("retry-after"), - bytes); + errorBody); } if (responseBody == null) { response.close(); @@ -246,7 +337,7 @@ private void cancel() { } /** Returns a backpressure-aware publisher of SSE event data. */ - public Flow.Publisher streamPublisher(Endpoint endpoint, List pathParams, Map query) { + public Flow.Publisher streamPublisher(Endpoint endpoint, List pathParams, QueryParams query) { return SseEventPublisher.cancellable(() -> { PendingStream pending = newPendingStream(endpoint, pathParams, query); return new SseEventPublisher.StreamSource() { @@ -264,7 +355,7 @@ public void cancel() { } /** Returns a blocking iterator over SSE event data. The caller must close it. */ - public SseEventIterator streamEvents(Endpoint endpoint, List pathParams, Map query) + public SseEventIterator streamEvents(Endpoint endpoint, List pathParams, QueryParams query) throws IOException, InterruptedException { return new SseEventIterator(streamResponse(endpoint, pathParams, query)); } @@ -272,7 +363,7 @@ public SseEventIterator streamEvents(Endpoint endpoint, List pathParams, private ApiResponse exchange( Endpoint endpoint, List pathParams, - Map query, + QueryParams query, @Nullable RequestBody requestBody, @Nullable String contentType, String accept) @@ -292,6 +383,7 @@ private ApiResponse exchange( throw new NetworkException("Frontal request failed before receiving a response", requestId, exception); } byte[] responseBytes; + @Nullable ErrorBody errorBody = null; int status; String responseRequestId; String retryAfter; @@ -302,7 +394,17 @@ private ApiResponse exchange( retryAfter = response.header("retry-after"); responseHeaders = response.headers().toMultimap(); ResponseBody responseBody = response.body(); - responseBytes = responseBody == null ? new byte[0] : readBounded(responseBody.byteStream()); + if (responseBody == null) { + responseBytes = new byte[0]; + if (status < 200 || status >= 300) { + errorBody = new ErrorBody(responseBytes, false); + } + } else if (status >= 200 && status < 300) { + responseBytes = readBounded(responseBody.byteStream()); + } else { + errorBody = readErrorBody(responseBody.byteStream()); + responseBytes = errorBody.body(); + } } if (status >= 200 && status < 300) { return new ApiResponse(status, responseHeaders, responseBytes); @@ -311,7 +413,7 @@ private ApiResponse exchange( waitBeforeRetry(attempt, retryAfter); continue; } - throw toFrontalException(status, responseRequestId, retryAfter, responseBytes); + throw toFrontalException(status, responseRequestId, retryAfter, Objects.requireNonNull(errorBody)); } throw new NetworkException("Frontal request failed", requestId, null); } @@ -319,7 +421,7 @@ private ApiResponse exchange( private Request buildRequest( Endpoint endpoint, List pathParams, - Map query, + QueryParams query, @Nullable RequestBody body, @Nullable String contentType, String accept, @@ -353,7 +455,7 @@ private Request buildRequest( return builder.method(method, effectiveBody).build(); } - private @Nullable RequestBody requestBody(HttpMethod method, @Nullable Object body) throws IOException { + private @Nullable RequestBody requestBody(HttpMethod method, @Nullable JsonNode body) throws IOException { if (body == null) { return null; } @@ -365,43 +467,21 @@ private Request buildRequest( throw new IllegalArgumentException("This endpoint does not accept a request body"); } if (method == HttpMethod.POSTRAW) { - if (!(body instanceof byte[] bytes)) { - throw new IllegalArgumentException("POSTRAW request bodies must be byte[]"); - } - return RequestBody.create(bytes, OCTET_STREAM); + throw new IllegalArgumentException("Use executeRaw() for POSTRAW endpoint request bodies"); } - JsonNode tree = objectMapper.valueToTree(body); - return RequestBody.create(objectMapper.writeValueAsBytes(camelToSnake(tree)), JSON); + return RequestBody.create(objectMapper.writeValueAsBytes(body), JSON); } - private @Nullable String contentType(HttpMethod method, @Nullable Object body) { + private @Nullable String contentType(@Nullable JsonNode body) { if (body == null) { return null; } - return method == HttpMethod.POSTRAW ? OCTET_STREAM.toString() : JSON.toString(); - } - - private JsonNode camelToSnake(JsonNode node) { - if (node.isObject()) { - ObjectNode converted = objectMapper.createObjectNode(); - node.fields() - .forEachRemaining(entry -> converted.set(toSnake(entry.getKey()), camelToSnake(entry.getValue()))); - return converted; - } - if (node.isArray()) { - ArrayNode converted = objectMapper.createArrayNode(); - node.forEach(item -> converted.add(camelToSnake(item))); - return converted; - } - return node; - } - - private String toSnake(String key) { - return key.replaceAll("([a-z0-9])([A-Z])", "$1_$2").toLowerCase(java.util.Locale.ROOT); + return JSON.toString(); } private FrontalException toFrontalException( - int status, String requestId, @Nullable String retryAfter, byte[] body) { + int status, String requestId, @Nullable String retryAfter, ErrorBody errorBody) { + byte[] body = errorBody.body(); String responseBody = new String(body, StandardCharsets.UTF_8); @Nullable String code = null; @Nullable String message = null; @@ -418,18 +498,19 @@ private FrontalException toFrontalException( // Preserve plain-text error bodies in the exception. } if (status == 401 || status == 403) { - return new AuthException(code, message, requestId, status); + return new AuthException(code, message, requestId, status, responseBody, errorBody.truncated()); } if (status == 400 || status == 422) { - return new ValidationException(code, message, requestId, status); + return new ValidationException(code, message, requestId, status, responseBody, errorBody.truncated()); } if (status == 429) { - return new RateLimitException(code, message, requestId, parseRetryAfter(retryAfter)); + return new RateLimitException( + code, message, requestId, parseRetryAfter(retryAfter), responseBody, errorBody.truncated()); } if (status >= 500) { - return new ServerException(code, message, requestId, status, responseBody); + return new ServerException(code, message, requestId, status, responseBody, errorBody.truncated()); } - return new ApiException(status, code, message, requestId, responseBody); + return new ApiException(status, code, message, requestId, responseBody, errorBody.truncated()); } private @Nullable String textOrNull(JsonNode node) { @@ -454,13 +535,49 @@ private byte[] readBounded(InputStream stream) throws IOException { } } + private ErrorBody readErrorBody(InputStream stream) throws IOException { + ByteArrayOutputStream output = new ByteArrayOutputStream(Math.min(config.maxErrorBodyBytes(), 8192)); + byte[] buffer = new byte[8192]; + int remaining = config.maxErrorBodyBytes(); + int read; + while (remaining > 0 && (read = stream.read(buffer, 0, Math.min(buffer.length, remaining))) >= 0) { + output.write(buffer, 0, read); + remaining -= read; + } + boolean truncated = remaining == 0 && stream.read() >= 0; + return new ErrorBody(output.toByteArray(), truncated); + } + + private static final class ErrorBody { + private final byte[] body; + private final boolean truncated; + + private ErrorBody(byte[] body, boolean truncated) { + this.body = body; + this.truncated = truncated; + } + + private byte[] body() { + return body; + } + + private boolean truncated() { + return truncated; + } + } + private void waitBeforeRetry(int attempt, @Nullable String retryAfter) throws InterruptedException { long delayMillis = Math.min(5_000L, 100L << Math.min(attempt, 5)); Duration serverDelay = parseRetryAfter(retryAfter); if (retryAfter != null && !retryAfter.isBlank()) { - delayMillis = Math.min(5_000L, serverDelay.toMillis()); + delayMillis = serverDelay.compareTo(Duration.ofSeconds(5)) >= 0 ? 5_000L : serverDelay.toMillis(); + } + try { + TimeUnit.MILLISECONDS.sleep(delayMillis); + } catch (InterruptedException exception) { + Thread.currentThread().interrupt(); + throw exception; } - TimeUnit.MILLISECONDS.sleep(delayMillis); } private Duration parseRetryAfter(@Nullable String retryAfter) { @@ -518,6 +635,28 @@ private static OkHttpClient createHttpClient(ClientConfig config) { .build(); } + private static ObjectMapper defaultObjectMapper() { + return new ObjectMapper().setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE); + } + + private static final class ResponseInputStream extends java.io.FilterInputStream { + private final Response response; + + private ResponseInputStream(Response response, InputStream input) { + super(input); + this.response = response; + } + + @Override + public void close() throws IOException { + try { + super.close(); + } finally { + response.close(); + } + } + } + private static @Nullable AuthProvider apiKeyAuth(ClientConfig config) { @Nullable String apiKey = config.apiKey(); return apiKey == null ? null : new ApiKeyAuthProvider(apiKey); diff --git a/core/src/main/java/dev/frontal/sdk/auth/ApiKeyAuthProvider.java b/core/src/main/java/dev/frontal/sdk/auth/ApiKeyAuthProvider.java index 4888168..f2b08b3 100644 --- a/core/src/main/java/dev/frontal/sdk/auth/ApiKeyAuthProvider.java +++ b/core/src/main/java/dev/frontal/sdk/auth/ApiKeyAuthProvider.java @@ -9,8 +9,8 @@ public final class ApiKeyAuthProvider implements AuthProvider { public ApiKeyAuthProvider(String apiKey) { Objects.requireNonNull(apiKey, "apiKey"); - if (apiKey.isBlank()) { - throw new IllegalArgumentException("apiKey must not be blank"); + if (apiKey.isBlank() || apiKey.indexOf('\r') >= 0 || apiKey.indexOf('\n') >= 0) { + throw new IllegalArgumentException("apiKey must be nonblank and contain no line breaks"); } this.apiKey = apiKey; } diff --git a/core/src/main/java/dev/frontal/sdk/config/ClientConfig.java b/core/src/main/java/dev/frontal/sdk/config/ClientConfig.java index 106cb09..641b91c 100644 --- a/core/src/main/java/dev/frontal/sdk/config/ClientConfig.java +++ b/core/src/main/java/dev/frontal/sdk/config/ClientConfig.java @@ -20,6 +20,7 @@ public final class ClientConfig { private final Duration requestTimeout; private final int maxRetries; private final long maxResponseBytes; + private final int maxErrorBodyBytes; private final String userAgent; private final String environment; private final boolean debug; @@ -37,12 +38,25 @@ private ClientConfig(Builder builder) { if (builder.maxResponseBytes <= 0) { throw new IllegalArgumentException("maxResponseBytes must be positive"); } + if (builder.maxErrorBodyBytes <= 0) { + throw new IllegalArgumentException("maxErrorBodyBytes must be positive"); + } maxRetries = builder.maxRetries; maxResponseBytes = builder.maxResponseBytes; + maxErrorBodyBytes = builder.maxErrorBodyBytes; userAgent = requireText(builder.userAgent, "userAgent"); environment = requireText(builder.environment, "environment").toLowerCase(Locale.ROOT); debug = builder.debug; - headers = Map.copyOf(builder.headers); + Map validatedHeaders = new LinkedHashMap<>(); + java.util.Set normalizedNames = new java.util.HashSet<>(); + builder.headers.forEach((name, value) -> { + validateHeader(name, value); + if (!normalizedNames.add(name.toLowerCase(Locale.ROOT))) { + throw new IllegalArgumentException("Duplicate header name ignoring case: " + name); + } + validatedHeaders.put(name, value); + }); + headers = Map.copyOf(validatedHeaders); } /** Creates the default configuration without authentication. */ @@ -55,23 +69,6 @@ public ClientConfig(String apiKey) { this(builder().apiKey(apiKey)); } - /** Compatibility constructor for explicit connection settings. */ - public ClientConfig( - String apiKey, - URI baseUrl, - Duration timeout, - int maxRetries, - long maxResponseBytes, - Map headers) { - this(builder() - .apiKey(apiKey) - .apiBaseUrl(baseUrl) - .requestTimeout(timeout) - .maxRetries(maxRetries) - .maxResponseBytes(maxResponseBytes) - .headers(headers)); - } - public static Builder builder() { return new Builder(); } @@ -122,11 +119,6 @@ public URI aiBaseUrl() { return aiBaseUrl; } - /** Returns the general API base URL for compatibility with earlier SDK versions. */ - public URI baseUrl() { - return apiBaseUrl; - } - public Duration connectTimeout() { return connectTimeout; } @@ -135,11 +127,6 @@ public Duration requestTimeout() { return requestTimeout; } - /** Returns the request timeout for compatibility with earlier SDK versions. */ - public Duration timeout() { - return requestTimeout; - } - public int maxRetries() { return maxRetries; } @@ -148,6 +135,11 @@ public long maxResponseBytes() { return maxResponseBytes; } + /** Maximum error response bytes retained for diagnostics. */ + public int maxErrorBodyBytes() { + return maxErrorBodyBytes; + } + public String userAgent() { return userAgent; } @@ -170,6 +162,9 @@ private static URI normalizeBaseUrl(URI value, String name) { if (value.getHost() == null || !("http".equalsIgnoreCase(scheme) || "https".equalsIgnoreCase(scheme))) { throw new IllegalArgumentException(name + " must be an absolute HTTP or HTTPS URL"); } + if (value.getRawUserInfo() != null || value.getRawQuery() != null || value.getRawFragment() != null) { + throw new IllegalArgumentException(name + " must not include user info, a query, or a fragment"); + } String normalized = value.toString(); while (normalized.endsWith("/")) { normalized = normalized.substring(0, normalized.length() - 1); @@ -193,6 +188,24 @@ private static String requireText(String value, String name) { return value; } + private static void validateHeader(String name, String value) { + requireText(name, "header name"); + Objects.requireNonNull(value, "header value"); + for (int index = 0; index < name.length(); index++) { + char character = name.charAt(index); + boolean valid = (character >= '0' && character <= '9') + || (character >= 'A' && character <= 'Z') + || (character >= 'a' && character <= 'z') + || "!#$%&'*+-.^_`|~".indexOf(character) >= 0; + if (!valid) { + throw new IllegalArgumentException("Invalid HTTP header name: " + name); + } + } + if (value.indexOf('\r') >= 0 || value.indexOf('\n') >= 0) { + throw new IllegalArgumentException("HTTP header values must not contain line breaks"); + } + } + /** Mutable builder used to create an immutable client configuration. */ public static final class Builder { private @Nullable String apiKey; @@ -202,7 +215,8 @@ public static final class Builder { private Duration requestTimeout = Duration.ofSeconds(30); private int maxRetries = 2; private long maxResponseBytes = 64L * 1024 * 1024; - private String userAgent = "frontal-java-sdk/1.0.0"; + private int maxErrorBodyBytes = 16 * 1024; + private String userAgent = "frontal-java-sdk/2.0.0"; private String environment = "development"; private boolean debug; private final Map headers = new LinkedHashMap<>(); @@ -211,9 +225,6 @@ private Builder() {} public Builder apiKey(String apiKey) { String value = requireText(apiKey, "apiKey"); - if (!value.startsWith("frt_")) { - throw new IllegalArgumentException("apiKey must start with frt_"); - } this.apiKey = value; return this; } @@ -227,15 +238,6 @@ public Builder apiBaseUrl(URI apiBaseUrl) { return this; } - /** Alias for {@link #apiBaseUrl(URI)}. */ - public Builder baseUrl(URI baseUrl) { - return apiBaseUrl(baseUrl); - } - - public Builder baseUrl(String baseUrl) { - return apiBaseUrl(baseUrl); - } - public Builder aiBaseUrl(String aiBaseUrl) { return aiBaseUrl(URI.create(aiBaseUrl)); } @@ -255,11 +257,6 @@ public Builder requestTimeout(Duration requestTimeout) { return this; } - /** Alias for {@link #requestTimeout(Duration)}. */ - public Builder timeout(Duration timeout) { - return requestTimeout(timeout); - } - public Builder maxRetries(int maxRetries) { this.maxRetries = maxRetries; return this; @@ -270,6 +267,11 @@ public Builder maxResponseBytes(long maxResponseBytes) { return this; } + public Builder maxErrorBodyBytes(int maxErrorBodyBytes) { + this.maxErrorBodyBytes = maxErrorBodyBytes; + return this; + } + public Builder userAgent(String userAgent) { this.userAgent = userAgent; return this; diff --git a/core/src/main/java/dev/frontal/sdk/models/ApiException.java b/core/src/main/java/dev/frontal/sdk/models/ApiException.java index b5b6c49..0422cdb 100644 --- a/core/src/main/java/dev/frontal/sdk/models/ApiException.java +++ b/core/src/main/java/dev/frontal/sdk/models/ApiException.java @@ -4,19 +4,30 @@ /** An HTTP error outside the more specific authentication, validation, rate, or server classes. */ public final class ApiException extends FrontalException { - private final String responseBody; - public ApiException( int statusCode, @Nullable String code, @Nullable String message, @Nullable String requestId, String responseBody) { - super(code, message, requestId, statusCode, statusCode == 408 || statusCode == 425); - this.responseBody = responseBody; + this(statusCode, code, message, requestId, responseBody, false); } - public String responseBody() { - return responseBody; + public ApiException( + int statusCode, + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + String responseBody, + boolean responseBodyTruncated) { + super( + code, + message, + requestId, + statusCode, + statusCode == 408 || statusCode == 425, + null, + responseBody, + responseBodyTruncated); } } diff --git a/core/src/main/java/dev/frontal/sdk/models/ApiService.java b/core/src/main/java/dev/frontal/sdk/models/ApiService.java index b338960..74246aa 100644 --- a/core/src/main/java/dev/frontal/sdk/models/ApiService.java +++ b/core/src/main/java/dev/frontal/sdk/models/ApiService.java @@ -1,6 +1,6 @@ package dev.frontal.sdk; -/** Service domains exposed by the Frontal API. */ +/** Contract route groups used to identify endpoint ownership. */ public enum ApiService { AGENTS("agents"), AI("ai"), @@ -20,10 +20,8 @@ public enum ApiService { SCHEDULES("schedules"), WEBHOOKS("webhooks"), WORKFLOWS("workflows"), - ACTION_RUNS("action-runs"), CONNECTION_TESTS("connection-tests"), EVENTS("events"), - INTEGRATIONS("integrations"), INVOCATIONS("invocations"), PROVIDERS("providers"), WEBHOOK_ENDPOINTS("webhook-endpoints"); diff --git a/core/src/main/java/dev/frontal/sdk/models/AuthException.java b/core/src/main/java/dev/frontal/sdk/models/AuthException.java index 35c38c1..dbb2ac2 100644 --- a/core/src/main/java/dev/frontal/sdk/models/AuthException.java +++ b/core/src/main/java/dev/frontal/sdk/models/AuthException.java @@ -5,6 +5,25 @@ /** Authentication or authorization failure returned by the API. */ public final class AuthException extends FrontalException { public AuthException(@Nullable String code, @Nullable String message, @Nullable String requestId, int statusCode) { - super(code, message, requestId, statusCode, false); + this(code, message, requestId, statusCode, null); + } + + public AuthException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + int statusCode, + @Nullable String responseBody) { + this(code, message, requestId, statusCode, responseBody, false); + } + + public AuthException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + int statusCode, + @Nullable String responseBody, + boolean responseBodyTruncated) { + super(code, message, requestId, statusCode, false, null, responseBody, responseBodyTruncated); } } diff --git a/core/src/main/java/dev/frontal/sdk/models/FrontalException.java b/core/src/main/java/dev/frontal/sdk/models/FrontalException.java index 577af81..feb0d08 100644 --- a/core/src/main/java/dev/frontal/sdk/models/FrontalException.java +++ b/core/src/main/java/dev/frontal/sdk/models/FrontalException.java @@ -17,6 +17,8 @@ public abstract sealed class FrontalException extends IOException private final String requestId; private final int statusCode; private final boolean retryable; + private final @Nullable String responseBody; + private final boolean responseBodyTruncated; protected FrontalException( @Nullable String code, @@ -30,6 +32,8 @@ protected FrontalException( Objects.requireNonNullElseGet(requestId, () -> UUID.randomUUID().toString()); this.statusCode = statusCode; this.retryable = retryable; + this.responseBody = null; + this.responseBodyTruncated = false; } protected FrontalException( @@ -45,6 +49,38 @@ protected FrontalException( Objects.requireNonNullElseGet(requestId, () -> UUID.randomUUID().toString()); this.statusCode = statusCode; this.retryable = retryable; + this.responseBody = null; + this.responseBodyTruncated = false; + } + + protected FrontalException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + int statusCode, + boolean retryable, + @Nullable Throwable cause, + @Nullable String responseBody) { + this(code, message, requestId, statusCode, retryable, cause, responseBody, false); + } + + protected FrontalException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + int statusCode, + boolean retryable, + @Nullable Throwable cause, + @Nullable String responseBody, + boolean responseBodyTruncated) { + super(message == null || message.isBlank() ? "Frontal request failed" : message, cause); + this.code = Objects.requireNonNullElse(code, "UNKNOWN_ERROR"); + this.requestId = + Objects.requireNonNullElseGet(requestId, () -> UUID.randomUUID().toString()); + this.statusCode = statusCode; + this.retryable = retryable; + this.responseBody = responseBody; + this.responseBodyTruncated = responseBodyTruncated; } public final String code() { @@ -62,4 +98,14 @@ public final int statusCode() { public final boolean retryable() { return retryable; } + + /** Raw response body when the API returned one; may contain sensitive data. */ + public final @Nullable String responseBody() { + return responseBody; + } + + /** Whether the retained response body was truncated to the configured diagnostic limit. */ + public final boolean responseBodyTruncated() { + return responseBodyTruncated; + } } diff --git a/core/src/main/java/dev/frontal/sdk/models/PageResult.java b/core/src/main/java/dev/frontal/sdk/models/PageResult.java index fe43596..fa4dd48 100644 --- a/core/src/main/java/dev/frontal/sdk/models/PageResult.java +++ b/core/src/main/java/dev/frontal/sdk/models/PageResult.java @@ -2,10 +2,12 @@ import java.io.IOException; import java.util.ArrayList; +import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.Objects; +import java.util.Set; import org.jspecify.annotations.Nullable; /** A page of data with a lazy cursor-based next-page loader. */ @@ -32,13 +34,21 @@ public Pagination pagination() { if (!pagination.hasMore() || nextPageLoader == null) { return null; } - return nextPageLoader.load(pagination.cursor()); + PageResult next = nextPageLoader.load(pagination.cursor()); + if (next != null && next.pagination.hasMore() && pagination.cursor().equals(next.pagination.cursor())) { + throw new IOException("Pagination cursor did not advance: " + pagination.cursor()); + } + return next; } public List all() throws IOException, InterruptedException { List items = new ArrayList<>(data); PageResult page = this; + Set requestedCursors = new HashSet<>(); while (page.pagination.hasMore()) { + if (!requestedCursors.add(page.pagination.cursor())) { + throw new IOException("Pagination cursor repeated: " + page.pagination.cursor()); + } page = page.nextPage(); if (page == null) { break; @@ -53,6 +63,7 @@ public Iterator iterator() { return new Iterator<>() { private @Nullable PageResult current = PageResult.this; private int offset; + private final Set requestedCursors = new HashSet<>(); @Override public boolean hasNext() { @@ -61,6 +72,9 @@ public boolean hasNext() { current = null; return false; } + if (!requestedCursors.add(current.pagination.cursor())) { + throw new IllegalStateException("Pagination cursor repeated: " + current.pagination.cursor()); + } try { current = current.nextPage(); } catch (IOException exception) { diff --git a/core/src/main/java/dev/frontal/sdk/models/QueryParams.java b/core/src/main/java/dev/frontal/sdk/models/QueryParams.java new file mode 100644 index 0000000..7275d12 --- /dev/null +++ b/core/src/main/java/dev/frontal/sdk/models/QueryParams.java @@ -0,0 +1,83 @@ +package dev.frontal.sdk; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** Immutable typed query parameters. Add the same name more than once to send repeated values. */ +public final class QueryParams { + private static final QueryParams EMPTY = new QueryParams(Map.of()); + + private final Map> values; + + private QueryParams(Map> values) { + this.values = values; + } + + /** Returns a reusable empty query parameter set. */ + public static QueryParams empty() { + return EMPTY; + } + + /** Creates a builder for query parameters. */ + public static Builder builder() { + return new Builder(); + } + + /** Creates a single string query parameter. */ + public static QueryParams of(String name, String value) { + return builder().add(name, value).build(); + } + + Map> values() { + return values; + } + + /** Mutable builder used to create an immutable query parameter set. */ + public static final class Builder { + private final Map> values = new LinkedHashMap<>(); + + /** Adds a string query value. */ + public Builder add(String name, String value) { + requireName(name); + values.computeIfAbsent(name, ignored -> new ArrayList<>()).add(Objects.requireNonNull(value, "value")); + return this; + } + + /** Adds a numeric query value. */ + public Builder add(String name, Number value) { + return add(name, Objects.requireNonNull(value, "value").toString()); + } + + /** Adds a boolean query value. */ + public Builder add(String name, boolean value) { + return add(name, Boolean.toString(value)); + } + + /** Adds repeated string values. */ + public Builder addAll(String name, Iterable values) { + Objects.requireNonNull(values, "values").forEach(value -> add(name, value)); + return this; + } + + /** Builds immutable query parameters. */ + public QueryParams build() { + if (values.isEmpty()) { + return QueryParams.empty(); + } + Map> copy = new LinkedHashMap<>(); + values.forEach((name, items) -> copy.put(name, List.copyOf(items))); + return new QueryParams(Collections.unmodifiableMap(copy)); + } + + private static void requireName(String name) { + Objects.requireNonNull(name, "name"); + if (name.isBlank()) { + throw new IllegalArgumentException("Query parameter names must not be blank"); + } + } + } +} diff --git a/core/src/main/java/dev/frontal/sdk/models/RateLimitException.java b/core/src/main/java/dev/frontal/sdk/models/RateLimitException.java index 0391483..c2df113 100644 --- a/core/src/main/java/dev/frontal/sdk/models/RateLimitException.java +++ b/core/src/main/java/dev/frontal/sdk/models/RateLimitException.java @@ -10,7 +10,26 @@ public final class RateLimitException extends FrontalException { public RateLimitException( @Nullable String code, @Nullable String message, @Nullable String requestId, Duration retryAfter) { - super(code, message, requestId, 429, true); + this(code, message, requestId, retryAfter, null); + } + + public RateLimitException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + Duration retryAfter, + @Nullable String responseBody) { + this(code, message, requestId, retryAfter, responseBody, false); + } + + public RateLimitException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + Duration retryAfter, + @Nullable String responseBody, + boolean responseBodyTruncated) { + super(code, message, requestId, 429, true, null, responseBody, responseBodyTruncated); this.retryAfter = Objects.requireNonNull(retryAfter, "retryAfter"); } diff --git a/core/src/main/java/dev/frontal/sdk/models/ServerException.java b/core/src/main/java/dev/frontal/sdk/models/ServerException.java index bc7095a..206def0 100644 --- a/core/src/main/java/dev/frontal/sdk/models/ServerException.java +++ b/core/src/main/java/dev/frontal/sdk/models/ServerException.java @@ -4,20 +4,31 @@ /** The API returned a server-side failure. */ public final class ServerException extends FrontalException { - private final String responseBody; - public ServerException( @Nullable String code, @Nullable String message, @Nullable String requestId, int statusCode, String responseBody) { - super(code, message, requestId, statusCode, isRetryableStatus(statusCode)); - this.responseBody = responseBody; + this(code, message, requestId, statusCode, responseBody, false); } - public String responseBody() { - return responseBody; + public ServerException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + int statusCode, + String responseBody, + boolean responseBodyTruncated) { + super( + code, + message, + requestId, + statusCode, + isRetryableStatus(statusCode), + null, + responseBody, + responseBodyTruncated); } static boolean isRetryableStatus(int statusCode) { diff --git a/core/src/main/java/dev/frontal/sdk/models/SseEventIterator.java b/core/src/main/java/dev/frontal/sdk/models/SseEventIterator.java index d1d89cc..501ee02 100644 --- a/core/src/main/java/dev/frontal/sdk/models/SseEventIterator.java +++ b/core/src/main/java/dev/frontal/sdk/models/SseEventIterator.java @@ -32,12 +32,13 @@ public boolean hasNext() { return false; } StringBuilder data = new StringBuilder(); + boolean sawData = false; try { while (true) { String line = reader.readLine(); if (line == null) { close(); - if (data.isEmpty()) { + if (!sawData) { return false; } next = data.toString(); @@ -45,7 +46,7 @@ public boolean hasNext() { return true; } if (line.isEmpty()) { - if (!data.isEmpty()) { + if (sawData) { next = data.toString(); ready = true; return true; @@ -62,10 +63,11 @@ public boolean hasNext() { if (value.startsWith(" ")) { value = value.substring(1); } - if (!data.isEmpty()) { + if (sawData) { data.append('\n'); } data.append(value); + sawData = true; } } } catch (IOException exception) { @@ -85,6 +87,10 @@ public String next() { return value; } + boolean isExhausted() { + return closed && !ready; + } + @Override public void close() throws IOException { if (!closed) { diff --git a/core/src/main/java/dev/frontal/sdk/models/SseEventPublisher.java b/core/src/main/java/dev/frontal/sdk/models/SseEventPublisher.java index 170836a..8dd944c 100644 --- a/core/src/main/java/dev/frontal/sdk/models/SseEventPublisher.java +++ b/core/src/main/java/dev/frontal/sdk/models/SseEventPublisher.java @@ -122,11 +122,11 @@ private void run() { if (isCancelled()) { return; } - if (!activeIterator.hasNext()) { - complete(); + if (!awaitDemand()) { return; } - if (!awaitDemand()) { + if (!activeIterator.hasNext()) { + complete(); return; } String event = activeIterator.next(); @@ -139,6 +139,18 @@ private void run() { } } subscriber.onNext(event); + if (isCancelled()) { + return; + } + if (activeIterator.isExhausted()) { + complete(); + return; + } + // Look ahead once so a finite stream can complete when demand ends on its last event. + if (!activeIterator.hasNext()) { + complete(); + return; + } } } catch (Throwable exception) { signalError(exception); diff --git a/core/src/main/java/dev/frontal/sdk/models/ValidationException.java b/core/src/main/java/dev/frontal/sdk/models/ValidationException.java index 85be29e..321dec4 100644 --- a/core/src/main/java/dev/frontal/sdk/models/ValidationException.java +++ b/core/src/main/java/dev/frontal/sdk/models/ValidationException.java @@ -6,6 +6,25 @@ public final class ValidationException extends FrontalException { public ValidationException( @Nullable String code, @Nullable String message, @Nullable String requestId, int statusCode) { - super(code, message, requestId, statusCode, false); + this(code, message, requestId, statusCode, null); + } + + public ValidationException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + int statusCode, + @Nullable String responseBody) { + this(code, message, requestId, statusCode, responseBody, false); + } + + public ValidationException( + @Nullable String code, + @Nullable String message, + @Nullable String requestId, + int statusCode, + @Nullable String responseBody, + boolean responseBodyTruncated) { + super(code, message, requestId, statusCode, false, null, responseBody, responseBodyTruncated); } } diff --git a/core/src/main/java/dev/frontal/sdk/utils/Poller.java b/core/src/main/java/dev/frontal/sdk/utils/Poller.java index 72fd92e..e693a4c 100644 --- a/core/src/main/java/dev/frontal/sdk/utils/Poller.java +++ b/core/src/main/java/dev/frontal/sdk/utils/Poller.java @@ -1,8 +1,8 @@ package dev.frontal.sdk; +import java.io.IOException; import java.time.Duration; import java.util.Objects; -import java.util.concurrent.Callable; import java.util.concurrent.TimeoutException; import java.util.function.Predicate; @@ -10,15 +10,16 @@ public final class Poller { private Poller() {} - public static T pollUntil(Callable operation, Predicate finished, Duration interval, Duration timeout) - throws Exception { + public static T pollUntil( + PollOperation operation, Predicate finished, Duration interval, Duration timeout) + throws IOException, InterruptedException, TimeoutException { Objects.requireNonNull(operation, "operation"); Objects.requireNonNull(finished, "finished"); requirePositive(interval, "interval"); requirePositive(timeout, "timeout"); long deadline = System.nanoTime() + timeout.toNanos(); while (true) { - T result = operation.call(); + T result = operation.poll(); if (finished.test(result)) { return result; } @@ -33,6 +34,11 @@ public static T pollUntil(Callable operation, Predicate finished, Dura } } + @FunctionalInterface + public interface PollOperation { + T poll() throws IOException, InterruptedException; + } + private static void requirePositive(Duration duration, String name) { Objects.requireNonNull(duration, name); if (duration.isZero() || duration.isNegative()) { diff --git a/core/src/main/java/dev/frontal/sdk/utils/RequestUriBuilder.java b/core/src/main/java/dev/frontal/sdk/utils/RequestUriBuilder.java index 2cf4cb7..bdde3aa 100644 --- a/core/src/main/java/dev/frontal/sdk/utils/RequestUriBuilder.java +++ b/core/src/main/java/dev/frontal/sdk/utils/RequestUriBuilder.java @@ -5,16 +5,16 @@ import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; -import java.util.Map; import java.util.Objects; /** Builds request URIs and encodes path and query values as UTF-8. */ public final class RequestUriBuilder { private RequestUriBuilder() {} - public static URI build(URI baseUrl, Endpoint endpoint, List pathParameters, Map query) { + public static URI build(URI baseUrl, Endpoint endpoint, List pathParameters, QueryParams query) { Objects.requireNonNull(baseUrl, "baseUrl"); Objects.requireNonNull(endpoint, "endpoint"); + Objects.requireNonNull(query, "query"); List parameters = pathParameters == null ? List.of() : pathParameters; if (parameters.size() != endpoint.pathParameterCount()) { throw new IllegalArgumentException( @@ -57,44 +57,23 @@ public static String encodePathSegment(String value) { .replace("%7E", "~"); } - private static String encodeQuery(Map query) { - if (query == null || query.isEmpty()) { + private static String encodeQuery(QueryParams query) { + if (query.values().isEmpty()) { return ""; } List pairs = new ArrayList<>(); - query.forEach((name, value) -> { - if (name == null || value == null) { - return; - } - String wireName = toSnakeCase(name); - if (value instanceof Iterable values) { - values.forEach(item -> addPair(pairs, wireName, item)); - } else if (value.getClass().isArray()) { - int length = java.lang.reflect.Array.getLength(value); - for (int index = 0; index < length; index++) { - addPair(pairs, wireName, java.lang.reflect.Array.get(value, index)); - } - } else { - addPair(pairs, wireName, value); - } - }); + query.values().forEach((name, values) -> values.forEach(value -> addPair(pairs, name, value))); return String.join("&", pairs); } - private static void addPair(List pairs, String name, Object value) { - if (value != null) { - pairs.add(encodeQueryComponent(name) + "=" + encodeQueryComponent(value.toString())); - } + private static void addPair(List pairs, String name, String value) { + pairs.add(encodeQueryComponent(name) + "=" + encodeQueryComponent(value)); } private static String encodeQueryComponent(String value) { return URLEncoder.encode(value, StandardCharsets.UTF_8).replace("+", "%20"); } - private static String toSnakeCase(String value) { - return value.replaceAll("([a-z0-9])([A-Z])", "$1_$2").toLowerCase(java.util.Locale.ROOT); - } - private static String trimTrailingSlash(String value) { int end = value.length(); while (end > 0 && value.charAt(end - 1) == '/') { diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 241b25d..ebe67f5 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -1,6 +1,6 @@ # Java SDK architecture -The SDK is a Gradle multi-module project with one public artifact, `dev.frontal:frontal-sdk:1.0.0`, and one Java package, `dev.frontal.sdk`. +The SDK is a Gradle multi-module project with one public artifact, `dev.frontal:frontal-sdk:2.0.0`, and one Java package, `dev.frontal.sdk`. ## Modules and source organization @@ -10,14 +10,14 @@ The SDK is a Gradle multi-module project with one public artifact, `dev.frontal: - `examples/` verifies the consumer experience with MockWebServer. - Production classes remain in `dev.frontal.sdk`. The `api/`, `auth/`, `config/`, `models/`, `resources/`, and `utils/` folders organize types by role and do not create Java subpackages. -`Endpoints` is derived from `contracts/sdk-endpoints.json`. The OpenAPI snapshots remain unchanged and feed the contract gate. +`Endpoints` and named service operation methods are derived from `contracts/sdk-endpoints.json` and operation metadata in the committed OpenAPI snapshots. The snapshots remain unchanged and feed the contract gate. Named methods accept immutable typed query values, use `JsonNode` for request bodies without a usable contract schema, and let callers choose the response type. ## Request flow `Application → Frontal → service client → shared ApiClient → auth/config/retry → OkHttp → Frontal API` -`Frontal` creates one `ApiClient` and shares it with each service client. `ClientConfig` is immutable after build. Each request gets a unique request ID, and error mapping happens once in the shared transport. Safe GET requests may retry; writes run once. Streaming endpoints transfer response-body ownership to `ApiStream`, `SseEventIterator`, or a Flow subscription so cancellation closes the connection. +`Frontal` creates one `ApiClient` and shares it with each typed service client. `ClientConfig` is immutable after build. Each request gets a unique request ID, and error mapping happens once in the shared transport. Safe GET requests may retry; writes run once. Buffered responses are bounded by `maxResponseBytes`; error diagnostics have a separate `maxErrorBodyBytes` cap. `streamBody()` supports larger downloads without buffering. Streaming endpoints transfer response-body ownership to `ApiStream`, `SseEventIterator`, or a Flow subscription so cancellation closes the connection. SSE connections disable read and call timeouts; the caller must close or cancel long-lived streams. ## Service APIs -AI, agents, and workflows have named convenience methods for their core operations. All 622 catalogued routes remain accessible through service-scoped `request` methods and the `Endpoints` constants. The contract gate maps every operation in the public and AI OpenAPI snapshots to an endpoint. Caller-provided classes, `TypeReference`, or Jackson `JsonNode` types handle payloads that the current snapshots do not fully model. +The route inventory generates endpoint constants and named methods for the SDK’s 611 supported routes. Agent run lookup is grouped under agents. AI, agents, and workflows retain their higher-level convenience methods. The contract gate verifies SDK routes against the committed inventory and maps supported operations in the public and AI OpenAPI snapshots. Caller-provided classes, `TypeReference`, or Jackson `JsonNode` types handle payloads that the current snapshots do not fully model. Generated references for service clients live in `docs/api/`. diff --git a/docs/ENTERPRISE_READINESS.md b/docs/ENTERPRISE_READINESS.md index 5fc3cc3..f26950a 100644 --- a/docs/ENTERPRISE_READINESS.md +++ b/docs/ENTERPRISE_READINESS.md @@ -8,11 +8,12 @@ This page summarizes the controls in the Java SDK and the work required before a - Shared OkHttp transport with bounded responses, request IDs, safe-read retries, and typed errors. - MockWebServer coverage for request handling, retries, pagination, error mapping, and SSE streams. - Contract checks that map all public and AI OpenAPI operations to Java endpoints. +- Generated named operation methods and per-service references for supported routes. Agent run lookup is grouped under agents. - Central Portal release workflow with GPG signing required for publication. ## Remaining release work - Configure Central Portal and GPG credentials as protected GitHub secrets. - Complete a security review of transport, credential handling, and logging. -- Add operation-specific request and response models where the contracts define complete schemas. +- Add operation-specific request and response models as upstream contracts provide complete schemas. - Configure dependency scanning and release provenance for the repository. diff --git a/docs/ONBOARDING.md b/docs/ONBOARDING.md index 556247c..833fbfa 100644 --- a/docs/ONBOARDING.md +++ b/docs/ONBOARDING.md @@ -4,7 +4,7 @@ 2. Clone the repository and use the checked-in Gradle wrapper. 3. Run `./gradlew spotlessCheck assemble lint test examplesTest docsTest checkContracts`. 4. Review `AGENTS.md`, `docs/ARCHITECTURE.md`, and `contracts/README.md`. -5. Select a route from `Endpoints` and compare it with `contracts/sdk-endpoints.json` and the applicable OpenAPI snapshot. -6. Build a client with `Frontal.builder().apiKey(...).build()` and use the matching service accessor. +5. Browse `docs/api/README.md` for the named method, then compare its route with `contracts/sdk-endpoints.json` and the applicable OpenAPI snapshot. +6. Build a client with `Frontal.builder().apiKey(...).build()` and use the matching named service operation. Export `FRONTAL_API_KEY` and optional settings into the process environment. Java does not load `.env` files automatically. Tests use MockWebServer and do not need live credentials. diff --git a/docs/OVERVIEW.md b/docs/OVERVIEW.md index 561696d..e9faaa6 100644 --- a/docs/OVERVIEW.md +++ b/docs/OVERVIEW.md @@ -1,5 +1,5 @@ # Java SDK overview -The Frontal Java SDK is configured to publish the `dev.frontal:frontal-sdk:1.0.0` facade artifact from a Gradle multi-module build. Production sources use the single package `dev.frontal.sdk` and six role folders across `core`, `services`, and `sdk`. +The Frontal Java SDK is configured to publish the `dev.frontal:frontal-sdk:2.0.0` facade artifact from a Gradle multi-module build. Production sources use the single package `dev.frontal.sdk` and six role folders across `core`, `services`, and `sdk`. -The route inventory generates `Endpoints` constants for all 622 current API routes and maps every operation in the public and AI OpenAPI snapshots. `Frontal` creates service-scoped clients, and `ApiClient` handles Jackson JSON, binary payloads, multipart uploads, SSE streams, retries for safe reads, and structured HTTP errors. Request and response classes can be provided by SDK consumers where the shared contract snapshots do not include a typed schema. +The SDK exposes 611 named operations across its service clients, with agent run lookup available through `frontal.agents()`. `Endpoints` constants follow the supported SDK route catalog. `ApiClient` handles Jackson JSON, binary payloads, multipart uploads, SSE streams, safe-read retries, bounded error diagnostics, and structured HTTP errors. Named operations use immutable `QueryParams`, `JsonNode` for request bodies without contract schemas, and caller-provided response types. diff --git a/docs/README.md b/docs/README.md index a2018ce..fd99a1d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,3 @@ # Java documentation -Read `OVERVIEW.md` for the SDK surface, `ARCHITECTURE.md` for the module and request flow, and `ONBOARDING.md` to set up the toolchain. Use `TESTING.md` for verification and `PUBLISHING.md` for release steps. +Read `OVERVIEW.md` for the SDK surface, `ARCHITECTURE.md` for the module and request flow, and `ONBOARDING.md` to set up the toolchain. Browse [the service API reference](./api/README.md) for the generated operation catalog. See the root README for pagination, error handling, streaming, and serialization examples. Use `TESTING.md` for verification and `PUBLISHING.md` for release steps. diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index ab5a67c..ec7d712 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -6,4 +6,4 @@ - [x] Implement service-scoped clients and accessors for the contract inventory. - [x] Add endpoint generation and Java usage examples. - [x] Expand transport tests and contract conformance reporting. -- [x] Configure signed Central Portal release automation for version 1.0.0. +- [x] Configure signed Central Portal release automation. diff --git a/docs/api/README.md b/docs/api/README.md new file mode 100644 index 0000000..0d5c3c7 --- /dev/null +++ b/docs/api/README.md @@ -0,0 +1,31 @@ +# Service API reference + +Generated from the committed route catalog for SDK service clients. + +Call-shaped listing of every method: [methods as code](./methods-as-code.md). + +| Service | Routes | Reference | +| --- | ---: | --- | +| agents | 14 | [agents](./agents.md) | +| ai | 9 | [ai](./ai.md) | +| audit | 4 | [audit](./audit.md) | +| auth | 66 | [auth](./auth.md) | +| billing | 23 | [billing](./billing.md) | +| blob | 8 | [blob](./blob.md) | +| connection-tests | 1 | [connection-tests](./connection-tests.md) | +| connectors | 12 | [connectors](./connectors.md) | +| data | 151 | [data](./data.md) | +| events | 17 | [events](./events.md) | +| governance | 24 | [governance](./governance.md) | +| invocations | 1 | [invocations](./invocations.md) | +| lineage | 7 | [lineage](./lineage.md) | +| observability | 31 | [observability](./observability.md) | +| ontology | 171 | [ontology](./ontology.md) | +| pipelines | 11 | [pipelines](./pipelines.md) | +| providers | 1 | [providers](./providers.md) | +| react | 0 | [react](./react.md) | +| sandbox | 3 | [sandbox](./sandbox.md) | +| schedules | 10 | [schedules](./schedules.md) | +| webhook-endpoints | 7 | [webhook-endpoints](./webhook-endpoints.md) | +| webhooks | 10 | [webhooks](./webhooks.md) | +| workflows | 30 | [workflows](./workflows.md) | diff --git a/docs/api/agents.md b/docs/api/agents.md new file mode 100644 index 0000000..4b63a28 --- /dev/null +++ b/docs/api/agents.md @@ -0,0 +1,37 @@ +# Agents API + +Service accessor: `frontal.agents()` (`AgentsServiceClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteAgentsParam(...)` | `DELETE` | `/agents/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteAgentsParam(...)` | `DELETE` | `/agents/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAgents(...)` | `GET` | `/agents` | `query, Class responseType` | `@Nullable T` | +| `getAgents(...)` | `GET` | `/agents` | `query, TypeReference responseType` | `@Nullable T` | +| `getAgentsHealth(...)` | `GET` | `/agents/health` | `query, Class responseType` | `@Nullable T` | +| `getAgentsHealth(...)` | `GET` | `/agents/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getAgentsRunsParam(...)` | `GET` | `/agents/runs/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAgentsRunsParam(...)` | `GET` | `/agents/runs/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAgentsRunsParamConversation(...)` | `GET` | `/agents/runs/{param}/conversation` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAgentsRunsParamConversation(...)` | `GET` | `/agents/runs/{param}/conversation` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAgentsParam(...)` | `GET` | `/agents/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAgentsParam(...)` | `GET` | `/agents/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAgentsParamRuns(...)` | `GET` | `/agents/{param}/runs` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAgentsParamRuns(...)` | `GET` | `/agents/{param}/runs` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAgentsParamVersions(...)` | `GET` | `/agents/{param}/versions` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAgentsParamVersions(...)` | `GET` | `/agents/{param}/versions` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `postAgents(...)` | `POST` | `/agents` | `query, body, Class responseType` | `@Nullable T` | +| `postAgents(...)` | `POST` | `/agents` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAgentsParamRollback(...)` | `POST` | `/agents/{param}/rollback` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postAgentsParamRollback(...)` | `POST` | `/agents/{param}/rollback` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postAgentsParamRuns(...)` | `POST` | `/agents/{param}/runs` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postAgentsParamRuns(...)` | `POST` | `/agents/{param}/runs` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `putAgentsParam(...)` | `PUT` | `/agents/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `putAgentsParam(...)` | `PUT` | `/agents/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `streamAgentsRunsParamStream(...)` | `STREAM` | `/agents/runs/{param}/stream` | `pathParam1, query` | `Flow.Publisher` | +| `streamAgentsRunsParamStreamBlocking(...)` | `STREAM` | `/agents/runs/{param}/stream` | `pathParam1, query` | `SseEventIterator` | +| `getActionRun(...)` | `GET` | `/action-runs/{param}` | `actionRunId, query, Class or TypeReference responseType` | `@Nullable T` | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/ai.md b/docs/api/ai.md new file mode 100644 index 0000000..e33d60c --- /dev/null +++ b/docs/api/ai.md @@ -0,0 +1,29 @@ +# Ai API + +Service accessor: `frontal.ai()` (`AiServiceClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getHealth(...)` | `GET` | `/health` | `query, Class responseType` | `@Nullable T` | +| `getHealth(...)` | `GET` | `/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getInternalModels(...)` | `GET` | `/internal/models` | `query, Class responseType` | `@Nullable T` | +| `getInternalModels(...)` | `GET` | `/internal/models` | `query, TypeReference responseType` | `@Nullable T` | +| `getInternalModelsDefaults(...)` | `GET` | `/internal/models/defaults` | `query, Class responseType` | `@Nullable T` | +| `getInternalModelsDefaults(...)` | `GET` | `/internal/models/defaults` | `query, TypeReference responseType` | `@Nullable T` | +| `postAiChatCompletions(...)` | `POST` | `/ai/chat/completions` | `query, body, Class responseType` | `@Nullable T` | +| `postAiChatCompletions(...)` | `POST` | `/ai/chat/completions` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postInternalEmbeddings(...)` | `POST` | `/internal/embeddings` | `query, body, Class responseType` | `@Nullable T` | +| `postInternalEmbeddings(...)` | `POST` | `/internal/embeddings` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postInternalPredictions(...)` | `POST` | `/internal/predictions` | `query, body, Class responseType` | `@Nullable T` | +| `postInternalPredictions(...)` | `POST` | `/internal/predictions` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postInternalRerank(...)` | `POST` | `/internal/rerank` | `query, body, Class responseType` | `@Nullable T` | +| `postInternalRerank(...)` | `POST` | `/internal/rerank` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postformdataInternalPredictions(...)` | `POSTFORMDATA` | `/internal/predictions` | `query, fields, files, Class responseType` | `@Nullable T` | +| `postformdataInternalPredictions(...)` | `POSTFORMDATA` | `/internal/predictions` | `query, fields, files, TypeReference responseType` | `@Nullable T` | +| `postrawInternalPredictions(...)` | `POSTRAW` | `/internal/predictions` | `query, body, Class responseType` | `@Nullable T` | +| `postrawInternalPredictions(...)` | `POSTRAW` | `/internal/predictions` | `query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/audit.md b/docs/api/audit.md new file mode 100644 index 0000000..307b99e --- /dev/null +++ b/docs/api/audit.md @@ -0,0 +1,19 @@ +# Audit API + +Service accessor: `frontal.audit()` (`AuditClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getAuditEvents(...)` | `GET` | `/audit/events` | `query, Class responseType` | `@Nullable T` | +| `getAuditEvents(...)` | `GET` | `/audit/events` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuditEventsParam(...)` | `GET` | `/audit/events/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAuditEventsParam(...)` | `GET` | `/audit/events/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `postAuditEvents(...)` | `POST` | `/audit/events` | `query, body, Class responseType` | `@Nullable T` | +| `postAuditEvents(...)` | `POST` | `/audit/events` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuditEventsBatch(...)` | `POST` | `/audit/events/batch` | `query, body, Class responseType` | `@Nullable T` | +| `postAuditEventsBatch(...)` | `POST` | `/audit/events/batch` | `query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/auth.md b/docs/api/auth.md new file mode 100644 index 0000000..efe4a60 --- /dev/null +++ b/docs/api/auth.md @@ -0,0 +1,143 @@ +# Auth API + +Service accessor: `frontal.auth()` (`AuthClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteAuthAccountMfaParam(...)` | `DELETE` | `/auth/account/mfa/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteAuthAccountMfaParam(...)` | `DELETE` | `/auth/account/mfa/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `deleteAuthAccountProfile(...)` | `DELETE` | `/auth/account/profile` | `query, Class responseType` | `@Nullable T` | +| `deleteAuthAccountProfile(...)` | `DELETE` | `/auth/account/profile` | `query, TypeReference responseType` | `@Nullable T` | +| `deleteAuthAccountSecurityApiKeysParam(...)` | `DELETE` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteAuthAccountSecurityApiKeysParam(...)` | `DELETE` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `deleteAuthAccountSecurityDevicesParam(...)` | `DELETE` | `/auth/account/security/devices/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteAuthAccountSecurityDevicesParam(...)` | `DELETE` | `/auth/account/security/devices/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `deleteAuthAccountSessionsParam(...)` | `DELETE` | `/auth/account/sessions/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteAuthAccountSessionsParam(...)` | `DELETE` | `/auth/account/sessions/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `deleteAuthAdminUsersParam(...)` | `DELETE` | `/auth/admin/users/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteAuthAdminUsersParam(...)` | `DELETE` | `/auth/admin/users/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `deleteAuthAdminUsersParamFactorsParam(...)` | `DELETE` | `/auth/admin/users/{param}/factors/{param}` | `pathParam1, pathParam2, query, Class responseType` | `@Nullable T` | +| `deleteAuthAdminUsersParamFactorsParam(...)` | `DELETE` | `/auth/admin/users/{param}/factors/{param}` | `pathParam1, pathParam2, query, TypeReference responseType` | `@Nullable T` | +| `deleteAuthFactorsParam(...)` | `DELETE` | `/auth/factors/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteAuthFactorsParam(...)` | `DELETE` | `/auth/factors/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `deleteAuthUserIdentitiesParam(...)` | `DELETE` | `/auth/user/identities/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteAuthUserIdentitiesParam(...)` | `DELETE` | `/auth/user/identities/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountAuditLog(...)` | `GET` | `/auth/account/audit-log` | `query, Class responseType` | `@Nullable T` | +| `getAuthAccountAuditLog(...)` | `GET` | `/auth/account/audit-log` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountMfa(...)` | `GET` | `/auth/account/mfa` | `query, Class responseType` | `@Nullable T` | +| `getAuthAccountMfa(...)` | `GET` | `/auth/account/mfa` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountMfaParam(...)` | `GET` | `/auth/account/mfa/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAuthAccountMfaParam(...)` | `GET` | `/auth/account/mfa/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountProfile(...)` | `GET` | `/auth/account/profile` | `query, Class responseType` | `@Nullable T` | +| `getAuthAccountProfile(...)` | `GET` | `/auth/account/profile` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountSecurityApiKeys(...)` | `GET` | `/auth/account/security/api-keys` | `query, Class responseType` | `@Nullable T` | +| `getAuthAccountSecurityApiKeys(...)` | `GET` | `/auth/account/security/api-keys` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountSecurityApiKeysParam(...)` | `GET` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAuthAccountSecurityApiKeysParam(...)` | `GET` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountSecurityDevices(...)` | `GET` | `/auth/account/security/devices` | `query, Class responseType` | `@Nullable T` | +| `getAuthAccountSecurityDevices(...)` | `GET` | `/auth/account/security/devices` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountSecurityDevicesParam(...)` | `GET` | `/auth/account/security/devices/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAuthAccountSecurityDevicesParam(...)` | `GET` | `/auth/account/security/devices/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAuthAccountSessions(...)` | `GET` | `/auth/account/sessions` | `query, Class responseType` | `@Nullable T` | +| `getAuthAccountSessions(...)` | `GET` | `/auth/account/sessions` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthAdminUsers(...)` | `GET` | `/auth/admin/users` | `query, Class responseType` | `@Nullable T` | +| `getAuthAdminUsers(...)` | `GET` | `/auth/admin/users` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthAdminUsersParam(...)` | `GET` | `/auth/admin/users/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAuthAdminUsersParam(...)` | `GET` | `/auth/admin/users/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAuthAdminUsersParamFactors(...)` | `GET` | `/auth/admin/users/{param}/factors` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getAuthAdminUsersParamFactors(...)` | `GET` | `/auth/admin/users/{param}/factors` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getAuthAuthSession(...)` | `GET` | `/auth/auth/session` | `query, Class responseType` | `@Nullable T` | +| `getAuthAuthSession(...)` | `GET` | `/auth/auth/session` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthFactors(...)` | `GET` | `/auth/factors` | `query, Class responseType` | `@Nullable T` | +| `getAuthFactors(...)` | `GET` | `/auth/factors` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthMfaStatus(...)` | `GET` | `/auth/mfa/status` | `query, Class responseType` | `@Nullable T` | +| `getAuthMfaStatus(...)` | `GET` | `/auth/mfa/status` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthUser(...)` | `GET` | `/auth/user` | `query, Class responseType` | `@Nullable T` | +| `getAuthUser(...)` | `GET` | `/auth/user` | `query, TypeReference responseType` | `@Nullable T` | +| `getAuthUserIdentities(...)` | `GET` | `/auth/user/identities` | `query, Class responseType` | `@Nullable T` | +| `getAuthUserIdentities(...)` | `GET` | `/auth/user/identities` | `query, TypeReference responseType` | `@Nullable T` | +| `postAuthAccountMfa(...)` | `POST` | `/auth/account/mfa` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAccountMfa(...)` | `POST` | `/auth/account/mfa` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAccountMfaParamChallenge(...)` | `POST` | `/auth/account/mfa/{param}/challenge` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postAuthAccountMfaParamChallenge(...)` | `POST` | `/auth/account/mfa/{param}/challenge` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAccountMfaParamVerify(...)` | `POST` | `/auth/account/mfa/{param}/verify` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postAuthAccountMfaParamVerify(...)` | `POST` | `/auth/account/mfa/{param}/verify` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAccountPassword(...)` | `POST` | `/auth/account/password` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAccountPassword(...)` | `POST` | `/auth/account/password` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAccountSecurityApiKeys(...)` | `POST` | `/auth/account/security/api-keys` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAccountSecurityApiKeys(...)` | `POST` | `/auth/account/security/api-keys` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAccountSecurityDevices(...)` | `POST` | `/auth/account/security/devices` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAccountSecurityDevices(...)` | `POST` | `/auth/account/security/devices` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAccountSecurityDevicesParamTrust(...)` | `POST` | `/auth/account/security/devices/{param}/trust` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postAuthAccountSecurityDevicesParamTrust(...)` | `POST` | `/auth/account/security/devices/{param}/trust` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAccountSessionsParamExtend(...)` | `POST` | `/auth/account/sessions/{param}/extend` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postAuthAccountSessionsParamExtend(...)` | `POST` | `/auth/account/sessions/{param}/extend` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAdminGenerateLink(...)` | `POST` | `/auth/admin/generate_link` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAdminGenerateLink(...)` | `POST` | `/auth/admin/generate_link` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAdminLogout(...)` | `POST` | `/auth/admin/logout` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAdminLogout(...)` | `POST` | `/auth/admin/logout` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAdminUsers(...)` | `POST` | `/auth/admin/users` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAdminUsers(...)` | `POST` | `/auth/admin/users` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAuthSession(...)` | `POST` | `/auth/auth/session` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAuthSession(...)` | `POST` | `/auth/auth/session` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthAuthorize(...)` | `POST` | `/auth/authorize` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthAuthorize(...)` | `POST` | `/auth/authorize` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthFactors(...)` | `POST` | `/auth/factors` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthFactors(...)` | `POST` | `/auth/factors` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthFactorsParamChallenge(...)` | `POST` | `/auth/factors/{param}/challenge` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postAuthFactorsParamChallenge(...)` | `POST` | `/auth/factors/{param}/challenge` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthFactorsParamVerify(...)` | `POST` | `/auth/factors/{param}/verify` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postAuthFactorsParamVerify(...)` | `POST` | `/auth/factors/{param}/verify` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthInvite(...)` | `POST` | `/auth/invite` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthInvite(...)` | `POST` | `/auth/invite` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthLogin(...)` | `POST` | `/auth/login` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthLogin(...)` | `POST` | `/auth/login` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthLogout(...)` | `POST` | `/auth/logout` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthLogout(...)` | `POST` | `/auth/logout` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthMfaBackupCodesRegenerate(...)` | `POST` | `/auth/mfa/backup-codes/regenerate` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthMfaBackupCodesRegenerate(...)` | `POST` | `/auth/mfa/backup-codes/regenerate` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthMfaDisable(...)` | `POST` | `/auth/mfa/disable` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthMfaDisable(...)` | `POST` | `/auth/mfa/disable` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthMfaEnable(...)` | `POST` | `/auth/mfa/enable` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthMfaEnable(...)` | `POST` | `/auth/mfa/enable` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthMfaSetup(...)` | `POST` | `/auth/mfa/setup` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthMfaSetup(...)` | `POST` | `/auth/mfa/setup` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthMfaVerify(...)` | `POST` | `/auth/mfa/verify` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthMfaVerify(...)` | `POST` | `/auth/mfa/verify` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthOtp(...)` | `POST` | `/auth/otp` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthOtp(...)` | `POST` | `/auth/otp` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthReauthenticate(...)` | `POST` | `/auth/reauthenticate` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthReauthenticate(...)` | `POST` | `/auth/reauthenticate` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthRecover(...)` | `POST` | `/auth/recover` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthRecover(...)` | `POST` | `/auth/recover` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthResend(...)` | `POST` | `/auth/resend` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthResend(...)` | `POST` | `/auth/resend` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthSignup(...)` | `POST` | `/auth/signup` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthSignup(...)` | `POST` | `/auth/signup` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthSso(...)` | `POST` | `/auth/sso` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthSso(...)` | `POST` | `/auth/sso` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthTokenGrantTypeIdToken(...)` | `POST` | `/auth/token?grant_type=id_token` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthTokenGrantTypeIdToken(...)` | `POST` | `/auth/token?grant_type=id_token` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthTokenGrantTypePassword(...)` | `POST` | `/auth/token?grant_type=password` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthTokenGrantTypePassword(...)` | `POST` | `/auth/token?grant_type=password` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthTokenGrantTypePkce(...)` | `POST` | `/auth/token?grant_type=pkce` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthTokenGrantTypePkce(...)` | `POST` | `/auth/token?grant_type=pkce` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthTokenGrantTypeRefreshToken(...)` | `POST` | `/auth/token?grant_type=refresh_token` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthTokenGrantTypeRefreshToken(...)` | `POST` | `/auth/token?grant_type=refresh_token` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthUserIdentities(...)` | `POST` | `/auth/user/identities` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthUserIdentities(...)` | `POST` | `/auth/user/identities` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postAuthVerify(...)` | `POST` | `/auth/verify` | `query, body, Class responseType` | `@Nullable T` | +| `postAuthVerify(...)` | `POST` | `/auth/verify` | `query, body, TypeReference responseType` | `@Nullable T` | +| `putAuthAccountProfile(...)` | `PUT` | `/auth/account/profile` | `query, body, Class responseType` | `@Nullable T` | +| `putAuthAccountProfile(...)` | `PUT` | `/auth/account/profile` | `query, body, TypeReference responseType` | `@Nullable T` | +| `putAuthAccountSecurityApiKeysParam(...)` | `PUT` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `putAuthAccountSecurityApiKeysParam(...)` | `PUT` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `putAuthAdminUsersParam(...)` | `PUT` | `/auth/admin/users/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `putAuthAdminUsersParam(...)` | `PUT` | `/auth/admin/users/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `putAuthUser(...)` | `PUT` | `/auth/user` | `query, body, Class responseType` | `@Nullable T` | +| `putAuthUser(...)` | `PUT` | `/auth/user` | `query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/billing.md b/docs/api/billing.md new file mode 100644 index 0000000..10ad210 --- /dev/null +++ b/docs/api/billing.md @@ -0,0 +1,57 @@ +# Billing API + +Service accessor: `frontal.billing()` (`BillingClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getBillingAddonsParamEntitlements(...)` | `GET` | `/billing/addons/{param}/entitlements` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingAddonsParamEntitlements(...)` | `GET` | `/billing/addons/{param}/entitlements` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingCustomersPortalParam(...)` | `GET` | `/billing/customers/portal/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingCustomersPortalParam(...)` | `GET` | `/billing/customers/portal/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingCustomersParamEntitlements(...)` | `GET` | `/billing/customers/{param}/entitlements` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingCustomersParamEntitlements(...)` | `GET` | `/billing/customers/{param}/entitlements` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingCustomersParamInvoicesSummary(...)` | `GET` | `/billing/customers/{param}/invoices/summary` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingCustomersParamInvoicesSummary(...)` | `GET` | `/billing/customers/{param}/invoices/summary` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingCustomersParamUsage(...)` | `GET` | `/billing/customers/{param}/usage` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingCustomersParamUsage(...)` | `GET` | `/billing/customers/{param}/usage` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingCustomersParamWallets(...)` | `GET` | `/billing/customers/{param}/wallets` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingCustomersParamWallets(...)` | `GET` | `/billing/customers/{param}/wallets` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingPlansParamEntitlements(...)` | `GET` | `/billing/plans/{param}/entitlements` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingPlansParamEntitlements(...)` | `GET` | `/billing/plans/{param}/entitlements` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingPricesLookupParam(...)` | `GET` | `/billing/prices/lookup/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingPricesLookupParam(...)` | `GET` | `/billing/prices/lookup/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingSubscriptionsParamEntitlements(...)` | `GET` | `/billing/subscriptions/{param}/entitlements` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingSubscriptionsParamEntitlements(...)` | `GET` | `/billing/subscriptions/{param}/entitlements` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingWalletsParamBalanceRealTime(...)` | `GET` | `/billing/wallets/{param}/balance/real-time` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingWalletsParamBalanceRealTime(...)` | `GET` | `/billing/wallets/{param}/balance/real-time` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getBillingWalletsParamTransactions(...)` | `GET` | `/billing/wallets/{param}/transactions` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getBillingWalletsParamTransactions(...)` | `GET` | `/billing/wallets/{param}/transactions` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getrawBillingInvoicesParamPdf(...)` | `GETRAW` | `/billing/invoices/{param}/pdf` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getrawBillingInvoicesParamPdf(...)` | `GETRAW` | `/billing/invoices/{param}/pdf` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `postBillingInvoicesPreview(...)` | `POST` | `/billing/invoices/preview` | `query, body, Class responseType` | `@Nullable T` | +| `postBillingInvoicesPreview(...)` | `POST` | `/billing/invoices/preview` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingInvoicesParamFinalize(...)` | `POST` | `/billing/invoices/{param}/finalize` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingInvoicesParamFinalize(...)` | `POST` | `/billing/invoices/{param}/finalize` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingInvoicesParamVoid(...)` | `POST` | `/billing/invoices/{param}/void` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingInvoicesParamVoid(...)` | `POST` | `/billing/invoices/{param}/void` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingMetersParamDisable(...)` | `POST` | `/billing/meters/{param}/disable` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingMetersParamDisable(...)` | `POST` | `/billing/meters/{param}/disable` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingPlansParamClone(...)` | `POST` | `/billing/plans/{param}/clone` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingPlansParamClone(...)` | `POST` | `/billing/plans/{param}/clone` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingSubscriptionsParamActivate(...)` | `POST` | `/billing/subscriptions/{param}/activate` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingSubscriptionsParamActivate(...)` | `POST` | `/billing/subscriptions/{param}/activate` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingSubscriptionsParamCancel(...)` | `POST` | `/billing/subscriptions/{param}/cancel` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingSubscriptionsParamCancel(...)` | `POST` | `/billing/subscriptions/{param}/cancel` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingSubscriptionsParamPause(...)` | `POST` | `/billing/subscriptions/{param}/pause` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingSubscriptionsParamPause(...)` | `POST` | `/billing/subscriptions/{param}/pause` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingSubscriptionsParamResume(...)` | `POST` | `/billing/subscriptions/{param}/resume` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingSubscriptionsParamResume(...)` | `POST` | `/billing/subscriptions/{param}/resume` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingWalletsParamTerminate(...)` | `POST` | `/billing/wallets/{param}/terminate` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingWalletsParamTerminate(...)` | `POST` | `/billing/wallets/{param}/terminate` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBillingWalletsParamTopUp(...)` | `POST` | `/billing/wallets/{param}/top-up` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBillingWalletsParamTopUp(...)` | `POST` | `/billing/wallets/{param}/top-up` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/blob.md b/docs/api/blob.md new file mode 100644 index 0000000..6cdb8a3 --- /dev/null +++ b/docs/api/blob.md @@ -0,0 +1,27 @@ +# Blob API + +Service accessor: `frontal.blob()` (`BlobClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteBlobObjectParamParam(...)` | `DELETE` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, Class responseType` | `@Nullable T` | +| `deleteBlobObjectParamParam(...)` | `DELETE` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, TypeReference responseType` | `@Nullable T` | +| `getBlobObjectInfoParamParam(...)` | `GET` | `/blob/object/info/{param}/{param}` | `pathParam1, pathParam2, query, Class responseType` | `@Nullable T` | +| `getBlobObjectInfoParamParam(...)` | `GET` | `/blob/object/info/{param}/{param}` | `pathParam1, pathParam2, query, TypeReference responseType` | `@Nullable T` | +| `getBlobObjectParamParam(...)` | `GET` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, Class responseType` | `@Nullable T` | +| `getBlobObjectParamParam(...)` | `GET` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, TypeReference responseType` | `@Nullable T` | +| `postBlobObjectCopy(...)` | `POST` | `/blob/object/copy` | `query, body, Class responseType` | `@Nullable T` | +| `postBlobObjectCopy(...)` | `POST` | `/blob/object/copy` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postBlobObjectListParam(...)` | `POST` | `/blob/object/list/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postBlobObjectListParam(...)` | `POST` | `/blob/object/list/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postBlobObjectMove(...)` | `POST` | `/blob/object/move` | `query, body, Class responseType` | `@Nullable T` | +| `postBlobObjectMove(...)` | `POST` | `/blob/object/move` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postBlobObjectSignParamParam(...)` | `POST` | `/blob/object/sign/{param}/{param}` | `pathParam1, pathParam2, query, body, Class responseType` | `@Nullable T` | +| `postBlobObjectSignParamParam(...)` | `POST` | `/blob/object/sign/{param}/{param}` | `pathParam1, pathParam2, query, body, TypeReference responseType` | `@Nullable T` | +| `postformdataBlobObjectParamParam(...)` | `POSTFORMDATA` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, fields, files, Class responseType` | `@Nullable T` | +| `postformdataBlobObjectParamParam(...)` | `POSTFORMDATA` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, fields, files, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/connection-tests.md b/docs/api/connection-tests.md new file mode 100644 index 0000000..2eabe7b --- /dev/null +++ b/docs/api/connection-tests.md @@ -0,0 +1,13 @@ +# ConnectionTests API + +Service accessor: `frontal.connectionTests()` (`ConnectionTestsClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getConnectionTestsConnectionTestId(...)` | `GET` | `/connection-tests/{param}` | `connectionTestId, query, Class responseType` | `@Nullable T` | +| `getConnectionTestsConnectionTestId(...)` | `GET` | `/connection-tests/{param}` | `connectionTestId, query, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/connectors.md b/docs/api/connectors.md new file mode 100644 index 0000000..d034913 --- /dev/null +++ b/docs/api/connectors.md @@ -0,0 +1,35 @@ +# Connectors API + +Service accessor: `frontal.connectors()` (`ConnectorsClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteConnectorsInstallationsParam(...)` | `DELETE` | `/connectors/installations/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteConnectorsInstallationsParam(...)` | `DELETE` | `/connectors/installations/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getConnectorsCatalog(...)` | `GET` | `/connectors/catalog` | `query, Class responseType` | `@Nullable T` | +| `getConnectorsCatalog(...)` | `GET` | `/connectors/catalog` | `query, TypeReference responseType` | `@Nullable T` | +| `getConnectorsCatalogParam(...)` | `GET` | `/connectors/catalog/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getConnectorsCatalogParam(...)` | `GET` | `/connectors/catalog/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getConnectorsConnectionTestsParam(...)` | `GET` | `/connectors/connection-tests/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getConnectorsConnectionTestsParam(...)` | `GET` | `/connectors/connection-tests/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getConnectorsInstallations(...)` | `GET` | `/connectors/installations` | `query, Class responseType` | `@Nullable T` | +| `getConnectorsInstallations(...)` | `GET` | `/connectors/installations` | `query, TypeReference responseType` | `@Nullable T` | +| `getConnectorsInstallationsParam(...)` | `GET` | `/connectors/installations/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getConnectorsInstallationsParam(...)` | `GET` | `/connectors/installations/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getDiagnostics(...)` | `GET` | `/diagnostics` | `query, Class responseType` | `@Nullable T` | +| `getDiagnostics(...)` | `GET` | `/diagnostics` | `query, TypeReference responseType` | `@Nullable T` | +| `patchConnectorsInstallationsParam(...)` | `PATCH` | `/connectors/installations/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `patchConnectorsInstallationsParam(...)` | `PATCH` | `/connectors/installations/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postConnectorsInstallations(...)` | `POST` | `/connectors/installations` | `query, body, Class responseType` | `@Nullable T` | +| `postConnectorsInstallations(...)` | `POST` | `/connectors/installations` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postConnectorsInstallationsParamPause(...)` | `POST` | `/connectors/installations/{param}/pause` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postConnectorsInstallationsParamPause(...)` | `POST` | `/connectors/installations/{param}/pause` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postConnectorsInstallationsParamResume(...)` | `POST` | `/connectors/installations/{param}/resume` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postConnectorsInstallationsParamResume(...)` | `POST` | `/connectors/installations/{param}/resume` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postConnectorsSyncRunsParamReplay(...)` | `POST` | `/connectors/sync-runs/{param}/replay` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postConnectorsSyncRunsParamReplay(...)` | `POST` | `/connectors/sync-runs/{param}/replay` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/data.md b/docs/api/data.md new file mode 100644 index 0000000..e19e5d1 --- /dev/null +++ b/docs/api/data.md @@ -0,0 +1,313 @@ +# Data API + +Service accessor: `frontal.data()` (`DataClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getDataAggregationsAggregations(...)` | `GET` | `/data/aggregations/aggregations` | `query, Class responseType` | `@Nullable T` | +| `getDataAggregationsAggregations(...)` | `GET` | `/data/aggregations/aggregations` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataAggregationsAggregationsAggregationId(...)` | `GET` | `/data/aggregations/aggregations/{param}` | `aggregationId, query, Class responseType` | `@Nullable T` | +| `getDataAggregationsAggregationsAggregationId(...)` | `GET` | `/data/aggregations/aggregations/{param}` | `aggregationId, query, TypeReference responseType` | `@Nullable T` | +| `getDataAggregationsCapabilities(...)` | `GET` | `/data/aggregations/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataAggregationsCapabilities(...)` | `GET` | `/data/aggregations/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataAggregationsHealth(...)` | `GET` | `/data/aggregations/health` | `query, Class responseType` | `@Nullable T` | +| `getDataAggregationsHealth(...)` | `GET` | `/data/aggregations/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataAggregationsInfo(...)` | `GET` | `/data/aggregations/info` | `query, Class responseType` | `@Nullable T` | +| `getDataAggregationsInfo(...)` | `GET` | `/data/aggregations/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataAggregationsRuns(...)` | `GET` | `/data/aggregations/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataAggregationsRuns(...)` | `GET` | `/data/aggregations/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataAggregationsRunsRunId(...)` | `GET` | `/data/aggregations/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataAggregationsRunsRunId(...)` | `GET` | `/data/aggregations/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataArchivalArchivalPolicies(...)` | `GET` | `/data/archival/archival/policies` | `query, Class responseType` | `@Nullable T` | +| `getDataArchivalArchivalPolicies(...)` | `GET` | `/data/archival/archival/policies` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataArchivalArchivalPoliciesPolicyId(...)` | `GET` | `/data/archival/archival/policies/{param}` | `policyId, query, Class responseType` | `@Nullable T` | +| `getDataArchivalArchivalPoliciesPolicyId(...)` | `GET` | `/data/archival/archival/policies/{param}` | `policyId, query, TypeReference responseType` | `@Nullable T` | +| `getDataArchivalCapabilities(...)` | `GET` | `/data/archival/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataArchivalCapabilities(...)` | `GET` | `/data/archival/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataArchivalHealth(...)` | `GET` | `/data/archival/health` | `query, Class responseType` | `@Nullable T` | +| `getDataArchivalHealth(...)` | `GET` | `/data/archival/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataArchivalInfo(...)` | `GET` | `/data/archival/info` | `query, Class responseType` | `@Nullable T` | +| `getDataArchivalInfo(...)` | `GET` | `/data/archival/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataArchivalRuns(...)` | `GET` | `/data/archival/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataArchivalRuns(...)` | `GET` | `/data/archival/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataArchivalRunsRunId(...)` | `GET` | `/data/archival/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataArchivalRunsRunId(...)` | `GET` | `/data/archival/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogCapabilities(...)` | `GET` | `/data/catalog/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataCatalogCapabilities(...)` | `GET` | `/data/catalog/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogCatalogDatasets(...)` | `GET` | `/data/catalog/catalog/datasets` | `query, Class responseType` | `@Nullable T` | +| `getDataCatalogCatalogDatasets(...)` | `GET` | `/data/catalog/catalog/datasets` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogCatalogDatasetsDatasetId(...)` | `GET` | `/data/catalog/catalog/datasets/{param}` | `datasetId, query, Class responseType` | `@Nullable T` | +| `getDataCatalogCatalogDatasetsDatasetId(...)` | `GET` | `/data/catalog/catalog/datasets/{param}` | `datasetId, query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent(...)` | `GET` | `/data/catalog/catalog/datasets/{param}/artifacts/{param}/content` | `datasetId, manifestId, query, Class responseType` | `@Nullable T` | +| `getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent(...)` | `GET` | `/data/catalog/catalog/datasets/{param}/artifacts/{param}/content` | `datasetId, manifestId, query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogCatalogSources(...)` | `GET` | `/data/catalog/catalog/sources` | `query, Class responseType` | `@Nullable T` | +| `getDataCatalogCatalogSources(...)` | `GET` | `/data/catalog/catalog/sources` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogCatalogSourcesSourceId(...)` | `GET` | `/data/catalog/catalog/sources/{param}` | `sourceId, query, Class responseType` | `@Nullable T` | +| `getDataCatalogCatalogSourcesSourceId(...)` | `GET` | `/data/catalog/catalog/sources/{param}` | `sourceId, query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogHealth(...)` | `GET` | `/data/catalog/health` | `query, Class responseType` | `@Nullable T` | +| `getDataCatalogHealth(...)` | `GET` | `/data/catalog/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogInfo(...)` | `GET` | `/data/catalog/info` | `query, Class responseType` | `@Nullable T` | +| `getDataCatalogInfo(...)` | `GET` | `/data/catalog/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogRuns(...)` | `GET` | `/data/catalog/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataCatalogRuns(...)` | `GET` | `/data/catalog/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataCatalogRunsRunId(...)` | `GET` | `/data/catalog/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataCatalogRunsRunId(...)` | `GET` | `/data/catalog/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataEnrichmentCapabilities(...)` | `GET` | `/data/enrichment/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataEnrichmentCapabilities(...)` | `GET` | `/data/enrichment/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataEnrichmentEnrichmentProfiles(...)` | `GET` | `/data/enrichment/enrichment/profiles` | `query, Class responseType` | `@Nullable T` | +| `getDataEnrichmentEnrichmentProfiles(...)` | `GET` | `/data/enrichment/enrichment/profiles` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataEnrichmentEnrichmentProfilesProfileId(...)` | `GET` | `/data/enrichment/enrichment/profiles/{param}` | `profileId, query, Class responseType` | `@Nullable T` | +| `getDataEnrichmentEnrichmentProfilesProfileId(...)` | `GET` | `/data/enrichment/enrichment/profiles/{param}` | `profileId, query, TypeReference responseType` | `@Nullable T` | +| `getDataEnrichmentHealth(...)` | `GET` | `/data/enrichment/health` | `query, Class responseType` | `@Nullable T` | +| `getDataEnrichmentHealth(...)` | `GET` | `/data/enrichment/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataEnrichmentInfo(...)` | `GET` | `/data/enrichment/info` | `query, Class responseType` | `@Nullable T` | +| `getDataEnrichmentInfo(...)` | `GET` | `/data/enrichment/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataEnrichmentRuns(...)` | `GET` | `/data/enrichment/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataEnrichmentRuns(...)` | `GET` | `/data/enrichment/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataEnrichmentRunsRunId(...)` | `GET` | `/data/enrichment/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataEnrichmentRunsRunId(...)` | `GET` | `/data/enrichment/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataExportsCapabilities(...)` | `GET` | `/data/exports/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataExportsCapabilities(...)` | `GET` | `/data/exports/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataExportsExports(...)` | `GET` | `/data/exports/exports` | `query, Class responseType` | `@Nullable T` | +| `getDataExportsExports(...)` | `GET` | `/data/exports/exports` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataExportsExportsExportId(...)` | `GET` | `/data/exports/exports/{param}` | `exportId, query, Class responseType` | `@Nullable T` | +| `getDataExportsExportsExportId(...)` | `GET` | `/data/exports/exports/{param}` | `exportId, query, TypeReference responseType` | `@Nullable T` | +| `getDataExportsHealth(...)` | `GET` | `/data/exports/health` | `query, Class responseType` | `@Nullable T` | +| `getDataExportsHealth(...)` | `GET` | `/data/exports/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataExportsInfo(...)` | `GET` | `/data/exports/info` | `query, Class responseType` | `@Nullable T` | +| `getDataExportsInfo(...)` | `GET` | `/data/exports/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataExportsRuns(...)` | `GET` | `/data/exports/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataExportsRuns(...)` | `GET` | `/data/exports/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataExportsRunsRunId(...)` | `GET` | `/data/exports/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataExportsRunsRunId(...)` | `GET` | `/data/exports/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestCapabilities(...)` | `GET` | `/data/ingest/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataIngestCapabilities(...)` | `GET` | `/data/ingest/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestDatasets(...)` | `GET` | `/data/ingest/datasets` | `query, Class responseType` | `@Nullable T` | +| `getDataIngestDatasets(...)` | `GET` | `/data/ingest/datasets` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestDatasetsDatasetId(...)` | `GET` | `/data/ingest/datasets/{param}` | `datasetId, query, Class responseType` | `@Nullable T` | +| `getDataIngestDatasetsDatasetId(...)` | `GET` | `/data/ingest/datasets/{param}` | `datasetId, query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestDatasetsDatasetIdArtifactsManifestIdContent(...)` | `GET` | `/data/ingest/datasets/{param}/artifacts/{param}/content` | `datasetId, manifestId, query, Class responseType` | `@Nullable T` | +| `getDataIngestDatasetsDatasetIdArtifactsManifestIdContent(...)` | `GET` | `/data/ingest/datasets/{param}/artifacts/{param}/content` | `datasetId, manifestId, query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestHealth(...)` | `GET` | `/data/ingest/health` | `query, Class responseType` | `@Nullable T` | +| `getDataIngestHealth(...)` | `GET` | `/data/ingest/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestInfo(...)` | `GET` | `/data/ingest/info` | `query, Class responseType` | `@Nullable T` | +| `getDataIngestInfo(...)` | `GET` | `/data/ingest/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestRuns(...)` | `GET` | `/data/ingest/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataIngestRuns(...)` | `GET` | `/data/ingest/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestRunsRunId(...)` | `GET` | `/data/ingest/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataIngestRunsRunId(...)` | `GET` | `/data/ingest/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestSchemas(...)` | `GET` | `/data/ingest/schemas` | `query, Class responseType` | `@Nullable T` | +| `getDataIngestSchemas(...)` | `GET` | `/data/ingest/schemas` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataIngestSchemasSchemaRef(...)` | `GET` | `/data/ingest/schemas/{param}` | `schemaRef, query, Class responseType` | `@Nullable T` | +| `getDataIngestSchemasSchemaRef(...)` | `GET` | `/data/ingest/schemas/{param}` | `schemaRef, query, TypeReference responseType` | `@Nullable T` | +| `getDataNormalizationCapabilities(...)` | `GET` | `/data/normalization/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataNormalizationCapabilities(...)` | `GET` | `/data/normalization/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataNormalizationHealth(...)` | `GET` | `/data/normalization/health` | `query, Class responseType` | `@Nullable T` | +| `getDataNormalizationHealth(...)` | `GET` | `/data/normalization/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataNormalizationInfo(...)` | `GET` | `/data/normalization/info` | `query, Class responseType` | `@Nullable T` | +| `getDataNormalizationInfo(...)` | `GET` | `/data/normalization/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataNormalizationNormalizationProfiles(...)` | `GET` | `/data/normalization/normalization/profiles` | `query, Class responseType` | `@Nullable T` | +| `getDataNormalizationNormalizationProfiles(...)` | `GET` | `/data/normalization/normalization/profiles` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataNormalizationNormalizationProfilesProfileId(...)` | `GET` | `/data/normalization/normalization/profiles/{param}` | `profileId, query, Class responseType` | `@Nullable T` | +| `getDataNormalizationNormalizationProfilesProfileId(...)` | `GET` | `/data/normalization/normalization/profiles/{param}` | `profileId, query, TypeReference responseType` | `@Nullable T` | +| `getDataNormalizationRuns(...)` | `GET` | `/data/normalization/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataNormalizationRuns(...)` | `GET` | `/data/normalization/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataNormalizationRunsRunId(...)` | `GET` | `/data/normalization/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataNormalizationRunsRunId(...)` | `GET` | `/data/normalization/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesCapabilities(...)` | `GET` | `/data/pipelines/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesCapabilities(...)` | `GET` | `/data/pipelines/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesHealth(...)` | `GET` | `/data/pipelines/health` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesHealth(...)` | `GET` | `/data/pipelines/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesInfo(...)` | `GET` | `/data/pipelines/info` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesInfo(...)` | `GET` | `/data/pipelines/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesPipelineRuns(...)` | `GET` | `/data/pipelines/pipeline-runs` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesPipelineRuns(...)` | `GET` | `/data/pipelines/pipeline-runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesPipelineRunsRunId(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataPipelinesPipelineRunsRunId(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesPipelines(...)` | `GET` | `/data/pipelines/pipelines` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesPipelines(...)` | `GET` | `/data/pipelines/pipelines` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesPipelinesDefinitionId(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `definitionId, query, Class responseType` | `@Nullable T` | +| `getDataPipelinesPipelinesDefinitionId(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `definitionId, query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesRuns(...)` | `GET` | `/data/pipelines/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesRuns(...)` | `GET` | `/data/pipelines/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesRunsRunId(...)` | `GET` | `/data/pipelines/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataPipelinesRunsRunId(...)` | `GET` | `/data/pipelines/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataQualityCapabilities(...)` | `GET` | `/data/quality/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataQualityCapabilities(...)` | `GET` | `/data/quality/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQualityHealth(...)` | `GET` | `/data/quality/health` | `query, Class responseType` | `@Nullable T` | +| `getDataQualityHealth(...)` | `GET` | `/data/quality/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQualityInfo(...)` | `GET` | `/data/quality/info` | `query, Class responseType` | `@Nullable T` | +| `getDataQualityInfo(...)` | `GET` | `/data/quality/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQualityQualityRulesets(...)` | `GET` | `/data/quality/quality/rulesets` | `query, Class responseType` | `@Nullable T` | +| `getDataQualityQualityRulesets(...)` | `GET` | `/data/quality/quality/rulesets` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQualityQualityRulesetsRulesetId(...)` | `GET` | `/data/quality/quality/rulesets/{param}` | `rulesetId, query, Class responseType` | `@Nullable T` | +| `getDataQualityQualityRulesetsRulesetId(...)` | `GET` | `/data/quality/quality/rulesets/{param}` | `rulesetId, query, TypeReference responseType` | `@Nullable T` | +| `getDataQualityRuns(...)` | `GET` | `/data/quality/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataQualityRuns(...)` | `GET` | `/data/quality/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQualityRunsRunId(...)` | `GET` | `/data/quality/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataQualityRunsRunId(...)` | `GET` | `/data/quality/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataQueryCapabilities(...)` | `GET` | `/data/query/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataQueryCapabilities(...)` | `GET` | `/data/query/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQueryHealth(...)` | `GET` | `/data/query/health` | `query, Class responseType` | `@Nullable T` | +| `getDataQueryHealth(...)` | `GET` | `/data/query/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQueryInfo(...)` | `GET` | `/data/query/info` | `query, Class responseType` | `@Nullable T` | +| `getDataQueryInfo(...)` | `GET` | `/data/query/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQueryRuns(...)` | `GET` | `/data/query/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataQueryRuns(...)` | `GET` | `/data/query/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataQueryRunsRunId(...)` | `GET` | `/data/query/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataQueryRunsRunId(...)` | `GET` | `/data/query/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataSchemasCapabilities(...)` | `GET` | `/data/schemas/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataSchemasCapabilities(...)` | `GET` | `/data/schemas/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSchemasHealth(...)` | `GET` | `/data/schemas/health` | `query, Class responseType` | `@Nullable T` | +| `getDataSchemasHealth(...)` | `GET` | `/data/schemas/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSchemasInfo(...)` | `GET` | `/data/schemas/info` | `query, Class responseType` | `@Nullable T` | +| `getDataSchemasInfo(...)` | `GET` | `/data/schemas/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSchemasRuns(...)` | `GET` | `/data/schemas/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataSchemasRuns(...)` | `GET` | `/data/schemas/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSchemasRunsRunId(...)` | `GET` | `/data/schemas/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataSchemasRunsRunId(...)` | `GET` | `/data/schemas/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataSchemasSchemas(...)` | `GET` | `/data/schemas/schemas` | `query, Class responseType` | `@Nullable T` | +| `getDataSchemasSchemas(...)` | `GET` | `/data/schemas/schemas` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSchemasSchemasSchemaRef(...)` | `GET` | `/data/schemas/schemas/{param}` | `schemaRef, query, Class responseType` | `@Nullable T` | +| `getDataSchemasSchemasSchemaRef(...)` | `GET` | `/data/schemas/schemas/{param}` | `schemaRef, query, TypeReference responseType` | `@Nullable T` | +| `getDataServingCapabilities(...)` | `GET` | `/data/serving/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataServingCapabilities(...)` | `GET` | `/data/serving/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataServingHealth(...)` | `GET` | `/data/serving/health` | `query, Class responseType` | `@Nullable T` | +| `getDataServingHealth(...)` | `GET` | `/data/serving/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataServingInfo(...)` | `GET` | `/data/serving/info` | `query, Class responseType` | `@Nullable T` | +| `getDataServingInfo(...)` | `GET` | `/data/serving/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataServingRuns(...)` | `GET` | `/data/serving/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataServingRuns(...)` | `GET` | `/data/serving/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataServingRunsRunId(...)` | `GET` | `/data/serving/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataServingRunsRunId(...)` | `GET` | `/data/serving/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataServingServingProducts(...)` | `GET` | `/data/serving/serving/products` | `query, Class responseType` | `@Nullable T` | +| `getDataServingServingProducts(...)` | `GET` | `/data/serving/serving/products` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataServingServingProductsProductId(...)` | `GET` | `/data/serving/serving/products/{param}` | `productId, query, Class responseType` | `@Nullable T` | +| `getDataServingServingProductsProductId(...)` | `GET` | `/data/serving/serving/products/{param}` | `productId, query, TypeReference responseType` | `@Nullable T` | +| `getDataStreamsCapabilities(...)` | `GET` | `/data/streams/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataStreamsCapabilities(...)` | `GET` | `/data/streams/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataStreamsHealth(...)` | `GET` | `/data/streams/health` | `query, Class responseType` | `@Nullable T` | +| `getDataStreamsHealth(...)` | `GET` | `/data/streams/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataStreamsInfo(...)` | `GET` | `/data/streams/info` | `query, Class responseType` | `@Nullable T` | +| `getDataStreamsInfo(...)` | `GET` | `/data/streams/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataStreamsRuns(...)` | `GET` | `/data/streams/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataStreamsRuns(...)` | `GET` | `/data/streams/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataStreamsRunsRunId(...)` | `GET` | `/data/streams/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataStreamsRunsRunId(...)` | `GET` | `/data/streams/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataStreamsStreams(...)` | `GET` | `/data/streams/streams` | `query, Class responseType` | `@Nullable T` | +| `getDataStreamsStreams(...)` | `GET` | `/data/streams/streams` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataStreamsStreamsStreamId(...)` | `GET` | `/data/streams/streams/{param}` | `streamId, query, Class responseType` | `@Nullable T` | +| `getDataStreamsStreamsStreamId(...)` | `GET` | `/data/streams/streams/{param}` | `streamId, query, TypeReference responseType` | `@Nullable T` | +| `getDataSyncCapabilities(...)` | `GET` | `/data/sync/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataSyncCapabilities(...)` | `GET` | `/data/sync/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSyncHealth(...)` | `GET` | `/data/sync/health` | `query, Class responseType` | `@Nullable T` | +| `getDataSyncHealth(...)` | `GET` | `/data/sync/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSyncInfo(...)` | `GET` | `/data/sync/info` | `query, Class responseType` | `@Nullable T` | +| `getDataSyncInfo(...)` | `GET` | `/data/sync/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSyncRuns(...)` | `GET` | `/data/sync/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataSyncRuns(...)` | `GET` | `/data/sync/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSyncRunsRunId(...)` | `GET` | `/data/sync/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataSyncRunsRunId(...)` | `GET` | `/data/sync/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataSyncSyncJobs(...)` | `GET` | `/data/sync/sync/jobs` | `query, Class responseType` | `@Nullable T` | +| `getDataSyncSyncJobs(...)` | `GET` | `/data/sync/sync/jobs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataSyncSyncJobsJobId(...)` | `GET` | `/data/sync/sync/jobs/{param}` | `jobId, query, Class responseType` | `@Nullable T` | +| `getDataSyncSyncJobsJobId(...)` | `GET` | `/data/sync/sync/jobs/{param}` | `jobId, query, TypeReference responseType` | `@Nullable T` | +| `getDataTransformationsCapabilities(...)` | `GET` | `/data/transformations/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataTransformationsCapabilities(...)` | `GET` | `/data/transformations/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataTransformationsHealth(...)` | `GET` | `/data/transformations/health` | `query, Class responseType` | `@Nullable T` | +| `getDataTransformationsHealth(...)` | `GET` | `/data/transformations/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataTransformationsInfo(...)` | `GET` | `/data/transformations/info` | `query, Class responseType` | `@Nullable T` | +| `getDataTransformationsInfo(...)` | `GET` | `/data/transformations/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataTransformationsRuns(...)` | `GET` | `/data/transformations/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataTransformationsRuns(...)` | `GET` | `/data/transformations/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataTransformationsRunsRunId(...)` | `GET` | `/data/transformations/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getDataTransformationsRunsRunId(...)` | `GET` | `/data/transformations/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getDataTransformationsTransformations(...)` | `GET` | `/data/transformations/transformations` | `query, Class responseType` | `@Nullable T` | +| `getDataTransformationsTransformations(...)` | `GET` | `/data/transformations/transformations` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataTransformationsTransformationsTransformationId(...)` | `GET` | `/data/transformations/transformations/{param}` | `transformationId, query, Class responseType` | `@Nullable T` | +| `getDataTransformationsTransformationsTransformationId(...)` | `GET` | `/data/transformations/transformations/{param}` | `transformationId, query, TypeReference responseType` | `@Nullable T` | +| `postDataAggregationsAggregations(...)` | `POST` | `/data/aggregations/aggregations` | `query, body, Class responseType` | `@Nullable T` | +| `postDataAggregationsAggregations(...)` | `POST` | `/data/aggregations/aggregations` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataAggregationsAggregationsAggregationIdExecutions(...)` | `POST` | `/data/aggregations/aggregations/{param}/executions` | `aggregationId, query, body, Class responseType` | `@Nullable T` | +| `postDataAggregationsAggregationsAggregationIdExecutions(...)` | `POST` | `/data/aggregations/aggregations/{param}/executions` | `aggregationId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataAggregationsRuns(...)` | `POST` | `/data/aggregations/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataAggregationsRuns(...)` | `POST` | `/data/aggregations/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataArchivalArchivalPolicies(...)` | `POST` | `/data/archival/archival/policies` | `query, body, Class responseType` | `@Nullable T` | +| `postDataArchivalArchivalPolicies(...)` | `POST` | `/data/archival/archival/policies` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataArchivalArchivalPoliciesPolicyIdExecutions(...)` | `POST` | `/data/archival/archival/policies/{param}/executions` | `policyId, query, body, Class responseType` | `@Nullable T` | +| `postDataArchivalArchivalPoliciesPolicyIdExecutions(...)` | `POST` | `/data/archival/archival/policies/{param}/executions` | `policyId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataArchivalRuns(...)` | `POST` | `/data/archival/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataArchivalRuns(...)` | `POST` | `/data/archival/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataCatalogRuns(...)` | `POST` | `/data/catalog/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataCatalogRuns(...)` | `POST` | `/data/catalog/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataEnrichmentEnrichmentProfiles(...)` | `POST` | `/data/enrichment/enrichment/profiles` | `query, body, Class responseType` | `@Nullable T` | +| `postDataEnrichmentEnrichmentProfiles(...)` | `POST` | `/data/enrichment/enrichment/profiles` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataEnrichmentEnrichmentProfilesProfileIdExecutions(...)` | `POST` | `/data/enrichment/enrichment/profiles/{param}/executions` | `profileId, query, body, Class responseType` | `@Nullable T` | +| `postDataEnrichmentEnrichmentProfilesProfileIdExecutions(...)` | `POST` | `/data/enrichment/enrichment/profiles/{param}/executions` | `profileId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataEnrichmentRuns(...)` | `POST` | `/data/enrichment/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataEnrichmentRuns(...)` | `POST` | `/data/enrichment/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataExportsExports(...)` | `POST` | `/data/exports/exports` | `query, body, Class responseType` | `@Nullable T` | +| `postDataExportsExports(...)` | `POST` | `/data/exports/exports` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataExportsExportsExportIdExecutions(...)` | `POST` | `/data/exports/exports/{param}/executions` | `exportId, query, body, Class responseType` | `@Nullable T` | +| `postDataExportsExportsExportIdExecutions(...)` | `POST` | `/data/exports/exports/{param}/executions` | `exportId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataExportsRuns(...)` | `POST` | `/data/exports/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataExportsRuns(...)` | `POST` | `/data/exports/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataIngestDatasetsIngest(...)` | `POST` | `/data/ingest/datasets/ingest` | `query, body, Class responseType` | `@Nullable T` | +| `postDataIngestDatasetsIngest(...)` | `POST` | `/data/ingest/datasets/ingest` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataIngestRuns(...)` | `POST` | `/data/ingest/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataIngestRuns(...)` | `POST` | `/data/ingest/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataNormalizationNormalizationProfiles(...)` | `POST` | `/data/normalization/normalization/profiles` | `query, body, Class responseType` | `@Nullable T` | +| `postDataNormalizationNormalizationProfiles(...)` | `POST` | `/data/normalization/normalization/profiles` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataNormalizationNormalizationProfilesProfileIdExecutions(...)` | `POST` | `/data/normalization/normalization/profiles/{param}/executions` | `profileId, query, body, Class responseType` | `@Nullable T` | +| `postDataNormalizationNormalizationProfilesProfileIdExecutions(...)` | `POST` | `/data/normalization/normalization/profiles/{param}/executions` | `profileId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataNormalizationRuns(...)` | `POST` | `/data/normalization/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataNormalizationRuns(...)` | `POST` | `/data/normalization/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataPipelinesPipelines(...)` | `POST` | `/data/pipelines/pipelines` | `query, body, Class responseType` | `@Nullable T` | +| `postDataPipelinesPipelines(...)` | `POST` | `/data/pipelines/pipelines` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataPipelinesRuns(...)` | `POST` | `/data/pipelines/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataPipelinesRuns(...)` | `POST` | `/data/pipelines/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataQualityQualityRulesets(...)` | `POST` | `/data/quality/quality/rulesets` | `query, body, Class responseType` | `@Nullable T` | +| `postDataQualityQualityRulesets(...)` | `POST` | `/data/quality/quality/rulesets` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataQualityQualityRulesetsRulesetIdEvaluations(...)` | `POST` | `/data/quality/quality/rulesets/{param}/evaluations` | `rulesetId, query, body, Class responseType` | `@Nullable T` | +| `postDataQualityQualityRulesetsRulesetIdEvaluations(...)` | `POST` | `/data/quality/quality/rulesets/{param}/evaluations` | `rulesetId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataQualityRuns(...)` | `POST` | `/data/quality/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataQualityRuns(...)` | `POST` | `/data/quality/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataQueryQueryFederated(...)` | `POST` | `/data/query/query/federated` | `query, body, Class responseType` | `@Nullable T` | +| `postDataQueryQueryFederated(...)` | `POST` | `/data/query/query/federated` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataQueryRuns(...)` | `POST` | `/data/query/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataQueryRuns(...)` | `POST` | `/data/query/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataSchemasRuns(...)` | `POST` | `/data/schemas/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataSchemasRuns(...)` | `POST` | `/data/schemas/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataSchemasSchemas(...)` | `POST` | `/data/schemas/schemas` | `query, body, Class responseType` | `@Nullable T` | +| `postDataSchemasSchemas(...)` | `POST` | `/data/schemas/schemas` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataSchemasSchemasResolve(...)` | `POST` | `/data/schemas/schemas/resolve` | `query, body, Class responseType` | `@Nullable T` | +| `postDataSchemasSchemasResolve(...)` | `POST` | `/data/schemas/schemas/resolve` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataServingRuns(...)` | `POST` | `/data/serving/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataServingRuns(...)` | `POST` | `/data/serving/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataServingServingProducts(...)` | `POST` | `/data/serving/serving/products` | `query, body, Class responseType` | `@Nullable T` | +| `postDataServingServingProducts(...)` | `POST` | `/data/serving/serving/products` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataServingServingProductsProductIdRefreshes(...)` | `POST` | `/data/serving/serving/products/{param}/refreshes` | `productId, query, body, Class responseType` | `@Nullable T` | +| `postDataServingServingProductsProductIdRefreshes(...)` | `POST` | `/data/serving/serving/products/{param}/refreshes` | `productId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataStreamsRuns(...)` | `POST` | `/data/streams/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataStreamsRuns(...)` | `POST` | `/data/streams/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataStreamsStreams(...)` | `POST` | `/data/streams/streams` | `query, body, Class responseType` | `@Nullable T` | +| `postDataStreamsStreams(...)` | `POST` | `/data/streams/streams` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataStreamsStreamsStreamIdDeliveries(...)` | `POST` | `/data/streams/streams/{param}/deliveries` | `streamId, query, body, Class responseType` | `@Nullable T` | +| `postDataStreamsStreamsStreamIdDeliveries(...)` | `POST` | `/data/streams/streams/{param}/deliveries` | `streamId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataSyncRuns(...)` | `POST` | `/data/sync/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataSyncRuns(...)` | `POST` | `/data/sync/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataSyncSyncJobs(...)` | `POST` | `/data/sync/sync/jobs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataSyncSyncJobs(...)` | `POST` | `/data/sync/sync/jobs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataSyncSyncJobsJobIdExecutions(...)` | `POST` | `/data/sync/sync/jobs/{param}/executions` | `jobId, query, body, Class responseType` | `@Nullable T` | +| `postDataSyncSyncJobsJobIdExecutions(...)` | `POST` | `/data/sync/sync/jobs/{param}/executions` | `jobId, query, body, TypeReference responseType` | `@Nullable T` | +| `postDataTransformationsRuns(...)` | `POST` | `/data/transformations/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataTransformationsRuns(...)` | `POST` | `/data/transformations/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataTransformationsTransformations(...)` | `POST` | `/data/transformations/transformations` | `query, body, Class responseType` | `@Nullable T` | +| `postDataTransformationsTransformations(...)` | `POST` | `/data/transformations/transformations` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataTransformationsTransformationsTransformationIdExecutions(...)` | `POST` | `/data/transformations/transformations/{param}/executions` | `transformationId, query, body, Class responseType` | `@Nullable T` | +| `postDataTransformationsTransformationsTransformationIdExecutions(...)` | `POST` | `/data/transformations/transformations/{param}/executions` | `transformationId, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/events.md b/docs/api/events.md new file mode 100644 index 0000000..38bbfa7 --- /dev/null +++ b/docs/api/events.md @@ -0,0 +1,45 @@ +# Events API + +Service accessor: `frontal.events()` (`EventsClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getEvents(...)` | `GET` | `/events` | `query, Class responseType` | `@Nullable T` | +| `getEvents(...)` | `GET` | `/events` | `query, TypeReference responseType` | `@Nullable T` | +| `getEventsMonitoring(...)` | `GET` | `/events/monitoring` | `query, Class responseType` | `@Nullable T` | +| `getEventsMonitoring(...)` | `GET` | `/events/monitoring` | `query, TypeReference responseType` | `@Nullable T` | +| `getEventsId(...)` | `GET` | `/events/{param}` | `id, query, Class responseType` | `@Nullable T` | +| `getEventsId(...)` | `GET` | `/events/{param}` | `id, query, TypeReference responseType` | `@Nullable T` | +| `postEvents(...)` | `POST` | `/events` | `query, body, Class responseType` | `@Nullable T` | +| `postEvents(...)` | `POST` | `/events` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsAnalytics(...)` | `POST` | `/events/analytics` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsAnalytics(...)` | `POST` | `/events/analytics` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsAnalyticsV2(...)` | `POST` | `/events/analytics-v2` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsAnalyticsV2(...)` | `POST` | `/events/analytics-v2` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsBenchmarkV1(...)` | `POST` | `/events/benchmark/v1` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsBenchmarkV1(...)` | `POST` | `/events/benchmark/v1` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsBenchmarkV2(...)` | `POST` | `/events/benchmark/v2` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsBenchmarkV2(...)` | `POST` | `/events/benchmark/v2` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsBulk(...)` | `POST` | `/events/bulk` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsBulk(...)` | `POST` | `/events/bulk` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsHuggingfaceBilling(...)` | `POST` | `/events/huggingface-billing` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsHuggingfaceBilling(...)` | `POST` | `/events/huggingface-billing` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsQuery(...)` | `POST` | `/events/query` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsQuery(...)` | `POST` | `/events/query` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsRawReprocessAll(...)` | `POST` | `/events/raw/reprocess/all` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsRawReprocessAll(...)` | `POST` | `/events/raw/reprocess/all` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsRawReprocessPending(...)` | `POST` | `/events/raw/reprocess/pending` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsRawReprocessPending(...)` | `POST` | `/events/raw/reprocess/pending` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsReprocess(...)` | `POST` | `/events/reprocess` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsReprocess(...)` | `POST` | `/events/reprocess` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsReprocessInternal(...)` | `POST` | `/events/reprocess/internal` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsReprocessInternal(...)` | `POST` | `/events/reprocess/internal` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsUsage(...)` | `POST` | `/events/usage` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsUsage(...)` | `POST` | `/events/usage` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postEventsUsageMeter(...)` | `POST` | `/events/usage/meter` | `query, body, Class responseType` | `@Nullable T` | +| `postEventsUsageMeter(...)` | `POST` | `/events/usage/meter` | `query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/governance.md b/docs/api/governance.md new file mode 100644 index 0000000..0a2ccdf --- /dev/null +++ b/docs/api/governance.md @@ -0,0 +1,59 @@ +# Governance API + +Service accessor: `frontal.governance()` (`GovernanceClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deletePoliciesParam(...)` | `DELETE` | `/policies/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deletePoliciesParam(...)` | `DELETE` | `/policies/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `deleteRolesParam(...)` | `DELETE` | `/roles/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteRolesParam(...)` | `DELETE` | `/roles/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getComplianceAssessments(...)` | `GET` | `/compliance/assessments` | `query, Class responseType` | `@Nullable T` | +| `getComplianceAssessments(...)` | `GET` | `/compliance/assessments` | `query, TypeReference responseType` | `@Nullable T` | +| `getComplianceAssessmentsParam(...)` | `GET` | `/compliance/assessments/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getComplianceAssessmentsParam(...)` | `GET` | `/compliance/assessments/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getComplianceFrameworks(...)` | `GET` | `/compliance/frameworks` | `query, Class responseType` | `@Nullable T` | +| `getComplianceFrameworks(...)` | `GET` | `/compliance/frameworks` | `query, TypeReference responseType` | `@Nullable T` | +| `getComplianceScore(...)` | `GET` | `/compliance/score` | `query, Class responseType` | `@Nullable T` | +| `getComplianceScore(...)` | `GET` | `/compliance/score` | `query, TypeReference responseType` | `@Nullable T` | +| `getComplianceViolations(...)` | `GET` | `/compliance/violations` | `query, Class responseType` | `@Nullable T` | +| `getComplianceViolations(...)` | `GET` | `/compliance/violations` | `query, TypeReference responseType` | `@Nullable T` | +| `getPermissions(...)` | `GET` | `/permissions` | `query, Class responseType` | `@Nullable T` | +| `getPermissions(...)` | `GET` | `/permissions` | `query, TypeReference responseType` | `@Nullable T` | +| `getPermissionsParam(...)` | `GET` | `/permissions/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getPermissionsParam(...)` | `GET` | `/permissions/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getPolicies(...)` | `GET` | `/policies` | `query, Class responseType` | `@Nullable T` | +| `getPolicies(...)` | `GET` | `/policies` | `query, TypeReference responseType` | `@Nullable T` | +| `getPoliciesTemplates(...)` | `GET` | `/policies/templates` | `query, Class responseType` | `@Nullable T` | +| `getPoliciesTemplates(...)` | `GET` | `/policies/templates` | `query, TypeReference responseType` | `@Nullable T` | +| `getPoliciesParam(...)` | `GET` | `/policies/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getPoliciesParam(...)` | `GET` | `/policies/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getPoliciesParamVersions(...)` | `GET` | `/policies/{param}/versions` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getPoliciesParamVersions(...)` | `GET` | `/policies/{param}/versions` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getRoles(...)` | `GET` | `/roles` | `query, Class responseType` | `@Nullable T` | +| `getRoles(...)` | `GET` | `/roles` | `query, TypeReference responseType` | `@Nullable T` | +| `getRolesParam(...)` | `GET` | `/roles/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getRolesParam(...)` | `GET` | `/roles/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `postAccessCheck(...)` | `POST` | `/access/check` | `query, body, Class responseType` | `@Nullable T` | +| `postAccessCheck(...)` | `POST` | `/access/check` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postComplianceAssessments(...)` | `POST` | `/compliance/assessments` | `query, body, Class responseType` | `@Nullable T` | +| `postComplianceAssessments(...)` | `POST` | `/compliance/assessments` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postComplianceViolationsParamResolve(...)` | `POST` | `/compliance/violations/{param}/resolve` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postComplianceViolationsParamResolve(...)` | `POST` | `/compliance/violations/{param}/resolve` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postPermissions(...)` | `POST` | `/permissions` | `query, body, Class responseType` | `@Nullable T` | +| `postPermissions(...)` | `POST` | `/permissions` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postPolicies(...)` | `POST` | `/policies` | `query, body, Class responseType` | `@Nullable T` | +| `postPolicies(...)` | `POST` | `/policies` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postPoliciesFromTemplate(...)` | `POST` | `/policies/from-template` | `query, body, Class responseType` | `@Nullable T` | +| `postPoliciesFromTemplate(...)` | `POST` | `/policies/from-template` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postPoliciesValidate(...)` | `POST` | `/policies/validate` | `query, body, Class responseType` | `@Nullable T` | +| `postPoliciesValidate(...)` | `POST` | `/policies/validate` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postRoles(...)` | `POST` | `/roles` | `query, body, Class responseType` | `@Nullable T` | +| `postRoles(...)` | `POST` | `/roles` | `query, body, TypeReference responseType` | `@Nullable T` | +| `putPoliciesParam(...)` | `PUT` | `/policies/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `putPoliciesParam(...)` | `PUT` | `/policies/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/invocations.md b/docs/api/invocations.md new file mode 100644 index 0000000..fac8d49 --- /dev/null +++ b/docs/api/invocations.md @@ -0,0 +1,13 @@ +# Invocations API + +Service accessor: `frontal.invocations()` (`InvocationsClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `postInvocations(...)` | `POST` | `/invocations` | `query, body, Class responseType` | `@Nullable T` | +| `postInvocations(...)` | `POST` | `/invocations` | `query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/lineage.md b/docs/api/lineage.md new file mode 100644 index 0000000..092c4de --- /dev/null +++ b/docs/api/lineage.md @@ -0,0 +1,25 @@ +# Lineage API + +Service accessor: `frontal.lineage()` (`LineageClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getLineageEdges(...)` | `GET` | `/lineage/edges` | `query, Class responseType` | `@Nullable T` | +| `getLineageEdges(...)` | `GET` | `/lineage/edges` | `query, TypeReference responseType` | `@Nullable T` | +| `getLineageEdgesParam(...)` | `GET` | `/lineage/edges/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getLineageEdgesParam(...)` | `GET` | `/lineage/edges/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getLineageGraph(...)` | `GET` | `/lineage/graph` | `query, Class responseType` | `@Nullable T` | +| `getLineageGraph(...)` | `GET` | `/lineage/graph` | `query, TypeReference responseType` | `@Nullable T` | +| `getLineageNodes(...)` | `GET` | `/lineage/nodes` | `query, Class responseType` | `@Nullable T` | +| `getLineageNodes(...)` | `GET` | `/lineage/nodes` | `query, TypeReference responseType` | `@Nullable T` | +| `getLineageNodesParam(...)` | `GET` | `/lineage/nodes/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getLineageNodesParam(...)` | `GET` | `/lineage/nodes/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getLineageNodesParamTrace(...)` | `GET` | `/lineage/nodes/{param}/trace` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getLineageNodesParamTrace(...)` | `GET` | `/lineage/nodes/{param}/trace` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `postLineageImpact(...)` | `POST` | `/lineage/impact` | `query, body, Class responseType` | `@Nullable T` | +| `postLineageImpact(...)` | `POST` | `/lineage/impact` | `query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/methods-as-code.md b/docs/api/methods-as-code.md new file mode 100644 index 0000000..010b9a6 --- /dev/null +++ b/docs/api/methods-as-code.md @@ -0,0 +1,771 @@ +# SDK methods as Java call lines + +One call-shaped line for every method listed in the service API reference. `/* args */` is a placeholder; use the linked service page for the exact signature, argument order, and response type. Streaming methods are listed with both their publisher and blocking forms. + +## agents + +```java +client.agents().deleteAgentsParam(/* args */); +client.agents().getAgents(/* args */); +client.agents().getAgentsHealth(/* args */); +client.agents().getAgentsRunsParam(/* args */); +client.agents().getAgentsRunsParamConversation(/* args */); +client.agents().getAgentsParam(/* args */); +client.agents().getAgentsParamRuns(/* args */); +client.agents().getAgentsParamVersions(/* args */); +client.agents().postAgents(/* args */); +client.agents().postAgentsParamRollback(/* args */); +client.agents().postAgentsParamRuns(/* args */); +client.agents().putAgentsParam(/* args */); +client.agents().streamAgentsRunsParamStream(/* args */); +client.agents().streamAgentsRunsParamStreamBlocking(/* args */); +client.agents().getActionRun(/* args */); +``` + +Full signatures: [agents](./agents.md). + +## ai + +```java +client.ai().getHealth(/* args */); +client.ai().getInternalModels(/* args */); +client.ai().getInternalModelsDefaults(/* args */); +client.ai().postAiChatCompletions(/* args */); +client.ai().postInternalEmbeddings(/* args */); +client.ai().postInternalPredictions(/* args */); +client.ai().postInternalRerank(/* args */); +client.ai().postformdataInternalPredictions(/* args */); +client.ai().postrawInternalPredictions(/* args */); +``` + +Full signatures: [ai](./ai.md). + +## audit + +```java +client.audit().getAuditEvents(/* args */); +client.audit().getAuditEventsParam(/* args */); +client.audit().postAuditEvents(/* args */); +client.audit().postAuditEventsBatch(/* args */); +``` + +Full signatures: [audit](./audit.md). + +## auth + +```java +client.auth().deleteAuthAccountMfaParam(/* args */); +client.auth().deleteAuthAccountProfile(/* args */); +client.auth().deleteAuthAccountSecurityApiKeysParam(/* args */); +client.auth().deleteAuthAccountSecurityDevicesParam(/* args */); +client.auth().deleteAuthAccountSessionsParam(/* args */); +client.auth().deleteAuthAdminUsersParam(/* args */); +client.auth().deleteAuthAdminUsersParamFactorsParam(/* args */); +client.auth().deleteAuthFactorsParam(/* args */); +client.auth().deleteAuthUserIdentitiesParam(/* args */); +client.auth().getAuthAccountAuditLog(/* args */); +client.auth().getAuthAccountMfa(/* args */); +client.auth().getAuthAccountMfaParam(/* args */); +client.auth().getAuthAccountProfile(/* args */); +client.auth().getAuthAccountSecurityApiKeys(/* args */); +client.auth().getAuthAccountSecurityApiKeysParam(/* args */); +client.auth().getAuthAccountSecurityDevices(/* args */); +client.auth().getAuthAccountSecurityDevicesParam(/* args */); +client.auth().getAuthAccountSessions(/* args */); +client.auth().getAuthAdminUsers(/* args */); +client.auth().getAuthAdminUsersParam(/* args */); +client.auth().getAuthAdminUsersParamFactors(/* args */); +client.auth().getAuthAuthSession(/* args */); +client.auth().getAuthFactors(/* args */); +client.auth().getAuthMfaStatus(/* args */); +client.auth().getAuthUser(/* args */); +client.auth().getAuthUserIdentities(/* args */); +client.auth().postAuthAccountMfa(/* args */); +client.auth().postAuthAccountMfaParamChallenge(/* args */); +client.auth().postAuthAccountMfaParamVerify(/* args */); +client.auth().postAuthAccountPassword(/* args */); +client.auth().postAuthAccountSecurityApiKeys(/* args */); +client.auth().postAuthAccountSecurityDevices(/* args */); +client.auth().postAuthAccountSecurityDevicesParamTrust(/* args */); +client.auth().postAuthAccountSessionsParamExtend(/* args */); +client.auth().postAuthAdminGenerateLink(/* args */); +client.auth().postAuthAdminLogout(/* args */); +client.auth().postAuthAdminUsers(/* args */); +client.auth().postAuthAuthSession(/* args */); +client.auth().postAuthAuthorize(/* args */); +client.auth().postAuthFactors(/* args */); +client.auth().postAuthFactorsParamChallenge(/* args */); +client.auth().postAuthFactorsParamVerify(/* args */); +client.auth().postAuthInvite(/* args */); +client.auth().postAuthLogin(/* args */); +client.auth().postAuthLogout(/* args */); +client.auth().postAuthMfaBackupCodesRegenerate(/* args */); +client.auth().postAuthMfaDisable(/* args */); +client.auth().postAuthMfaEnable(/* args */); +client.auth().postAuthMfaSetup(/* args */); +client.auth().postAuthMfaVerify(/* args */); +client.auth().postAuthOtp(/* args */); +client.auth().postAuthReauthenticate(/* args */); +client.auth().postAuthRecover(/* args */); +client.auth().postAuthResend(/* args */); +client.auth().postAuthSignup(/* args */); +client.auth().postAuthSso(/* args */); +client.auth().postAuthTokenGrantTypeIdToken(/* args */); +client.auth().postAuthTokenGrantTypePassword(/* args */); +client.auth().postAuthTokenGrantTypePkce(/* args */); +client.auth().postAuthTokenGrantTypeRefreshToken(/* args */); +client.auth().postAuthUserIdentities(/* args */); +client.auth().postAuthVerify(/* args */); +client.auth().putAuthAccountProfile(/* args */); +client.auth().putAuthAccountSecurityApiKeysParam(/* args */); +client.auth().putAuthAdminUsersParam(/* args */); +client.auth().putAuthUser(/* args */); +``` + +Full signatures: [auth](./auth.md). + +## billing + +```java +client.billing().getBillingAddonsParamEntitlements(/* args */); +client.billing().getBillingCustomersPortalParam(/* args */); +client.billing().getBillingCustomersParamEntitlements(/* args */); +client.billing().getBillingCustomersParamInvoicesSummary(/* args */); +client.billing().getBillingCustomersParamUsage(/* args */); +client.billing().getBillingCustomersParamWallets(/* args */); +client.billing().getBillingPlansParamEntitlements(/* args */); +client.billing().getBillingPricesLookupParam(/* args */); +client.billing().getBillingSubscriptionsParamEntitlements(/* args */); +client.billing().getBillingWalletsParamBalanceRealTime(/* args */); +client.billing().getBillingWalletsParamTransactions(/* args */); +client.billing().getrawBillingInvoicesParamPdf(/* args */); +client.billing().postBillingInvoicesPreview(/* args */); +client.billing().postBillingInvoicesParamFinalize(/* args */); +client.billing().postBillingInvoicesParamVoid(/* args */); +client.billing().postBillingMetersParamDisable(/* args */); +client.billing().postBillingPlansParamClone(/* args */); +client.billing().postBillingSubscriptionsParamActivate(/* args */); +client.billing().postBillingSubscriptionsParamCancel(/* args */); +client.billing().postBillingSubscriptionsParamPause(/* args */); +client.billing().postBillingSubscriptionsParamResume(/* args */); +client.billing().postBillingWalletsParamTerminate(/* args */); +client.billing().postBillingWalletsParamTopUp(/* args */); +``` + +Full signatures: [billing](./billing.md). + +## blob + +```java +client.blob().deleteBlobObjectParamParam(/* args */); +client.blob().getBlobObjectInfoParamParam(/* args */); +client.blob().getBlobObjectParamParam(/* args */); +client.blob().postBlobObjectCopy(/* args */); +client.blob().postBlobObjectListParam(/* args */); +client.blob().postBlobObjectMove(/* args */); +client.blob().postBlobObjectSignParamParam(/* args */); +client.blob().postformdataBlobObjectParamParam(/* args */); +``` + +Full signatures: [blob](./blob.md). + +## connection-tests + +```java +client.connectionTests().getConnectionTestsConnectionTestId(/* args */); +``` + +Full signatures: [connection-tests](./connection-tests.md). + +## connectors + +```java +client.connectors().deleteConnectorsInstallationsParam(/* args */); +client.connectors().getConnectorsCatalog(/* args */); +client.connectors().getConnectorsCatalogParam(/* args */); +client.connectors().getConnectorsConnectionTestsParam(/* args */); +client.connectors().getConnectorsInstallations(/* args */); +client.connectors().getConnectorsInstallationsParam(/* args */); +client.connectors().getDiagnostics(/* args */); +client.connectors().patchConnectorsInstallationsParam(/* args */); +client.connectors().postConnectorsInstallations(/* args */); +client.connectors().postConnectorsInstallationsParamPause(/* args */); +client.connectors().postConnectorsInstallationsParamResume(/* args */); +client.connectors().postConnectorsSyncRunsParamReplay(/* args */); +``` + +Full signatures: [connectors](./connectors.md). + +## data + +```java +client.data().getDataAggregationsAggregations(/* args */); +client.data().getDataAggregationsAggregationsAggregationId(/* args */); +client.data().getDataAggregationsCapabilities(/* args */); +client.data().getDataAggregationsHealth(/* args */); +client.data().getDataAggregationsInfo(/* args */); +client.data().getDataAggregationsRuns(/* args */); +client.data().getDataAggregationsRunsRunId(/* args */); +client.data().getDataArchivalArchivalPolicies(/* args */); +client.data().getDataArchivalArchivalPoliciesPolicyId(/* args */); +client.data().getDataArchivalCapabilities(/* args */); +client.data().getDataArchivalHealth(/* args */); +client.data().getDataArchivalInfo(/* args */); +client.data().getDataArchivalRuns(/* args */); +client.data().getDataArchivalRunsRunId(/* args */); +client.data().getDataCatalogCapabilities(/* args */); +client.data().getDataCatalogCatalogDatasets(/* args */); +client.data().getDataCatalogCatalogDatasetsDatasetId(/* args */); +client.data().getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent(/* args */); +client.data().getDataCatalogCatalogSources(/* args */); +client.data().getDataCatalogCatalogSourcesSourceId(/* args */); +client.data().getDataCatalogHealth(/* args */); +client.data().getDataCatalogInfo(/* args */); +client.data().getDataCatalogRuns(/* args */); +client.data().getDataCatalogRunsRunId(/* args */); +client.data().getDataEnrichmentCapabilities(/* args */); +client.data().getDataEnrichmentEnrichmentProfiles(/* args */); +client.data().getDataEnrichmentEnrichmentProfilesProfileId(/* args */); +client.data().getDataEnrichmentHealth(/* args */); +client.data().getDataEnrichmentInfo(/* args */); +client.data().getDataEnrichmentRuns(/* args */); +client.data().getDataEnrichmentRunsRunId(/* args */); +client.data().getDataExportsCapabilities(/* args */); +client.data().getDataExportsExports(/* args */); +client.data().getDataExportsExportsExportId(/* args */); +client.data().getDataExportsHealth(/* args */); +client.data().getDataExportsInfo(/* args */); +client.data().getDataExportsRuns(/* args */); +client.data().getDataExportsRunsRunId(/* args */); +client.data().getDataIngestCapabilities(/* args */); +client.data().getDataIngestDatasets(/* args */); +client.data().getDataIngestDatasetsDatasetId(/* args */); +client.data().getDataIngestDatasetsDatasetIdArtifactsManifestIdContent(/* args */); +client.data().getDataIngestHealth(/* args */); +client.data().getDataIngestInfo(/* args */); +client.data().getDataIngestRuns(/* args */); +client.data().getDataIngestRunsRunId(/* args */); +client.data().getDataIngestSchemas(/* args */); +client.data().getDataIngestSchemasSchemaRef(/* args */); +client.data().getDataNormalizationCapabilities(/* args */); +client.data().getDataNormalizationHealth(/* args */); +client.data().getDataNormalizationInfo(/* args */); +client.data().getDataNormalizationNormalizationProfiles(/* args */); +client.data().getDataNormalizationNormalizationProfilesProfileId(/* args */); +client.data().getDataNormalizationRuns(/* args */); +client.data().getDataNormalizationRunsRunId(/* args */); +client.data().getDataPipelinesCapabilities(/* args */); +client.data().getDataPipelinesHealth(/* args */); +client.data().getDataPipelinesInfo(/* args */); +client.data().getDataPipelinesPipelineRuns(/* args */); +client.data().getDataPipelinesPipelineRunsRunId(/* args */); +client.data().getDataPipelinesPipelines(/* args */); +client.data().getDataPipelinesPipelinesDefinitionId(/* args */); +client.data().getDataPipelinesRuns(/* args */); +client.data().getDataPipelinesRunsRunId(/* args */); +client.data().getDataQualityCapabilities(/* args */); +client.data().getDataQualityHealth(/* args */); +client.data().getDataQualityInfo(/* args */); +client.data().getDataQualityQualityRulesets(/* args */); +client.data().getDataQualityQualityRulesetsRulesetId(/* args */); +client.data().getDataQualityRuns(/* args */); +client.data().getDataQualityRunsRunId(/* args */); +client.data().getDataQueryCapabilities(/* args */); +client.data().getDataQueryHealth(/* args */); +client.data().getDataQueryInfo(/* args */); +client.data().getDataQueryRuns(/* args */); +client.data().getDataQueryRunsRunId(/* args */); +client.data().getDataSchemasCapabilities(/* args */); +client.data().getDataSchemasHealth(/* args */); +client.data().getDataSchemasInfo(/* args */); +client.data().getDataSchemasRuns(/* args */); +client.data().getDataSchemasRunsRunId(/* args */); +client.data().getDataSchemasSchemas(/* args */); +client.data().getDataSchemasSchemasSchemaRef(/* args */); +client.data().getDataServingCapabilities(/* args */); +client.data().getDataServingHealth(/* args */); +client.data().getDataServingInfo(/* args */); +client.data().getDataServingRuns(/* args */); +client.data().getDataServingRunsRunId(/* args */); +client.data().getDataServingServingProducts(/* args */); +client.data().getDataServingServingProductsProductId(/* args */); +client.data().getDataStreamsCapabilities(/* args */); +client.data().getDataStreamsHealth(/* args */); +client.data().getDataStreamsInfo(/* args */); +client.data().getDataStreamsRuns(/* args */); +client.data().getDataStreamsRunsRunId(/* args */); +client.data().getDataStreamsStreams(/* args */); +client.data().getDataStreamsStreamsStreamId(/* args */); +client.data().getDataSyncCapabilities(/* args */); +client.data().getDataSyncHealth(/* args */); +client.data().getDataSyncInfo(/* args */); +client.data().getDataSyncRuns(/* args */); +client.data().getDataSyncRunsRunId(/* args */); +client.data().getDataSyncSyncJobs(/* args */); +client.data().getDataSyncSyncJobsJobId(/* args */); +client.data().getDataTransformationsCapabilities(/* args */); +client.data().getDataTransformationsHealth(/* args */); +client.data().getDataTransformationsInfo(/* args */); +client.data().getDataTransformationsRuns(/* args */); +client.data().getDataTransformationsRunsRunId(/* args */); +client.data().getDataTransformationsTransformations(/* args */); +client.data().getDataTransformationsTransformationsTransformationId(/* args */); +client.data().postDataAggregationsAggregations(/* args */); +client.data().postDataAggregationsAggregationsAggregationIdExecutions(/* args */); +client.data().postDataAggregationsRuns(/* args */); +client.data().postDataArchivalArchivalPolicies(/* args */); +client.data().postDataArchivalArchivalPoliciesPolicyIdExecutions(/* args */); +client.data().postDataArchivalRuns(/* args */); +client.data().postDataCatalogRuns(/* args */); +client.data().postDataEnrichmentEnrichmentProfiles(/* args */); +client.data().postDataEnrichmentEnrichmentProfilesProfileIdExecutions(/* args */); +client.data().postDataEnrichmentRuns(/* args */); +client.data().postDataExportsExports(/* args */); +client.data().postDataExportsExportsExportIdExecutions(/* args */); +client.data().postDataExportsRuns(/* args */); +client.data().postDataIngestDatasetsIngest(/* args */); +client.data().postDataIngestRuns(/* args */); +client.data().postDataNormalizationNormalizationProfiles(/* args */); +client.data().postDataNormalizationNormalizationProfilesProfileIdExecutions(/* args */); +client.data().postDataNormalizationRuns(/* args */); +client.data().postDataPipelinesPipelines(/* args */); +client.data().postDataPipelinesRuns(/* args */); +client.data().postDataQualityQualityRulesets(/* args */); +client.data().postDataQualityQualityRulesetsRulesetIdEvaluations(/* args */); +client.data().postDataQualityRuns(/* args */); +client.data().postDataQueryQueryFederated(/* args */); +client.data().postDataQueryRuns(/* args */); +client.data().postDataSchemasRuns(/* args */); +client.data().postDataSchemasSchemas(/* args */); +client.data().postDataSchemasSchemasResolve(/* args */); +client.data().postDataServingRuns(/* args */); +client.data().postDataServingServingProducts(/* args */); +client.data().postDataServingServingProductsProductIdRefreshes(/* args */); +client.data().postDataStreamsRuns(/* args */); +client.data().postDataStreamsStreams(/* args */); +client.data().postDataStreamsStreamsStreamIdDeliveries(/* args */); +client.data().postDataSyncRuns(/* args */); +client.data().postDataSyncSyncJobs(/* args */); +client.data().postDataSyncSyncJobsJobIdExecutions(/* args */); +client.data().postDataTransformationsRuns(/* args */); +client.data().postDataTransformationsTransformations(/* args */); +client.data().postDataTransformationsTransformationsTransformationIdExecutions(/* args */); +``` + +Full signatures: [data](./data.md). + +## events + +```java +client.events().getEvents(/* args */); +client.events().getEventsMonitoring(/* args */); +client.events().getEventsId(/* args */); +client.events().postEvents(/* args */); +client.events().postEventsAnalytics(/* args */); +client.events().postEventsAnalyticsV2(/* args */); +client.events().postEventsBenchmarkV1(/* args */); +client.events().postEventsBenchmarkV2(/* args */); +client.events().postEventsBulk(/* args */); +client.events().postEventsHuggingfaceBilling(/* args */); +client.events().postEventsQuery(/* args */); +client.events().postEventsRawReprocessAll(/* args */); +client.events().postEventsRawReprocessPending(/* args */); +client.events().postEventsReprocess(/* args */); +client.events().postEventsReprocessInternal(/* args */); +client.events().postEventsUsage(/* args */); +client.events().postEventsUsageMeter(/* args */); +``` + +Full signatures: [events](./events.md). + +## governance + +```java +client.governance().deletePoliciesParam(/* args */); +client.governance().deleteRolesParam(/* args */); +client.governance().getComplianceAssessments(/* args */); +client.governance().getComplianceAssessmentsParam(/* args */); +client.governance().getComplianceFrameworks(/* args */); +client.governance().getComplianceScore(/* args */); +client.governance().getComplianceViolations(/* args */); +client.governance().getPermissions(/* args */); +client.governance().getPermissionsParam(/* args */); +client.governance().getPolicies(/* args */); +client.governance().getPoliciesTemplates(/* args */); +client.governance().getPoliciesParam(/* args */); +client.governance().getPoliciesParamVersions(/* args */); +client.governance().getRoles(/* args */); +client.governance().getRolesParam(/* args */); +client.governance().postAccessCheck(/* args */); +client.governance().postComplianceAssessments(/* args */); +client.governance().postComplianceViolationsParamResolve(/* args */); +client.governance().postPermissions(/* args */); +client.governance().postPolicies(/* args */); +client.governance().postPoliciesFromTemplate(/* args */); +client.governance().postPoliciesValidate(/* args */); +client.governance().postRoles(/* args */); +client.governance().putPoliciesParam(/* args */); +``` + +Full signatures: [governance](./governance.md). + +## invocations + +```java +client.invocations().postInvocations(/* args */); +``` + +Full signatures: [invocations](./invocations.md). + +## lineage + +```java +client.lineage().getLineageEdges(/* args */); +client.lineage().getLineageEdgesParam(/* args */); +client.lineage().getLineageGraph(/* args */); +client.lineage().getLineageNodes(/* args */); +client.lineage().getLineageNodesParam(/* args */); +client.lineage().getLineageNodesParamTrace(/* args */); +client.lineage().postLineageImpact(/* args */); +``` + +Full signatures: [lineage](./lineage.md). + +## observability + +```java +client.observability().deleteObservabilityAlertsRulesRuleId(/* args */); +client.observability().deleteObservabilityAlertsParam(/* args */); +client.observability().deleteObservabilityDashboardsParam(/* args */); +client.observability().getObservabilityAlerts(/* args */); +client.observability().getObservabilityAlertsIncidents(/* args */); +client.observability().getObservabilityAlertsRules(/* args */); +client.observability().getObservabilityAlertsRulesRuleId(/* args */); +client.observability().getObservabilityDashboards(/* args */); +client.observability().getObservabilityDashboardsParam(/* args */); +client.observability().getObservabilityEventsStats(/* args */); +client.observability().getObservabilityMetrics(/* args */); +client.observability().getObservabilityMetricsList(/* args */); +client.observability().getObservabilityTraces(/* args */); +client.observability().getObservabilityTracesParam(/* args */); +client.observability().postObservabilityAlerts(/* args */); +client.observability().postObservabilityAlertsRules(/* args */); +client.observability().postObservabilityAlertsRulesRuleIdToggle(/* args */); +client.observability().postObservabilityAlertsParamDisable(/* args */); +client.observability().postObservabilityAlertsParamEnable(/* args */); +client.observability().postObservabilityDashboards(/* args */); +client.observability().postObservabilityDashboardsParamShare(/* args */); +client.observability().postObservabilityEvents(/* args */); +client.observability().postObservabilityEventsBatch(/* args */); +client.observability().postObservabilityLogsIngest(/* args */); +client.observability().postObservabilityLogsQuery(/* args */); +client.observability().postObservabilityMetricsIngest(/* args */); +client.observability().postObservabilityTracesQuery(/* args */); +client.observability().putObservabilityAlertsRulesRuleId(/* args */); +client.observability().putObservabilityAlertsParam(/* args */); +client.observability().putObservabilityDashboardsParam(/* args */); +client.observability().streamObservabilityLogsStream(/* args */); +client.observability().streamObservabilityLogsStreamBlocking(/* args */); +``` + +Full signatures: [observability](./observability.md). + +## ontology + +```java +client.ontology().deleteOntologyObjectsObjectTypesObjectTypeId(/* args */); +client.ontology().deleteOntologyObjectsObjectsObjectId(/* args */); +client.ontology().deleteOntologyReasoningRulesRuleId(/* args */); +client.ontology().deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId(/* args */); +client.ontology().deleteOntologyRelationshipsRelationshipsRelationshipId(/* args */); +client.ontology().deleteOntologyRolloutsRolloutsRolloutId(/* args */); +client.ontology().deleteOntologyRollupsRollupsRollupId(/* args */); +client.ontology().deleteOntologySchemasSchemasSchemaId(/* args */); +client.ontology().deleteOntologyValidationRulesRuleId(/* args */); +client.ontology().deleteOntologyVersionsVersionsVersionId(/* args */); +client.ontology().getOntologyEngineCapabilities(/* args */); +client.ontology().getOntologyEngineHealth(/* args */); +client.ontology().getOntologyEngineInfo(/* args */); +client.ontology().getOntologyEngineRuns(/* args */); +client.ontology().getOntologyEngineRunsRunId(/* args */); +client.ontology().getOntologyEventsCapabilities(/* args */); +client.ontology().getOntologyEventsEvents(/* args */); +client.ontology().getOntologyEventsEventsCheckpointsConsumer(/* args */); +client.ontology().getOntologyEventsEventsEventId(/* args */); +client.ontology().getOntologyEventsHealth(/* args */); +client.ontology().getOntologyEventsInfo(/* args */); +client.ontology().getOntologyEventsRuns(/* args */); +client.ontology().getOntologyEventsRunsRunId(/* args */); +client.ontology().getOntologyExtractCapabilities(/* args */); +client.ontology().getOntologyExtractHealth(/* args */); +client.ontology().getOntologyExtractInfo(/* args */); +client.ontology().getOntologyExtractRuns(/* args */); +client.ontology().getOntologyExtractRunsRunId(/* args */); +client.ontology().getOntologyGraphCapabilities(/* args */); +client.ontology().getOntologyGraphEntitiesEntityId(/* args */); +client.ontology().getOntologyGraphEntitiesEntityIdProvenance(/* args */); +client.ontology().getOntologyGraphHealth(/* args */); +client.ontology().getOntologyGraphInfo(/* args */); +client.ontology().getOntologyGraphRelationshipsRelationshipId(/* args */); +client.ontology().getOntologyGraphRuns(/* args */); +client.ontology().getOntologyGraphRunsRunId(/* args */); +client.ontology().getOntologyObjectsCapabilities(/* args */); +client.ontology().getOntologyObjectsHealth(/* args */); +client.ontology().getOntologyObjectsInfo(/* args */); +client.ontology().getOntologyObjectsObjectTypes(/* args */); +client.ontology().getOntologyObjectsObjectTypesObjectTypeId(/* args */); +client.ontology().getOntologyObjectsObjects(/* args */); +client.ontology().getOntologyObjectsObjectsObjectId(/* args */); +client.ontology().getOntologyObjectsRuns(/* args */); +client.ontology().getOntologyObjectsRunsRunId(/* args */); +client.ontology().getOntologyReasoningCapabilities(/* args */); +client.ontology().getOntologyReasoningHealth(/* args */); +client.ontology().getOntologyReasoningInfo(/* args */); +client.ontology().getOntologyReasoningRules(/* args */); +client.ontology().getOntologyReasoningRuns(/* args */); +client.ontology().getOntologyReasoningRunsRunId(/* args */); +client.ontology().getOntologyRelationshipsCapabilities(/* args */); +client.ontology().getOntologyRelationshipsHealth(/* args */); +client.ontology().getOntologyRelationshipsInfo(/* args */); +client.ontology().getOntologyRelationshipsRelationshipTypes(/* args */); +client.ontology().getOntologyRelationshipsRelationships(/* args */); +client.ontology().getOntologyRelationshipsRelationshipsRelationshipId(/* args */); +client.ontology().getOntologyRelationshipsRuns(/* args */); +client.ontology().getOntologyRelationshipsRunsRunId(/* args */); +client.ontology().getOntologyRolloutsCapabilities(/* args */); +client.ontology().getOntologyRolloutsHealth(/* args */); +client.ontology().getOntologyRolloutsInfo(/* args */); +client.ontology().getOntologyRolloutsRollouts(/* args */); +client.ontology().getOntologyRolloutsRolloutsRolloutId(/* args */); +client.ontology().getOntologyRolloutsRolloutsRolloutIdStatus(/* args */); +client.ontology().getOntologyRolloutsRuns(/* args */); +client.ontology().getOntologyRolloutsRunsRunId(/* args */); +client.ontology().getOntologyRollupsCapabilities(/* args */); +client.ontology().getOntologyRollupsHealth(/* args */); +client.ontology().getOntologyRollupsInfo(/* args */); +client.ontology().getOntologyRollupsRollupResultsExecutionId(/* args */); +client.ontology().getOntologyRollupsRollups(/* args */); +client.ontology().getOntologyRollupsRollupsRollupId(/* args */); +client.ontology().getOntologyRollupsRollupsRollupIdResult(/* args */); +client.ontology().getOntologyRollupsRuns(/* args */); +client.ontology().getOntologyRollupsRunsRunId(/* args */); +client.ontology().getOntologySchemasCapabilities(/* args */); +client.ontology().getOntologySchemasHealth(/* args */); +client.ontology().getOntologySchemasInfo(/* args */); +client.ontology().getOntologySchemasRuns(/* args */); +client.ontology().getOntologySchemasRunsRunId(/* args */); +client.ontology().getOntologySchemasSchemas(/* args */); +client.ontology().getOntologySchemasSchemasSchemaId(/* args */); +client.ontology().getOntologyTransformationsCapabilities(/* args */); +client.ontology().getOntologyTransformationsHealth(/* args */); +client.ontology().getOntologyTransformationsInfo(/* args */); +client.ontology().getOntologyTransformationsRuns(/* args */); +client.ontology().getOntologyTransformationsRunsRunId(/* args */); +client.ontology().getOntologyValidationCapabilities(/* args */); +client.ontology().getOntologyValidationHealth(/* args */); +client.ontology().getOntologyValidationInfo(/* args */); +client.ontology().getOntologyValidationRules(/* args */); +client.ontology().getOntologyValidationRulesRuleId(/* args */); +client.ontology().getOntologyValidationRuns(/* args */); +client.ontology().getOntologyValidationRunsRunId(/* args */); +client.ontology().getOntologyVersionsCapabilities(/* args */); +client.ontology().getOntologyVersionsHealth(/* args */); +client.ontology().getOntologyVersionsInfo(/* args */); +client.ontology().getOntologyVersionsReleaseBundles(/* args */); +client.ontology().getOntologyVersionsReleaseBundlesBundleId(/* args */); +client.ontology().getOntologyVersionsRuns(/* args */); +client.ontology().getOntologyVersionsRunsRunId(/* args */); +client.ontology().getOntologyVersionsVersionsVersionId(/* args */); +client.ontology().postOntologyEngineOntologiesCompareVersions(/* args */); +client.ontology().postOntologyEngineOntologiesExport(/* args */); +client.ontology().postOntologyEngineOntologiesExportShacl(/* args */); +client.ontology().postOntologyEngineOntologiesGenerate(/* args */); +client.ontology().postOntologyEngineOntologiesInferClasses(/* args */); +client.ontology().postOntologyEngineOntologiesInferProperties(/* args */); +client.ontology().postOntologyEngineOntologiesValidate(/* args */); +client.ontology().postOntologyEngineRuns(/* args */); +client.ontology().postOntologyEventsEvents(/* args */); +client.ontology().postOntologyEventsEventsCheckpoints(/* args */); +client.ontology().postOntologyEventsEventsLeasesAcknowledge(/* args */); +client.ontology().postOntologyEventsEventsLeasesAcquire(/* args */); +client.ontology().postOntologyEventsRuns(/* args */); +client.ontology().postOntologyExtractExtractAnalyze(/* args */); +client.ontology().postOntologyExtractExtractArchitecture(/* args */); +client.ontology().postOntologyExtractExtractCoreferences(/* args */); +client.ontology().postOntologyExtractExtractEntities(/* args */); +client.ontology().postOntologyExtractExtractEvents(/* args */); +client.ontology().postOntologyExtractExtractRelations(/* args */); +client.ontology().postOntologyExtractExtractTriplets(/* args */); +client.ontology().postOntologyExtractRuns(/* args */); +client.ontology().postOntologyGraphGraphAnalyze(/* args */); +client.ontology().postOntologyGraphGraphBuild(/* args */); +client.ontology().postOntologyGraphGraphBulkRead(/* args */); +client.ontology().postOntologyGraphGraphNeighborhood(/* args */); +client.ontology().postOntologyGraphGraphPath(/* args */); +client.ontology().postOntologyGraphGraphQuery(/* args */); +client.ontology().postOntologyGraphRuns(/* args */); +client.ontology().postOntologyObjectsRuns(/* args */); +client.ontology().postOntologyReasoningExplain(/* args */); +client.ontology().postOntologyReasoningFacts(/* args */); +client.ontology().postOntologyReasoningFactsLoadGraph(/* args */); +client.ontology().postOntologyReasoningReasonBackward(/* args */); +client.ontology().postOntologyReasoningReasonForward(/* args */); +client.ontology().postOntologyReasoningRules(/* args */); +client.ontology().postOntologyReasoningRuns(/* args */); +client.ontology().postOntologyRelationshipsRuns(/* args */); +client.ontology().postOntologyRolloutsRollouts(/* args */); +client.ontology().postOntologyRolloutsRolloutsRolloutIdPause(/* args */); +client.ontology().postOntologyRolloutsRolloutsRolloutIdResume(/* args */); +client.ontology().postOntologyRolloutsRolloutsRolloutIdRollback(/* args */); +client.ontology().postOntologyRolloutsRolloutsRolloutIdStart(/* args */); +client.ontology().postOntologyRolloutsRuns(/* args */); +client.ontology().postOntologyRollupsRollups(/* args */); +client.ontology().postOntologyRollupsRollupsRollupIdExecute(/* args */); +client.ontology().postOntologyRollupsRollupsRollupIdPreview(/* args */); +client.ontology().postOntologyRollupsRuns(/* args */); +client.ontology().postOntologySchemasRuns(/* args */); +client.ontology().postOntologySchemasSchemas(/* args */); +client.ontology().postOntologySchemasSchemasValidate(/* args */); +client.ontology().postOntologyTransformationsRuns(/* args */); +client.ontology().postOntologyTransformationsTransformations(/* args */); +client.ontology().postOntologyValidationPayloadsValidate(/* args */); +client.ontology().postOntologyValidationRules(/* args */); +client.ontology().postOntologyValidationRuns(/* args */); +client.ontology().postOntologyVersionsAuditVerify(/* args */); +client.ontology().postOntologyVersionsReleaseBundles(/* args */); +client.ontology().postOntologyVersionsRuns(/* args */); +client.ontology().postOntologyVersionsVersions(/* args */); +client.ontology().postOntologyVersionsVersionsCompare(/* args */); +client.ontology().putOntologyGraphEntitiesEntityId(/* args */); +client.ontology().putOntologyGraphRelationshipsRelationshipId(/* args */); +client.ontology().putOntologyObjectsObjectTypesObjectTypeId(/* args */); +client.ontology().putOntologyObjectsObjectsObjectId(/* args */); +client.ontology().putOntologyReasoningRulesRuleId(/* args */); +client.ontology().putOntologyRelationshipsRelationshipsRelationshipId(/* args */); +client.ontology().putOntologyRolloutsRolloutsRolloutId(/* args */); +client.ontology().putOntologyRollupsRollupsRollupId(/* args */); +``` + +Full signatures: [ontology](./ontology.md). + +## pipelines + +```java +client.pipelines().getDataPipelinesCapabilities(/* args */); +client.pipelines().getDataPipelinesHealth(/* args */); +client.pipelines().getDataPipelinesInfo(/* args */); +client.pipelines().getDataPipelinesPipelineRuns(/* args */); +client.pipelines().getDataPipelinesPipelineRunsParam(/* args */); +client.pipelines().getDataPipelinesPipelines(/* args */); +client.pipelines().getDataPipelinesPipelinesParam(/* args */); +client.pipelines().getDataPipelinesRuns(/* args */); +client.pipelines().postDataPipelinesPipelines(/* args */); +client.pipelines().postDataPipelinesRuns(/* args */); +client.pipelines().streamDataPipelinesPipelineRunsParam(/* args */); +client.pipelines().streamDataPipelinesPipelineRunsParamBlocking(/* args */); +``` + +Full signatures: [pipelines](./pipelines.md). + +## providers + +```java +client.providers().getProvidersProviderSlug(/* args */); +``` + +Full signatures: [providers](./providers.md). + +## sandbox + +```java +client.sandbox().getSandboxLanguages(/* args */); +client.sandbox().postSandboxSelfTest(/* args */); +client.sandbox().postSandboxSubmit(/* args */); +``` + +Full signatures: [sandbox](./sandbox.md). + +## schedules + +```java +client.schedules().deleteWorkflowsSchedulesParam(/* args */); +client.schedules().getWorkflowsSchedules(/* args */); +client.schedules().getWorkflowsSchedulesParam(/* args */); +client.schedules().patchWorkflowsSchedulesParam(/* args */); +client.schedules().postWorkflowsCronParse(/* args */); +client.schedules().postWorkflowsCronValidate(/* args */); +client.schedules().postWorkflowsSchedules(/* args */); +client.schedules().postWorkflowsSchedulesParamPause(/* args */); +client.schedules().postWorkflowsSchedulesParamResume(/* args */); +client.schedules().postWorkflowsSchedulesParamTrigger(/* args */); +``` + +Full signatures: [schedules](./schedules.md). + +## webhook-endpoints + +```java +client.webhookEndpoints().deleteWebhookEndpointsId(/* args */); +client.webhookEndpoints().getWebhookEndpoints(/* args */); +client.webhookEndpoints().getWebhookEndpointsId(/* args */); +client.webhookEndpoints().getWebhookEndpointsIdDeliveries(/* args */); +client.webhookEndpoints().patchWebhookEndpointsId(/* args */); +client.webhookEndpoints().postWebhookEndpoints(/* args */); +client.webhookEndpoints().postWebhookEndpointsIdRotateSecret(/* args */); +``` + +Full signatures: [webhook-endpoints](./webhook-endpoints.md). + +## webhooks + +```java +client.webhooks().deleteWebhooksParam(/* args */); +client.webhooks().getWebhooks(/* args */); +client.webhooks().getWebhooksDeliveries(/* args */); +client.webhooks().getWebhooksDeliveriesParam(/* args */); +client.webhooks().getWebhooksStats(/* args */); +client.webhooks().getWebhooksParam(/* args */); +client.webhooks().postWebhooks(/* args */); +client.webhooks().postWebhooksDeliveriesParamRetry(/* args */); +client.webhooks().postWebhooksParamRotateSecret(/* args */); +client.webhooks().putWebhooksParam(/* args */); +``` + +Full signatures: [webhooks](./webhooks.md). + +## workflows + +```java +client.workflows().deleteWorkflowsParam(/* args */); +client.workflows().getWorkflows(/* args */); +client.workflows().getWorkflowsApprovals(/* args */); +client.workflows().getWorkflowsApprovalsParam(/* args */); +client.workflows().getWorkflowsExecutions(/* args */); +client.workflows().getWorkflowsExecutionsParam(/* args */); +client.workflows().getWorkflowsExecutionsParamTasks(/* args */); +client.workflows().getWorkflowsRunsParamSteps(/* args */); +client.workflows().getWorkflowsTasksParam(/* args */); +client.workflows().getWorkflowsTemplates(/* args */); +client.workflows().getWorkflowsTemplatesParam(/* args */); +client.workflows().getWorkflowsParam(/* args */); +client.workflows().getWorkflowsWorkflowIdRunId(/* args */); +client.workflows().getWorkflowsWorkflowIdRunIdSummary(/* args */); +client.workflows().getWorkflowsWorkflowIdRunIdTimeline(/* args */); +client.workflows().patchWorkflowsParam(/* args */); +client.workflows().postWorkflows(/* args */); +client.workflows().postWorkflowsApprovalsParamApprove(/* args */); +client.workflows().postWorkflowsApprovalsParamReject(/* args */); +client.workflows().postWorkflowsBatch(/* args */); +client.workflows().postWorkflowsExecutions(/* args */); +client.workflows().postWorkflowsSearch(/* args */); +client.workflows().postWorkflowsTasksParamCancel(/* args */); +client.workflows().postWorkflowsTasksParamRetry(/* args */); +client.workflows().postWorkflowsTemplates(/* args */); +client.workflows().postWorkflowsTemplatesParamInstantiate(/* args */); +client.workflows().postWorkflowsParamArchive(/* args */); +client.workflows().postWorkflowsParamPublish(/* args */); +client.workflows().postWorkflowsParamRestore(/* args */); +client.workflows().postWorkflowsParamVersions(/* args */); +``` + +Full signatures: [workflows](./workflows.md). diff --git a/docs/api/observability.md b/docs/api/observability.md new file mode 100644 index 0000000..0590bc2 --- /dev/null +++ b/docs/api/observability.md @@ -0,0 +1,73 @@ +# Observability API + +Service accessor: `frontal.observability()` (`ObservabilityClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteObservabilityAlertsRulesRuleId(...)` | `DELETE` | `/observability/alerts/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | +| `deleteObservabilityAlertsRulesRuleId(...)` | `DELETE` | `/observability/alerts/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | +| `deleteObservabilityAlertsParam(...)` | `DELETE` | `/observability/alerts/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteObservabilityAlertsParam(...)` | `DELETE` | `/observability/alerts/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `deleteObservabilityDashboardsParam(...)` | `DELETE` | `/observability/dashboards/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteObservabilityDashboardsParam(...)` | `DELETE` | `/observability/dashboards/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityAlerts(...)` | `GET` | `/observability/alerts` | `query, Class responseType` | `@Nullable T` | +| `getObservabilityAlerts(...)` | `GET` | `/observability/alerts` | `query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityAlertsIncidents(...)` | `GET` | `/observability/alerts/incidents` | `query, Class responseType` | `@Nullable T` | +| `getObservabilityAlertsIncidents(...)` | `GET` | `/observability/alerts/incidents` | `query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityAlertsRules(...)` | `GET` | `/observability/alerts/rules` | `query, Class responseType` | `@Nullable T` | +| `getObservabilityAlertsRules(...)` | `GET` | `/observability/alerts/rules` | `query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityAlertsRulesRuleId(...)` | `GET` | `/observability/alerts/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | +| `getObservabilityAlertsRulesRuleId(...)` | `GET` | `/observability/alerts/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityDashboards(...)` | `GET` | `/observability/dashboards` | `query, Class responseType` | `@Nullable T` | +| `getObservabilityDashboards(...)` | `GET` | `/observability/dashboards` | `query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityDashboardsParam(...)` | `GET` | `/observability/dashboards/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getObservabilityDashboardsParam(...)` | `GET` | `/observability/dashboards/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityEventsStats(...)` | `GET` | `/observability/events/stats` | `query, Class responseType` | `@Nullable T` | +| `getObservabilityEventsStats(...)` | `GET` | `/observability/events/stats` | `query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityMetrics(...)` | `GET` | `/observability/metrics` | `query, Class responseType` | `@Nullable T` | +| `getObservabilityMetrics(...)` | `GET` | `/observability/metrics` | `query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityMetricsList(...)` | `GET` | `/observability/metrics/list` | `query, Class responseType` | `@Nullable T` | +| `getObservabilityMetricsList(...)` | `GET` | `/observability/metrics/list` | `query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityTraces(...)` | `GET` | `/observability/traces` | `query, Class responseType` | `@Nullable T` | +| `getObservabilityTraces(...)` | `GET` | `/observability/traces` | `query, TypeReference responseType` | `@Nullable T` | +| `getObservabilityTracesParam(...)` | `GET` | `/observability/traces/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getObservabilityTracesParam(...)` | `GET` | `/observability/traces/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `postObservabilityAlerts(...)` | `POST` | `/observability/alerts` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityAlerts(...)` | `POST` | `/observability/alerts` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityAlertsRules(...)` | `POST` | `/observability/alerts/rules` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityAlertsRules(...)` | `POST` | `/observability/alerts/rules` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityAlertsRulesRuleIdToggle(...)` | `POST` | `/observability/alerts/rules/{param}/toggle` | `ruleId, query, body, Class responseType` | `@Nullable T` | +| `postObservabilityAlertsRulesRuleIdToggle(...)` | `POST` | `/observability/alerts/rules/{param}/toggle` | `ruleId, query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityAlertsParamDisable(...)` | `POST` | `/observability/alerts/{param}/disable` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postObservabilityAlertsParamDisable(...)` | `POST` | `/observability/alerts/{param}/disable` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityAlertsParamEnable(...)` | `POST` | `/observability/alerts/{param}/enable` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postObservabilityAlertsParamEnable(...)` | `POST` | `/observability/alerts/{param}/enable` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityDashboards(...)` | `POST` | `/observability/dashboards` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityDashboards(...)` | `POST` | `/observability/dashboards` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityDashboardsParamShare(...)` | `POST` | `/observability/dashboards/{param}/share` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postObservabilityDashboardsParamShare(...)` | `POST` | `/observability/dashboards/{param}/share` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityEvents(...)` | `POST` | `/observability/events` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityEvents(...)` | `POST` | `/observability/events` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityEventsBatch(...)` | `POST` | `/observability/events/batch` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityEventsBatch(...)` | `POST` | `/observability/events/batch` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityLogsIngest(...)` | `POST` | `/observability/logs/ingest` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityLogsIngest(...)` | `POST` | `/observability/logs/ingest` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityLogsQuery(...)` | `POST` | `/observability/logs/query` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityLogsQuery(...)` | `POST` | `/observability/logs/query` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityMetricsIngest(...)` | `POST` | `/observability/metrics/ingest` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityMetricsIngest(...)` | `POST` | `/observability/metrics/ingest` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postObservabilityTracesQuery(...)` | `POST` | `/observability/traces/query` | `query, body, Class responseType` | `@Nullable T` | +| `postObservabilityTracesQuery(...)` | `POST` | `/observability/traces/query` | `query, body, TypeReference responseType` | `@Nullable T` | +| `putObservabilityAlertsRulesRuleId(...)` | `PUT` | `/observability/alerts/rules/{param}` | `ruleId, query, body, Class responseType` | `@Nullable T` | +| `putObservabilityAlertsRulesRuleId(...)` | `PUT` | `/observability/alerts/rules/{param}` | `ruleId, query, body, TypeReference responseType` | `@Nullable T` | +| `putObservabilityAlertsParam(...)` | `PUT` | `/observability/alerts/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `putObservabilityAlertsParam(...)` | `PUT` | `/observability/alerts/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `putObservabilityDashboardsParam(...)` | `PUT` | `/observability/dashboards/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `putObservabilityDashboardsParam(...)` | `PUT` | `/observability/dashboards/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `streamObservabilityLogsStream(...)` | `STREAM` | `/observability/logs/stream` | `query` | `Flow.Publisher` | +| `streamObservabilityLogsStreamBlocking(...)` | `STREAM` | `/observability/logs/stream` | `query` | `SseEventIterator` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/ontology.md b/docs/api/ontology.md new file mode 100644 index 0000000..93fb36b --- /dev/null +++ b/docs/api/ontology.md @@ -0,0 +1,353 @@ +# Ontology API + +Service accessor: `frontal.ontology()` (`OntologyClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteOntologyObjectsObjectTypesObjectTypeId(...)` | `DELETE` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyObjectsObjectTypesObjectTypeId(...)` | `DELETE` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologyObjectsObjectsObjectId(...)` | `DELETE` | `/ontology/objects/objects/{param}` | `objectId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyObjectsObjectsObjectId(...)` | `DELETE` | `/ontology/objects/objects/{param}` | `objectId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologyReasoningRulesRuleId(...)` | `DELETE` | `/ontology/reasoning/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyReasoningRulesRuleId(...)` | `DELETE` | `/ontology/reasoning/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId(...)` | `DELETE` | `/ontology/relationships/relationship-types/{param}` | `relationshipTypeId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId(...)` | `DELETE` | `/ontology/relationships/relationship-types/{param}` | `relationshipTypeId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologyRelationshipsRelationshipsRelationshipId(...)` | `DELETE` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyRelationshipsRelationshipsRelationshipId(...)` | `DELETE` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologyRolloutsRolloutsRolloutId(...)` | `DELETE` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyRolloutsRolloutsRolloutId(...)` | `DELETE` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologyRollupsRollupsRollupId(...)` | `DELETE` | `/ontology/rollups/rollups/{param}` | `rollupId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyRollupsRollupsRollupId(...)` | `DELETE` | `/ontology/rollups/rollups/{param}` | `rollupId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologySchemasSchemasSchemaId(...)` | `DELETE` | `/ontology/schemas/schemas/{param}` | `schemaId, query, Class responseType` | `@Nullable T` | +| `deleteOntologySchemasSchemasSchemaId(...)` | `DELETE` | `/ontology/schemas/schemas/{param}` | `schemaId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologyValidationRulesRuleId(...)` | `DELETE` | `/ontology/validation/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyValidationRulesRuleId(...)` | `DELETE` | `/ontology/validation/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | +| `deleteOntologyVersionsVersionsVersionId(...)` | `DELETE` | `/ontology/versions/versions/{param}` | `versionId, query, Class responseType` | `@Nullable T` | +| `deleteOntologyVersionsVersionsVersionId(...)` | `DELETE` | `/ontology/versions/versions/{param}` | `versionId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEngineCapabilities(...)` | `GET` | `/ontology/engine/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEngineCapabilities(...)` | `GET` | `/ontology/engine/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEngineHealth(...)` | `GET` | `/ontology/engine/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEngineHealth(...)` | `GET` | `/ontology/engine/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEngineInfo(...)` | `GET` | `/ontology/engine/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEngineInfo(...)` | `GET` | `/ontology/engine/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEngineRuns(...)` | `GET` | `/ontology/engine/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEngineRuns(...)` | `GET` | `/ontology/engine/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEngineRunsRunId(...)` | `GET` | `/ontology/engine/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyEngineRunsRunId(...)` | `GET` | `/ontology/engine/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEventsCapabilities(...)` | `GET` | `/ontology/events/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEventsCapabilities(...)` | `GET` | `/ontology/events/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEventsEvents(...)` | `GET` | `/ontology/events/events` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEventsEvents(...)` | `GET` | `/ontology/events/events` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEventsEventsCheckpointsConsumer(...)` | `GET` | `/ontology/events/events/checkpoints/{param}` | `consumer, query, Class responseType` | `@Nullable T` | +| `getOntologyEventsEventsCheckpointsConsumer(...)` | `GET` | `/ontology/events/events/checkpoints/{param}` | `consumer, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEventsEventsEventId(...)` | `GET` | `/ontology/events/events/{param}` | `eventId, query, Class responseType` | `@Nullable T` | +| `getOntologyEventsEventsEventId(...)` | `GET` | `/ontology/events/events/{param}` | `eventId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEventsHealth(...)` | `GET` | `/ontology/events/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEventsHealth(...)` | `GET` | `/ontology/events/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEventsInfo(...)` | `GET` | `/ontology/events/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEventsInfo(...)` | `GET` | `/ontology/events/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEventsRuns(...)` | `GET` | `/ontology/events/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyEventsRuns(...)` | `GET` | `/ontology/events/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyEventsRunsRunId(...)` | `GET` | `/ontology/events/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyEventsRunsRunId(...)` | `GET` | `/ontology/events/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyExtractCapabilities(...)` | `GET` | `/ontology/extract/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyExtractCapabilities(...)` | `GET` | `/ontology/extract/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyExtractHealth(...)` | `GET` | `/ontology/extract/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyExtractHealth(...)` | `GET` | `/ontology/extract/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyExtractInfo(...)` | `GET` | `/ontology/extract/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyExtractInfo(...)` | `GET` | `/ontology/extract/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyExtractRuns(...)` | `GET` | `/ontology/extract/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyExtractRuns(...)` | `GET` | `/ontology/extract/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyExtractRunsRunId(...)` | `GET` | `/ontology/extract/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyExtractRunsRunId(...)` | `GET` | `/ontology/extract/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyGraphCapabilities(...)` | `GET` | `/ontology/graph/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyGraphCapabilities(...)` | `GET` | `/ontology/graph/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyGraphEntitiesEntityId(...)` | `GET` | `/ontology/graph/entities/{param}` | `entityId, query, Class responseType` | `@Nullable T` | +| `getOntologyGraphEntitiesEntityId(...)` | `GET` | `/ontology/graph/entities/{param}` | `entityId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyGraphEntitiesEntityIdProvenance(...)` | `GET` | `/ontology/graph/entities/{param}/provenance` | `entityId, query, Class responseType` | `@Nullable T` | +| `getOntologyGraphEntitiesEntityIdProvenance(...)` | `GET` | `/ontology/graph/entities/{param}/provenance` | `entityId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyGraphHealth(...)` | `GET` | `/ontology/graph/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyGraphHealth(...)` | `GET` | `/ontology/graph/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyGraphInfo(...)` | `GET` | `/ontology/graph/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyGraphInfo(...)` | `GET` | `/ontology/graph/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyGraphRelationshipsRelationshipId(...)` | `GET` | `/ontology/graph/relationships/{param}` | `relationshipId, query, Class responseType` | `@Nullable T` | +| `getOntologyGraphRelationshipsRelationshipId(...)` | `GET` | `/ontology/graph/relationships/{param}` | `relationshipId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyGraphRuns(...)` | `GET` | `/ontology/graph/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyGraphRuns(...)` | `GET` | `/ontology/graph/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyGraphRunsRunId(...)` | `GET` | `/ontology/graph/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyGraphRunsRunId(...)` | `GET` | `/ontology/graph/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsCapabilities(...)` | `GET` | `/ontology/objects/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsCapabilities(...)` | `GET` | `/ontology/objects/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsHealth(...)` | `GET` | `/ontology/objects/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsHealth(...)` | `GET` | `/ontology/objects/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsInfo(...)` | `GET` | `/ontology/objects/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsInfo(...)` | `GET` | `/ontology/objects/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsObjectTypes(...)` | `GET` | `/ontology/objects/object-types` | `query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsObjectTypes(...)` | `GET` | `/ontology/objects/object-types` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsObjectTypesObjectTypeId(...)` | `GET` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsObjectTypesObjectTypeId(...)` | `GET` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsObjects(...)` | `GET` | `/ontology/objects/objects` | `query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsObjects(...)` | `GET` | `/ontology/objects/objects` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsObjectsObjectId(...)` | `GET` | `/ontology/objects/objects/{param}` | `objectId, query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsObjectsObjectId(...)` | `GET` | `/ontology/objects/objects/{param}` | `objectId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsRuns(...)` | `GET` | `/ontology/objects/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsRuns(...)` | `GET` | `/ontology/objects/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyObjectsRunsRunId(...)` | `GET` | `/ontology/objects/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyObjectsRunsRunId(...)` | `GET` | `/ontology/objects/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyReasoningCapabilities(...)` | `GET` | `/ontology/reasoning/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyReasoningCapabilities(...)` | `GET` | `/ontology/reasoning/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyReasoningHealth(...)` | `GET` | `/ontology/reasoning/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyReasoningHealth(...)` | `GET` | `/ontology/reasoning/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyReasoningInfo(...)` | `GET` | `/ontology/reasoning/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyReasoningInfo(...)` | `GET` | `/ontology/reasoning/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyReasoningRules(...)` | `GET` | `/ontology/reasoning/rules` | `query, Class responseType` | `@Nullable T` | +| `getOntologyReasoningRules(...)` | `GET` | `/ontology/reasoning/rules` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyReasoningRuns(...)` | `GET` | `/ontology/reasoning/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyReasoningRuns(...)` | `GET` | `/ontology/reasoning/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyReasoningRunsRunId(...)` | `GET` | `/ontology/reasoning/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyReasoningRunsRunId(...)` | `GET` | `/ontology/reasoning/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRelationshipsCapabilities(...)` | `GET` | `/ontology/relationships/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRelationshipsCapabilities(...)` | `GET` | `/ontology/relationships/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRelationshipsHealth(...)` | `GET` | `/ontology/relationships/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRelationshipsHealth(...)` | `GET` | `/ontology/relationships/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRelationshipsInfo(...)` | `GET` | `/ontology/relationships/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRelationshipsInfo(...)` | `GET` | `/ontology/relationships/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRelationshipsRelationshipTypes(...)` | `GET` | `/ontology/relationships/relationship-types` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRelationshipsRelationshipTypes(...)` | `GET` | `/ontology/relationships/relationship-types` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRelationshipsRelationships(...)` | `GET` | `/ontology/relationships/relationships` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRelationshipsRelationships(...)` | `GET` | `/ontology/relationships/relationships` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRelationshipsRelationshipsRelationshipId(...)` | `GET` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, Class responseType` | `@Nullable T` | +| `getOntologyRelationshipsRelationshipsRelationshipId(...)` | `GET` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRelationshipsRuns(...)` | `GET` | `/ontology/relationships/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRelationshipsRuns(...)` | `GET` | `/ontology/relationships/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRelationshipsRunsRunId(...)` | `GET` | `/ontology/relationships/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyRelationshipsRunsRunId(...)` | `GET` | `/ontology/relationships/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRolloutsCapabilities(...)` | `GET` | `/ontology/rollouts/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRolloutsCapabilities(...)` | `GET` | `/ontology/rollouts/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRolloutsHealth(...)` | `GET` | `/ontology/rollouts/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRolloutsHealth(...)` | `GET` | `/ontology/rollouts/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRolloutsInfo(...)` | `GET` | `/ontology/rollouts/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRolloutsInfo(...)` | `GET` | `/ontology/rollouts/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRolloutsRollouts(...)` | `GET` | `/ontology/rollouts/rollouts` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRolloutsRollouts(...)` | `GET` | `/ontology/rollouts/rollouts` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRolloutsRolloutsRolloutId(...)` | `GET` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, Class responseType` | `@Nullable T` | +| `getOntologyRolloutsRolloutsRolloutId(...)` | `GET` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRolloutsRolloutsRolloutIdStatus(...)` | `GET` | `/ontology/rollouts/rollouts/{param}/status` | `rolloutId, query, Class responseType` | `@Nullable T` | +| `getOntologyRolloutsRolloutsRolloutIdStatus(...)` | `GET` | `/ontology/rollouts/rollouts/{param}/status` | `rolloutId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRolloutsRuns(...)` | `GET` | `/ontology/rollouts/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRolloutsRuns(...)` | `GET` | `/ontology/rollouts/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRolloutsRunsRunId(...)` | `GET` | `/ontology/rollouts/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyRolloutsRunsRunId(...)` | `GET` | `/ontology/rollouts/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsCapabilities(...)` | `GET` | `/ontology/rollups/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsCapabilities(...)` | `GET` | `/ontology/rollups/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsHealth(...)` | `GET` | `/ontology/rollups/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsHealth(...)` | `GET` | `/ontology/rollups/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsInfo(...)` | `GET` | `/ontology/rollups/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsInfo(...)` | `GET` | `/ontology/rollups/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsRollupResultsExecutionId(...)` | `GET` | `/ontology/rollups/rollup-results/{param}` | `executionId, query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsRollupResultsExecutionId(...)` | `GET` | `/ontology/rollups/rollup-results/{param}` | `executionId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsRollups(...)` | `GET` | `/ontology/rollups/rollups` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsRollups(...)` | `GET` | `/ontology/rollups/rollups` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsRollupsRollupId(...)` | `GET` | `/ontology/rollups/rollups/{param}` | `rollupId, query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsRollupsRollupId(...)` | `GET` | `/ontology/rollups/rollups/{param}` | `rollupId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsRollupsRollupIdResult(...)` | `GET` | `/ontology/rollups/rollups/{param}/result` | `rollupId, query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsRollupsRollupIdResult(...)` | `GET` | `/ontology/rollups/rollups/{param}/result` | `rollupId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsRuns(...)` | `GET` | `/ontology/rollups/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsRuns(...)` | `GET` | `/ontology/rollups/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyRollupsRunsRunId(...)` | `GET` | `/ontology/rollups/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyRollupsRunsRunId(...)` | `GET` | `/ontology/rollups/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologySchemasCapabilities(...)` | `GET` | `/ontology/schemas/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologySchemasCapabilities(...)` | `GET` | `/ontology/schemas/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologySchemasHealth(...)` | `GET` | `/ontology/schemas/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologySchemasHealth(...)` | `GET` | `/ontology/schemas/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologySchemasInfo(...)` | `GET` | `/ontology/schemas/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologySchemasInfo(...)` | `GET` | `/ontology/schemas/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologySchemasRuns(...)` | `GET` | `/ontology/schemas/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologySchemasRuns(...)` | `GET` | `/ontology/schemas/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologySchemasRunsRunId(...)` | `GET` | `/ontology/schemas/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologySchemasRunsRunId(...)` | `GET` | `/ontology/schemas/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologySchemasSchemas(...)` | `GET` | `/ontology/schemas/schemas` | `query, Class responseType` | `@Nullable T` | +| `getOntologySchemasSchemas(...)` | `GET` | `/ontology/schemas/schemas` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologySchemasSchemasSchemaId(...)` | `GET` | `/ontology/schemas/schemas/{param}` | `schemaId, query, Class responseType` | `@Nullable T` | +| `getOntologySchemasSchemasSchemaId(...)` | `GET` | `/ontology/schemas/schemas/{param}` | `schemaId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyTransformationsCapabilities(...)` | `GET` | `/ontology/transformations/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyTransformationsCapabilities(...)` | `GET` | `/ontology/transformations/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyTransformationsHealth(...)` | `GET` | `/ontology/transformations/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyTransformationsHealth(...)` | `GET` | `/ontology/transformations/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyTransformationsInfo(...)` | `GET` | `/ontology/transformations/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyTransformationsInfo(...)` | `GET` | `/ontology/transformations/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyTransformationsRuns(...)` | `GET` | `/ontology/transformations/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyTransformationsRuns(...)` | `GET` | `/ontology/transformations/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyTransformationsRunsRunId(...)` | `GET` | `/ontology/transformations/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyTransformationsRunsRunId(...)` | `GET` | `/ontology/transformations/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyValidationCapabilities(...)` | `GET` | `/ontology/validation/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyValidationCapabilities(...)` | `GET` | `/ontology/validation/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyValidationHealth(...)` | `GET` | `/ontology/validation/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyValidationHealth(...)` | `GET` | `/ontology/validation/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyValidationInfo(...)` | `GET` | `/ontology/validation/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyValidationInfo(...)` | `GET` | `/ontology/validation/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyValidationRules(...)` | `GET` | `/ontology/validation/rules` | `query, Class responseType` | `@Nullable T` | +| `getOntologyValidationRules(...)` | `GET` | `/ontology/validation/rules` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyValidationRulesRuleId(...)` | `GET` | `/ontology/validation/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | +| `getOntologyValidationRulesRuleId(...)` | `GET` | `/ontology/validation/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyValidationRuns(...)` | `GET` | `/ontology/validation/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyValidationRuns(...)` | `GET` | `/ontology/validation/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyValidationRunsRunId(...)` | `GET` | `/ontology/validation/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyValidationRunsRunId(...)` | `GET` | `/ontology/validation/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyVersionsCapabilities(...)` | `GET` | `/ontology/versions/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getOntologyVersionsCapabilities(...)` | `GET` | `/ontology/versions/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyVersionsHealth(...)` | `GET` | `/ontology/versions/health` | `query, Class responseType` | `@Nullable T` | +| `getOntologyVersionsHealth(...)` | `GET` | `/ontology/versions/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyVersionsInfo(...)` | `GET` | `/ontology/versions/info` | `query, Class responseType` | `@Nullable T` | +| `getOntologyVersionsInfo(...)` | `GET` | `/ontology/versions/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyVersionsReleaseBundles(...)` | `GET` | `/ontology/versions/release-bundles` | `query, Class responseType` | `@Nullable T` | +| `getOntologyVersionsReleaseBundles(...)` | `GET` | `/ontology/versions/release-bundles` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyVersionsReleaseBundlesBundleId(...)` | `GET` | `/ontology/versions/release-bundles/{param}` | `bundleId, query, Class responseType` | `@Nullable T` | +| `getOntologyVersionsReleaseBundlesBundleId(...)` | `GET` | `/ontology/versions/release-bundles/{param}` | `bundleId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyVersionsRuns(...)` | `GET` | `/ontology/versions/runs` | `query, Class responseType` | `@Nullable T` | +| `getOntologyVersionsRuns(...)` | `GET` | `/ontology/versions/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getOntologyVersionsRunsRunId(...)` | `GET` | `/ontology/versions/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | +| `getOntologyVersionsRunsRunId(...)` | `GET` | `/ontology/versions/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | +| `getOntologyVersionsVersionsVersionId(...)` | `GET` | `/ontology/versions/versions/{param}` | `versionId, query, Class responseType` | `@Nullable T` | +| `getOntologyVersionsVersionsVersionId(...)` | `GET` | `/ontology/versions/versions/{param}` | `versionId, query, TypeReference responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesCompareVersions(...)` | `POST` | `/ontology/engine/ontologies/compare-versions` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesCompareVersions(...)` | `POST` | `/ontology/engine/ontologies/compare-versions` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesExport(...)` | `POST` | `/ontology/engine/ontologies/export` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesExport(...)` | `POST` | `/ontology/engine/ontologies/export` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesExportShacl(...)` | `POST` | `/ontology/engine/ontologies/export-shacl` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesExportShacl(...)` | `POST` | `/ontology/engine/ontologies/export-shacl` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesGenerate(...)` | `POST` | `/ontology/engine/ontologies/generate` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesGenerate(...)` | `POST` | `/ontology/engine/ontologies/generate` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesInferClasses(...)` | `POST` | `/ontology/engine/ontologies/infer-classes` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesInferClasses(...)` | `POST` | `/ontology/engine/ontologies/infer-classes` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesInferProperties(...)` | `POST` | `/ontology/engine/ontologies/infer-properties` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesInferProperties(...)` | `POST` | `/ontology/engine/ontologies/infer-properties` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesValidate(...)` | `POST` | `/ontology/engine/ontologies/validate` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEngineOntologiesValidate(...)` | `POST` | `/ontology/engine/ontologies/validate` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEngineRuns(...)` | `POST` | `/ontology/engine/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEngineRuns(...)` | `POST` | `/ontology/engine/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEventsEvents(...)` | `POST` | `/ontology/events/events` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEventsEvents(...)` | `POST` | `/ontology/events/events` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEventsEventsCheckpoints(...)` | `POST` | `/ontology/events/events/checkpoints` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEventsEventsCheckpoints(...)` | `POST` | `/ontology/events/events/checkpoints` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEventsEventsLeasesAcknowledge(...)` | `POST` | `/ontology/events/events/leases/acknowledge` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEventsEventsLeasesAcknowledge(...)` | `POST` | `/ontology/events/events/leases/acknowledge` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEventsEventsLeasesAcquire(...)` | `POST` | `/ontology/events/events/leases/acquire` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEventsEventsLeasesAcquire(...)` | `POST` | `/ontology/events/events/leases/acquire` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyEventsRuns(...)` | `POST` | `/ontology/events/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyEventsRuns(...)` | `POST` | `/ontology/events/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyExtractExtractAnalyze(...)` | `POST` | `/ontology/extract/extract/analyze` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyExtractExtractAnalyze(...)` | `POST` | `/ontology/extract/extract/analyze` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyExtractExtractArchitecture(...)` | `POST` | `/ontology/extract/extract/architecture` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyExtractExtractArchitecture(...)` | `POST` | `/ontology/extract/extract/architecture` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyExtractExtractCoreferences(...)` | `POST` | `/ontology/extract/extract/coreferences` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyExtractExtractCoreferences(...)` | `POST` | `/ontology/extract/extract/coreferences` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyExtractExtractEntities(...)` | `POST` | `/ontology/extract/extract/entities` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyExtractExtractEntities(...)` | `POST` | `/ontology/extract/extract/entities` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyExtractExtractEvents(...)` | `POST` | `/ontology/extract/extract/events` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyExtractExtractEvents(...)` | `POST` | `/ontology/extract/extract/events` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyExtractExtractRelations(...)` | `POST` | `/ontology/extract/extract/relations` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyExtractExtractRelations(...)` | `POST` | `/ontology/extract/extract/relations` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyExtractExtractTriplets(...)` | `POST` | `/ontology/extract/extract/triplets` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyExtractExtractTriplets(...)` | `POST` | `/ontology/extract/extract/triplets` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyExtractRuns(...)` | `POST` | `/ontology/extract/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyExtractRuns(...)` | `POST` | `/ontology/extract/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyGraphGraphAnalyze(...)` | `POST` | `/ontology/graph/graph/analyze` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyGraphGraphAnalyze(...)` | `POST` | `/ontology/graph/graph/analyze` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyGraphGraphBuild(...)` | `POST` | `/ontology/graph/graph/build` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyGraphGraphBuild(...)` | `POST` | `/ontology/graph/graph/build` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyGraphGraphBulkRead(...)` | `POST` | `/ontology/graph/graph/bulk-read` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyGraphGraphBulkRead(...)` | `POST` | `/ontology/graph/graph/bulk-read` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyGraphGraphNeighborhood(...)` | `POST` | `/ontology/graph/graph/neighborhood` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyGraphGraphNeighborhood(...)` | `POST` | `/ontology/graph/graph/neighborhood` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyGraphGraphPath(...)` | `POST` | `/ontology/graph/graph/path` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyGraphGraphPath(...)` | `POST` | `/ontology/graph/graph/path` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyGraphGraphQuery(...)` | `POST` | `/ontology/graph/graph/query` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyGraphGraphQuery(...)` | `POST` | `/ontology/graph/graph/query` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyGraphRuns(...)` | `POST` | `/ontology/graph/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyGraphRuns(...)` | `POST` | `/ontology/graph/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyObjectsRuns(...)` | `POST` | `/ontology/objects/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyObjectsRuns(...)` | `POST` | `/ontology/objects/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyReasoningExplain(...)` | `POST` | `/ontology/reasoning/explain` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyReasoningExplain(...)` | `POST` | `/ontology/reasoning/explain` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyReasoningFacts(...)` | `POST` | `/ontology/reasoning/facts` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyReasoningFacts(...)` | `POST` | `/ontology/reasoning/facts` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyReasoningFactsLoadGraph(...)` | `POST` | `/ontology/reasoning/facts/load-graph` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyReasoningFactsLoadGraph(...)` | `POST` | `/ontology/reasoning/facts/load-graph` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyReasoningReasonBackward(...)` | `POST` | `/ontology/reasoning/reason/backward` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyReasoningReasonBackward(...)` | `POST` | `/ontology/reasoning/reason/backward` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyReasoningReasonForward(...)` | `POST` | `/ontology/reasoning/reason/forward` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyReasoningReasonForward(...)` | `POST` | `/ontology/reasoning/reason/forward` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyReasoningRules(...)` | `POST` | `/ontology/reasoning/rules` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyReasoningRules(...)` | `POST` | `/ontology/reasoning/rules` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyReasoningRuns(...)` | `POST` | `/ontology/reasoning/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyReasoningRuns(...)` | `POST` | `/ontology/reasoning/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRelationshipsRuns(...)` | `POST` | `/ontology/relationships/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyRelationshipsRuns(...)` | `POST` | `/ontology/relationships/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRolloutsRollouts(...)` | `POST` | `/ontology/rollouts/rollouts` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyRolloutsRollouts(...)` | `POST` | `/ontology/rollouts/rollouts` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRolloutsRolloutsRolloutIdPause(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/pause` | `rolloutId, query, body, Class responseType` | `@Nullable T` | +| `postOntologyRolloutsRolloutsRolloutIdPause(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/pause` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRolloutsRolloutsRolloutIdResume(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/resume` | `rolloutId, query, body, Class responseType` | `@Nullable T` | +| `postOntologyRolloutsRolloutsRolloutIdResume(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/resume` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRolloutsRolloutsRolloutIdRollback(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/rollback` | `rolloutId, query, body, Class responseType` | `@Nullable T` | +| `postOntologyRolloutsRolloutsRolloutIdRollback(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/rollback` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRolloutsRolloutsRolloutIdStart(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/start` | `rolloutId, query, body, Class responseType` | `@Nullable T` | +| `postOntologyRolloutsRolloutsRolloutIdStart(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/start` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRolloutsRuns(...)` | `POST` | `/ontology/rollouts/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyRolloutsRuns(...)` | `POST` | `/ontology/rollouts/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRollupsRollups(...)` | `POST` | `/ontology/rollups/rollups` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyRollupsRollups(...)` | `POST` | `/ontology/rollups/rollups` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRollupsRollupsRollupIdExecute(...)` | `POST` | `/ontology/rollups/rollups/{param}/execute` | `rollupId, query, body, Class responseType` | `@Nullable T` | +| `postOntologyRollupsRollupsRollupIdExecute(...)` | `POST` | `/ontology/rollups/rollups/{param}/execute` | `rollupId, query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRollupsRollupsRollupIdPreview(...)` | `POST` | `/ontology/rollups/rollups/{param}/preview` | `rollupId, query, body, Class responseType` | `@Nullable T` | +| `postOntologyRollupsRollupsRollupIdPreview(...)` | `POST` | `/ontology/rollups/rollups/{param}/preview` | `rollupId, query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyRollupsRuns(...)` | `POST` | `/ontology/rollups/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyRollupsRuns(...)` | `POST` | `/ontology/rollups/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologySchemasRuns(...)` | `POST` | `/ontology/schemas/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologySchemasRuns(...)` | `POST` | `/ontology/schemas/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologySchemasSchemas(...)` | `POST` | `/ontology/schemas/schemas` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologySchemasSchemas(...)` | `POST` | `/ontology/schemas/schemas` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologySchemasSchemasValidate(...)` | `POST` | `/ontology/schemas/schemas/validate` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologySchemasSchemasValidate(...)` | `POST` | `/ontology/schemas/schemas/validate` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyTransformationsRuns(...)` | `POST` | `/ontology/transformations/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyTransformationsRuns(...)` | `POST` | `/ontology/transformations/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyTransformationsTransformations(...)` | `POST` | `/ontology/transformations/transformations` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyTransformationsTransformations(...)` | `POST` | `/ontology/transformations/transformations` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyValidationPayloadsValidate(...)` | `POST` | `/ontology/validation/payloads/validate` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyValidationPayloadsValidate(...)` | `POST` | `/ontology/validation/payloads/validate` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyValidationRules(...)` | `POST` | `/ontology/validation/rules` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyValidationRules(...)` | `POST` | `/ontology/validation/rules` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyValidationRuns(...)` | `POST` | `/ontology/validation/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyValidationRuns(...)` | `POST` | `/ontology/validation/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyVersionsAuditVerify(...)` | `POST` | `/ontology/versions/audit/verify` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyVersionsAuditVerify(...)` | `POST` | `/ontology/versions/audit/verify` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyVersionsReleaseBundles(...)` | `POST` | `/ontology/versions/release-bundles` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyVersionsReleaseBundles(...)` | `POST` | `/ontology/versions/release-bundles` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyVersionsRuns(...)` | `POST` | `/ontology/versions/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyVersionsRuns(...)` | `POST` | `/ontology/versions/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyVersionsVersions(...)` | `POST` | `/ontology/versions/versions` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyVersionsVersions(...)` | `POST` | `/ontology/versions/versions` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postOntologyVersionsVersionsCompare(...)` | `POST` | `/ontology/versions/versions/compare` | `query, body, Class responseType` | `@Nullable T` | +| `postOntologyVersionsVersionsCompare(...)` | `POST` | `/ontology/versions/versions/compare` | `query, body, TypeReference responseType` | `@Nullable T` | +| `putOntologyGraphEntitiesEntityId(...)` | `PUT` | `/ontology/graph/entities/{param}` | `entityId, query, body, Class responseType` | `@Nullable T` | +| `putOntologyGraphEntitiesEntityId(...)` | `PUT` | `/ontology/graph/entities/{param}` | `entityId, query, body, TypeReference responseType` | `@Nullable T` | +| `putOntologyGraphRelationshipsRelationshipId(...)` | `PUT` | `/ontology/graph/relationships/{param}` | `relationshipId, query, body, Class responseType` | `@Nullable T` | +| `putOntologyGraphRelationshipsRelationshipId(...)` | `PUT` | `/ontology/graph/relationships/{param}` | `relationshipId, query, body, TypeReference responseType` | `@Nullable T` | +| `putOntologyObjectsObjectTypesObjectTypeId(...)` | `PUT` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, body, Class responseType` | `@Nullable T` | +| `putOntologyObjectsObjectTypesObjectTypeId(...)` | `PUT` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, body, TypeReference responseType` | `@Nullable T` | +| `putOntologyObjectsObjectsObjectId(...)` | `PUT` | `/ontology/objects/objects/{param}` | `objectId, query, body, Class responseType` | `@Nullable T` | +| `putOntologyObjectsObjectsObjectId(...)` | `PUT` | `/ontology/objects/objects/{param}` | `objectId, query, body, TypeReference responseType` | `@Nullable T` | +| `putOntologyReasoningRulesRuleId(...)` | `PUT` | `/ontology/reasoning/rules/{param}` | `ruleId, query, body, Class responseType` | `@Nullable T` | +| `putOntologyReasoningRulesRuleId(...)` | `PUT` | `/ontology/reasoning/rules/{param}` | `ruleId, query, body, TypeReference responseType` | `@Nullable T` | +| `putOntologyRelationshipsRelationshipsRelationshipId(...)` | `PUT` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, body, Class responseType` | `@Nullable T` | +| `putOntologyRelationshipsRelationshipsRelationshipId(...)` | `PUT` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, body, TypeReference responseType` | `@Nullable T` | +| `putOntologyRolloutsRolloutsRolloutId(...)` | `PUT` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, body, Class responseType` | `@Nullable T` | +| `putOntologyRolloutsRolloutsRolloutId(...)` | `PUT` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | +| `putOntologyRollupsRollupsRollupId(...)` | `PUT` | `/ontology/rollups/rollups/{param}` | `rollupId, query, body, Class responseType` | `@Nullable T` | +| `putOntologyRollupsRollupsRollupId(...)` | `PUT` | `/ontology/rollups/rollups/{param}` | `rollupId, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/pipelines.md b/docs/api/pipelines.md new file mode 100644 index 0000000..5acc913 --- /dev/null +++ b/docs/api/pipelines.md @@ -0,0 +1,33 @@ +# Pipelines API + +Service accessor: `frontal.pipelines()` (`PipelinesClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getDataPipelinesCapabilities(...)` | `GET` | `/data/pipelines/capabilities` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesCapabilities(...)` | `GET` | `/data/pipelines/capabilities` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesHealth(...)` | `GET` | `/data/pipelines/health` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesHealth(...)` | `GET` | `/data/pipelines/health` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesInfo(...)` | `GET` | `/data/pipelines/info` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesInfo(...)` | `GET` | `/data/pipelines/info` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesPipelineRuns(...)` | `GET` | `/data/pipelines/pipeline-runs` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesPipelineRuns(...)` | `GET` | `/data/pipelines/pipeline-runs` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesPipelineRunsParam(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getDataPipelinesPipelineRunsParam(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesPipelines(...)` | `GET` | `/data/pipelines/pipelines` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesPipelines(...)` | `GET` | `/data/pipelines/pipelines` | `query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesPipelinesParam(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getDataPipelinesPipelinesParam(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getDataPipelinesRuns(...)` | `GET` | `/data/pipelines/runs` | `query, Class responseType` | `@Nullable T` | +| `getDataPipelinesRuns(...)` | `GET` | `/data/pipelines/runs` | `query, TypeReference responseType` | `@Nullable T` | +| `postDataPipelinesPipelines(...)` | `POST` | `/data/pipelines/pipelines` | `query, body, Class responseType` | `@Nullable T` | +| `postDataPipelinesPipelines(...)` | `POST` | `/data/pipelines/pipelines` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postDataPipelinesRuns(...)` | `POST` | `/data/pipelines/runs` | `query, body, Class responseType` | `@Nullable T` | +| `postDataPipelinesRuns(...)` | `POST` | `/data/pipelines/runs` | `query, body, TypeReference responseType` | `@Nullable T` | +| `streamDataPipelinesPipelineRunsParam(...)` | `STREAM` | `/data/pipelines/pipeline-runs/{param}` | `pathParam1, query` | `Flow.Publisher` | +| `streamDataPipelinesPipelineRunsParamBlocking(...)` | `STREAM` | `/data/pipelines/pipeline-runs/{param}` | `pathParam1, query` | `SseEventIterator` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/providers.md b/docs/api/providers.md new file mode 100644 index 0000000..06249c8 --- /dev/null +++ b/docs/api/providers.md @@ -0,0 +1,13 @@ +# Providers API + +Service accessor: `frontal.providers()` (`ProvidersClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getProvidersProviderSlug(...)` | `GET` | `/providers/{param}` | `providerSlug, query, Class responseType` | `@Nullable T` | +| `getProvidersProviderSlug(...)` | `GET` | `/providers/{param}` | `providerSlug, query, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/react.md b/docs/api/react.md new file mode 100644 index 0000000..aec9b3d --- /dev/null +++ b/docs/api/react.md @@ -0,0 +1,11 @@ +# React API + +Service accessor: `frontal.react()` (`ReactClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/sandbox.md b/docs/api/sandbox.md new file mode 100644 index 0000000..937fa14 --- /dev/null +++ b/docs/api/sandbox.md @@ -0,0 +1,17 @@ +# Sandbox API + +Service accessor: `frontal.sandbox()` (`SandboxClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `getSandboxLanguages(...)` | `GET` | `/sandbox/languages` | `query, Class responseType` | `@Nullable T` | +| `getSandboxLanguages(...)` | `GET` | `/sandbox/languages` | `query, TypeReference responseType` | `@Nullable T` | +| `postSandboxSelfTest(...)` | `POST` | `/sandbox/self-test` | `query, body, Class responseType` | `@Nullable T` | +| `postSandboxSelfTest(...)` | `POST` | `/sandbox/self-test` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postSandboxSubmit(...)` | `POST` | `/sandbox/submit` | `query, body, Class responseType` | `@Nullable T` | +| `postSandboxSubmit(...)` | `POST` | `/sandbox/submit` | `query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/schedules.md b/docs/api/schedules.md new file mode 100644 index 0000000..068e954 --- /dev/null +++ b/docs/api/schedules.md @@ -0,0 +1,31 @@ +# Schedules API + +Service accessor: `frontal.schedules()` (`SchedulesClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteWorkflowsSchedulesParam(...)` | `DELETE` | `/workflows/schedules/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteWorkflowsSchedulesParam(...)` | `DELETE` | `/workflows/schedules/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsSchedules(...)` | `GET` | `/workflows/schedules` | `query, Class responseType` | `@Nullable T` | +| `getWorkflowsSchedules(...)` | `GET` | `/workflows/schedules` | `query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsSchedulesParam(...)` | `GET` | `/workflows/schedules/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWorkflowsSchedulesParam(...)` | `GET` | `/workflows/schedules/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `patchWorkflowsSchedulesParam(...)` | `PATCH` | `/workflows/schedules/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `patchWorkflowsSchedulesParam(...)` | `PATCH` | `/workflows/schedules/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsCronParse(...)` | `POST` | `/workflows/cron/parse` | `query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsCronParse(...)` | `POST` | `/workflows/cron/parse` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsCronValidate(...)` | `POST` | `/workflows/cron/validate` | `query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsCronValidate(...)` | `POST` | `/workflows/cron/validate` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsSchedules(...)` | `POST` | `/workflows/schedules` | `query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsSchedules(...)` | `POST` | `/workflows/schedules` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsSchedulesParamPause(...)` | `POST` | `/workflows/schedules/{param}/pause` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsSchedulesParamPause(...)` | `POST` | `/workflows/schedules/{param}/pause` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsSchedulesParamResume(...)` | `POST` | `/workflows/schedules/{param}/resume` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsSchedulesParamResume(...)` | `POST` | `/workflows/schedules/{param}/resume` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsSchedulesParamTrigger(...)` | `POST` | `/workflows/schedules/{param}/trigger` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsSchedulesParamTrigger(...)` | `POST` | `/workflows/schedules/{param}/trigger` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/webhook-endpoints.md b/docs/api/webhook-endpoints.md new file mode 100644 index 0000000..691c4a6 --- /dev/null +++ b/docs/api/webhook-endpoints.md @@ -0,0 +1,25 @@ +# WebhookEndpoints API + +Service accessor: `frontal.webhookEndpoints()` (`WebhookEndpointsClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteWebhookEndpointsId(...)` | `DELETE` | `/webhook-endpoints/{param}` | `id, query, Class responseType` | `@Nullable T` | +| `deleteWebhookEndpointsId(...)` | `DELETE` | `/webhook-endpoints/{param}` | `id, query, TypeReference responseType` | `@Nullable T` | +| `getWebhookEndpoints(...)` | `GET` | `/webhook-endpoints` | `query, Class responseType` | `@Nullable T` | +| `getWebhookEndpoints(...)` | `GET` | `/webhook-endpoints` | `query, TypeReference responseType` | `@Nullable T` | +| `getWebhookEndpointsId(...)` | `GET` | `/webhook-endpoints/{param}` | `id, query, Class responseType` | `@Nullable T` | +| `getWebhookEndpointsId(...)` | `GET` | `/webhook-endpoints/{param}` | `id, query, TypeReference responseType` | `@Nullable T` | +| `getWebhookEndpointsIdDeliveries(...)` | `GET` | `/webhook-endpoints/{param}/deliveries` | `id, query, Class responseType` | `@Nullable T` | +| `getWebhookEndpointsIdDeliveries(...)` | `GET` | `/webhook-endpoints/{param}/deliveries` | `id, query, TypeReference responseType` | `@Nullable T` | +| `patchWebhookEndpointsId(...)` | `PATCH` | `/webhook-endpoints/{param}` | `id, query, body, Class responseType` | `@Nullable T` | +| `patchWebhookEndpointsId(...)` | `PATCH` | `/webhook-endpoints/{param}` | `id, query, body, TypeReference responseType` | `@Nullable T` | +| `postWebhookEndpoints(...)` | `POST` | `/webhook-endpoints` | `query, body, Class responseType` | `@Nullable T` | +| `postWebhookEndpoints(...)` | `POST` | `/webhook-endpoints` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWebhookEndpointsIdRotateSecret(...)` | `POST` | `/webhook-endpoints/{param}/rotate-secret` | `id, query, body, Class responseType` | `@Nullable T` | +| `postWebhookEndpointsIdRotateSecret(...)` | `POST` | `/webhook-endpoints/{param}/rotate-secret` | `id, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/webhooks.md b/docs/api/webhooks.md new file mode 100644 index 0000000..0689695 --- /dev/null +++ b/docs/api/webhooks.md @@ -0,0 +1,31 @@ +# Webhooks API + +Service accessor: `frontal.webhooks()` (`WebhooksClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteWebhooksParam(...)` | `DELETE` | `/webhooks/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteWebhooksParam(...)` | `DELETE` | `/webhooks/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWebhooks(...)` | `GET` | `/webhooks` | `query, Class responseType` | `@Nullable T` | +| `getWebhooks(...)` | `GET` | `/webhooks` | `query, TypeReference responseType` | `@Nullable T` | +| `getWebhooksDeliveries(...)` | `GET` | `/webhooks/deliveries` | `query, Class responseType` | `@Nullable T` | +| `getWebhooksDeliveries(...)` | `GET` | `/webhooks/deliveries` | `query, TypeReference responseType` | `@Nullable T` | +| `getWebhooksDeliveriesParam(...)` | `GET` | `/webhooks/deliveries/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWebhooksDeliveriesParam(...)` | `GET` | `/webhooks/deliveries/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWebhooksStats(...)` | `GET` | `/webhooks/stats` | `query, Class responseType` | `@Nullable T` | +| `getWebhooksStats(...)` | `GET` | `/webhooks/stats` | `query, TypeReference responseType` | `@Nullable T` | +| `getWebhooksParam(...)` | `GET` | `/webhooks/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWebhooksParam(...)` | `GET` | `/webhooks/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `postWebhooks(...)` | `POST` | `/webhooks` | `query, body, Class responseType` | `@Nullable T` | +| `postWebhooks(...)` | `POST` | `/webhooks` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWebhooksDeliveriesParamRetry(...)` | `POST` | `/webhooks/deliveries/{param}/retry` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWebhooksDeliveriesParamRetry(...)` | `POST` | `/webhooks/deliveries/{param}/retry` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWebhooksParamRotateSecret(...)` | `POST` | `/webhooks/{param}/rotate-secret` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWebhooksParamRotateSecret(...)` | `POST` | `/webhooks/{param}/rotate-secret` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `putWebhooksParam(...)` | `PUT` | `/webhooks/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `putWebhooksParam(...)` | `PUT` | `/webhooks/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/workflows.md b/docs/api/workflows.md new file mode 100644 index 0000000..f977e9b --- /dev/null +++ b/docs/api/workflows.md @@ -0,0 +1,71 @@ +# Workflows API + +Service accessor: `frontal.workflows()` (`WorkflowsServiceClient`). + +Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. + +| Method | HTTP | Route | Parameters | Response | +| --- | --- | --- | --- | --- | +| `deleteWorkflowsParam(...)` | `DELETE` | `/workflows/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `deleteWorkflowsParam(...)` | `DELETE` | `/workflows/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflows(...)` | `GET` | `/workflows` | `query, Class responseType` | `@Nullable T` | +| `getWorkflows(...)` | `GET` | `/workflows` | `query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsApprovals(...)` | `GET` | `/workflows/approvals` | `query, Class responseType` | `@Nullable T` | +| `getWorkflowsApprovals(...)` | `GET` | `/workflows/approvals` | `query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsApprovalsParam(...)` | `GET` | `/workflows/approvals/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWorkflowsApprovalsParam(...)` | `GET` | `/workflows/approvals/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsExecutions(...)` | `GET` | `/workflows/executions` | `query, Class responseType` | `@Nullable T` | +| `getWorkflowsExecutions(...)` | `GET` | `/workflows/executions` | `query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsExecutionsParam(...)` | `GET` | `/workflows/executions/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWorkflowsExecutionsParam(...)` | `GET` | `/workflows/executions/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsExecutionsParamTasks(...)` | `GET` | `/workflows/executions/{param}/tasks` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWorkflowsExecutionsParamTasks(...)` | `GET` | `/workflows/executions/{param}/tasks` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsRunsParamSteps(...)` | `GET` | `/workflows/runs/{param}/steps` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWorkflowsRunsParamSteps(...)` | `GET` | `/workflows/runs/{param}/steps` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsTasksParam(...)` | `GET` | `/workflows/tasks/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWorkflowsTasksParam(...)` | `GET` | `/workflows/tasks/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsTemplates(...)` | `GET` | `/workflows/templates` | `query, Class responseType` | `@Nullable T` | +| `getWorkflowsTemplates(...)` | `GET` | `/workflows/templates` | `query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsTemplatesParam(...)` | `GET` | `/workflows/templates/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWorkflowsTemplatesParam(...)` | `GET` | `/workflows/templates/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsParam(...)` | `GET` | `/workflows/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | +| `getWorkflowsParam(...)` | `GET` | `/workflows/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsWorkflowIdRunId(...)` | `GET` | `/workflows/{param}/{param}` | `workflowId, runId, query, Class responseType` | `@Nullable T` | +| `getWorkflowsWorkflowIdRunId(...)` | `GET` | `/workflows/{param}/{param}` | `workflowId, runId, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsWorkflowIdRunIdSummary(...)` | `GET` | `/workflows/{param}/{param}/summary` | `workflowId, runId, query, Class responseType` | `@Nullable T` | +| `getWorkflowsWorkflowIdRunIdSummary(...)` | `GET` | `/workflows/{param}/{param}/summary` | `workflowId, runId, query, TypeReference responseType` | `@Nullable T` | +| `getWorkflowsWorkflowIdRunIdTimeline(...)` | `GET` | `/workflows/{param}/{param}/timeline` | `workflowId, runId, query, Class responseType` | `@Nullable T` | +| `getWorkflowsWorkflowIdRunIdTimeline(...)` | `GET` | `/workflows/{param}/{param}/timeline` | `workflowId, runId, query, TypeReference responseType` | `@Nullable T` | +| `patchWorkflowsParam(...)` | `PATCH` | `/workflows/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `patchWorkflowsParam(...)` | `PATCH` | `/workflows/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflows(...)` | `POST` | `/workflows` | `query, body, Class responseType` | `@Nullable T` | +| `postWorkflows(...)` | `POST` | `/workflows` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsApprovalsParamApprove(...)` | `POST` | `/workflows/approvals/{param}/approve` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsApprovalsParamApprove(...)` | `POST` | `/workflows/approvals/{param}/approve` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsApprovalsParamReject(...)` | `POST` | `/workflows/approvals/{param}/reject` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsApprovalsParamReject(...)` | `POST` | `/workflows/approvals/{param}/reject` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsBatch(...)` | `POST` | `/workflows/batch` | `query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsBatch(...)` | `POST` | `/workflows/batch` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsExecutions(...)` | `POST` | `/workflows/executions` | `query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsExecutions(...)` | `POST` | `/workflows/executions` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsSearch(...)` | `POST` | `/workflows/search` | `query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsSearch(...)` | `POST` | `/workflows/search` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsTasksParamCancel(...)` | `POST` | `/workflows/tasks/{param}/cancel` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsTasksParamCancel(...)` | `POST` | `/workflows/tasks/{param}/cancel` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsTasksParamRetry(...)` | `POST` | `/workflows/tasks/{param}/retry` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsTasksParamRetry(...)` | `POST` | `/workflows/tasks/{param}/retry` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsTemplates(...)` | `POST` | `/workflows/templates` | `query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsTemplates(...)` | `POST` | `/workflows/templates` | `query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsTemplatesParamInstantiate(...)` | `POST` | `/workflows/templates/{param}/instantiate` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsTemplatesParamInstantiate(...)` | `POST` | `/workflows/templates/{param}/instantiate` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsParamArchive(...)` | `POST` | `/workflows/{param}/archive` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsParamArchive(...)` | `POST` | `/workflows/{param}/archive` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsParamPublish(...)` | `POST` | `/workflows/{param}/publish` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsParamPublish(...)` | `POST` | `/workflows/{param}/publish` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsParamRestore(...)` | `POST` | `/workflows/{param}/restore` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsParamRestore(...)` | `POST` | `/workflows/{param}/restore` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| `postWorkflowsParamVersions(...)` | `POST` | `/workflows/{param}/versions` | `pathParam1, query, body, Class responseType` | `@Nullable T` | +| `postWorkflowsParamVersions(...)` | `POST` | `/workflows/{param}/versions` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | +| No catalogued operations | — | — | — | — | + +The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/mcp.json b/docs/mcp.json index 3b883d5..14e83bc 100644 --- a/docs/mcp.json +++ b/docs/mcp.json @@ -1,7 +1,7 @@ { "name": "Frontal Java SDK", "language": "Java", - "version": "1.0.0", + "version": "2.0.0", "status": "implemented", "documents": [ { diff --git a/examples/README.md b/examples/README.md index bd979e9..e47a11f 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,6 +1,6 @@ # Java examples -Examples in this repository use Java 17 and the Maven coordinate `dev.frontal:frontal-sdk:1.0.0`. The SDK exposes contract routes through `Endpoints` and accepts caller-provided response types when a contract does not define a typed model. +Examples in this repository use Java 17 and the Maven coordinate `dev.frontal:frontal-sdk:2.0.0`. Named service methods take immutable `QueryParams`, `JsonNode` request bodies when schemas are unavailable, and caller-selected response types. `Endpoints` remains available for generic requests. For standalone starter applications tailored to common deployment patterns, see [`templates/README.md`](../templates/README.md). @@ -9,13 +9,13 @@ The README test harness supplies `mock` and runs this example without a Frontal ```java try (Frontal client = Frontal.builder() .apiKey("frt_test_key") - .baseUrl(mock.url("/v1").toString()) + .apiBaseUrl(mock.url("/v1").toString()) .build()) { - PageResult agents = client.agents().list(Map.of(), JsonNode.class); + PageResult agents = client.agents().list(QueryParams.empty(), JsonNode.class); for (JsonNode agent : agents) { System.out.println(agent.path("id").asText()); } } ``` -For binary responses, use `requestBytes`; for multipart uploads use `requestForm`; for streaming endpoints use `streamPublisher` or `streamEvents` and close the blocking iterator when finished. See the root README for environment variables and Gradle setup. +For small binary responses, use `requestBytes`; for larger downloads, use `streamBody` in try-with-resources. For multipart uploads use `requestForm`; for streaming endpoints use `streamPublisher` or `streamEvents` and close the blocking iterator when finished. The request timeout applies to ordinary calls and downloads. Long-lived SSE connections have no read timeout, so cancellation or closing is required. See the root README for error handling, wire-name serialization, environment variables, and Gradle setup. diff --git a/examples/src/test/java/dev/frontal/examples/QuickstartTest.java b/examples/src/test/java/dev/frontal/examples/QuickstartTest.java index cedfe0c..9065c50 100644 --- a/examples/src/test/java/dev/frontal/examples/QuickstartTest.java +++ b/examples/src/test/java/dev/frontal/examples/QuickstartTest.java @@ -17,8 +17,8 @@ void consumerCanMakeAFirstCallWithoutAFrontalBackend() throws Exception { mock.enqueue(new MockResponse().setBody("{\"id\":\"agt_123\",\"name\":\"triage\"}")); try (Frontal frontal = Frontal.builder() .apiKey("frt_test_key") - .baseUrl(mock.url("/v1").toString()) - .timeout(Duration.ofSeconds(2)) + .apiBaseUrl(mock.url("/v1").toString()) + .requestTimeout(Duration.ofSeconds(2)) .build()) { JsonNode agent = frontal.agents().get("agt_123", JsonNode.class); assertEquals("triage", agent.path("name").asText()); diff --git a/gradle.properties b/gradle.properties index 8043dcf..e716ddd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -sdkVersion=1.0.0 +sdkVersion=2.0.0 diff --git a/mcp.json b/mcp.json index 3b883d5..14e83bc 100644 --- a/mcp.json +++ b/mcp.json @@ -1,7 +1,7 @@ { "name": "Frontal Java SDK", "language": "Java", - "version": "1.0.0", + "version": "2.0.0", "status": "implemented", "documents": [ { diff --git a/scripts/README.md b/scripts/README.md index dbfbee2..0f613ec 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -1,12 +1,13 @@ # Java repository scripts -`sync_endpoint_inventory.py` adds operations from the committed public OpenAPI snapshot to `contracts/sdk-endpoints.json`. `generate_endpoints.py` writes the route constants to `services/src/main/java/dev/frontal/sdk/resources/Endpoints.java` and refreshes route coverage reports. `check_contracts.py` verifies the inventory against Java constants and confirms every public and AI OpenAPI operation maps to an endpoint. `generate_docs_manifest.py` indexes Markdown documentation and writes `docs/mcp.json` plus the root `mcp.json`. These utilities use Python 3's standard library and do not affect the Java runtime or package dependencies. +`sync_endpoint_inventory.py` adds operations from the committed public OpenAPI snapshot to `contracts/sdk-endpoints.json`. `generate_endpoints.py` writes route constants, named service operation clients, per-service API references, and route coverage reports. Run Spotless after generation so generated Java matches repository formatting. `check_contracts.py` verifies the inventory, generated API references, Java constants, and named methods, then confirms every public and AI OpenAPI operation maps to an endpoint. `generate_docs_manifest.py` indexes Markdown documentation and writes `docs/mcp.json` plus the root `mcp.json`. The Python utilities use the standard library and do not affect the Java runtime or package dependencies. Run them directly: ```bash python3 scripts/sync_endpoint_inventory.py python3 scripts/generate_endpoints.py +./gradlew spotlessApply python3 scripts/check_contracts.py python3 scripts/generate_docs_manifest.py ``` diff --git a/scripts/check_contracts.py b/scripts/check_contracts.py index 1ae59db..ed915d4 100644 --- a/scripts/check_contracts.py +++ b/scripts/check_contracts.py @@ -6,9 +6,13 @@ import re from pathlib import Path +from generate_endpoints import SERVICE_ALIASES, SERVICES + ROOT = Path(__file__).resolve().parents[1] CONTRACT_DIR = ROOT / "contracts" ENDPOINTS = ROOT / "services/src/main/java/dev/frontal/sdk/resources/Endpoints.java" +RESOURCES = ROOT / "services/src/main/java/dev/frontal/sdk/resources" +API_DOCS = ROOT / "docs/api" SNAPSHOTS = [ CONTRACT_DIR / "sdk-endpoints.json", CONTRACT_DIR / "coverage-floor.json", @@ -22,6 +26,7 @@ re.DOTALL, ) PLACEHOLDER_PATTERN = re.compile(r"\{[^{}]+\}") +SDK_OPERATION_PATTERN = re.compile(r'@SdkOperation\("([^"]+)"\)') def load_json(path: Path): @@ -41,8 +46,9 @@ def verify_route_catalog(inventory: dict) -> int: for service, method, path in ENDPOINT_PATTERN.findall(source) ) contract_routes = Counter( - (service, route["method"], route["path"]) + (SERVICE_ALIASES.get(service, service), route["method"], route["path"]) for service, routes in inventory.items() + if SERVICE_ALIASES.get(service, service) in SERVICES for route in routes ) if source_routes != contract_routes: @@ -52,6 +58,44 @@ def verify_route_catalog(inventory: dict) -> int: return sum(contract_routes.values()) +def verify_named_operations(inventory: dict) -> int: + expected = Counter( + f"{SERVICE_ALIASES.get(service, service)}|{route['method']}|{route['path']}" + for service, routes in inventory.items() + if SERVICE_ALIASES.get(service, service) in SERVICES + for route in routes + ) + actual = Counter() + for path in RESOURCES.glob("*Client.java"): + actual.update(SDK_OPERATION_PATTERN.findall(path.read_text(encoding="utf-8"))) + if actual != expected: + raise SystemExit( + f"named operation drift; missing={dict(expected - actual)}, extra={dict(actual - expected)}" + ) + return sum(actual.values()) + + +def verify_service_api_docs(inventory: dict) -> None: + index = API_DOCS / "README.md" + if not index.is_file(): + raise SystemExit("missing generated service API reference index") + for service, routes in inventory.items(): + if SERVICE_ALIASES.get(service, service) in SERVICES and service not in SERVICE_ALIASES: + page = API_DOCS / f"{service}.md" + if not page.is_file(): + raise SystemExit(f"missing generated service API reference: docs/api/{service}.md") + source = page.read_text(encoding="utf-8") + for route in routes: + if f'`{route["path"]}`' not in source: + raise SystemExit( + f"service API reference omitted route: {service} {route['method']} {route['path']}" + ) + agents_page = (API_DOCS / "agents.md").read_text(encoding="utf-8") + for route in inventory["action-runs"]: + if f'`{route["path"]}`' not in agents_page: + raise SystemExit(f"agent API reference omitted route: {route['method']} {route['path']}") + + def verify_ai_openapi(spec: dict, inventory: dict) -> int: ai_routes = { (route["method"], route["path"]) @@ -61,14 +105,13 @@ def verify_ai_openapi(spec: dict, inventory: dict) -> int: for path, path_item in spec.get("paths", {}).items(): for method, operation in path_item.items(): method = method.upper() - if method not in HTTP_METHODS: - continue - count += 1 - if (method, path) not in ai_routes: - raise SystemExit( - f"AI OpenAPI operation has no Java endpoint: {method} {path} " - f"({operation.get('operationId', 'missing operationId')})" - ) + if method in HTTP_METHODS: + count += 1 + if (method, path) not in ai_routes: + raise SystemExit( + f"AI OpenAPI operation has no Java endpoint: {method} {path} " + f"({operation.get('operationId', 'missing operationId')})" + ) return count @@ -84,30 +127,32 @@ def verify_public_api_snapshot(spec: dict, inventory: dict) -> int: count = 0 operation_ids = set() routes = { - (service, route["method"], route["path"]) + (SERVICE_ALIASES.get(service, service), route["method"], route["path"]) for service, service_routes in inventory.items() + if SERVICE_ALIASES.get(service, service) in SERVICES for route in service_routes } for path, path_item in spec.get("paths", {}).items(): for method, operation in path_item.items(): - if method.upper() not in HTTP_METHODS: - continue - count += 1 - operation_id = operation.get("operationId") - if not operation_id: - raise SystemExit(f"OpenAPI operation is missing operationId: {method.upper()} {path}") - if operation_id in operation_ids: - raise SystemExit(f"duplicate OpenAPI operationId: {operation_id}") - operation_ids.add(operation_id) - tags = operation.get("tags", []) - if len(tags) != 1: - raise SystemExit(f"OpenAPI operation must have exactly one service tag: {method.upper()} {path}") - route = (tags[0], method.upper(), normalize_public_path(path)) - if route not in routes: - raise SystemExit( - f"OpenAPI operation has no Java endpoint: {method.upper()} {path} " - f"({operation_id})" - ) + if method.upper() in HTTP_METHODS: + count += 1 + operation_id = operation.get("operationId") + if not operation_id: + raise SystemExit(f"OpenAPI operation is missing operationId: {method.upper()} {path}") + if operation_id in operation_ids: + raise SystemExit(f"duplicate OpenAPI operationId: {operation_id}") + operation_ids.add(operation_id) + tags = operation.get("tags", []) + if len(tags) != 1: + raise SystemExit(f"OpenAPI operation must have exactly one service tag: {method.upper()} {path}") + sdk_service = SERVICE_ALIASES.get(tags[0], tags[0]) + if sdk_service in SERVICES: + route = (sdk_service, method.upper(), normalize_public_path(path)) + if route not in routes: + raise SystemExit( + f"OpenAPI operation has no Java endpoint: {method.upper()} {path} " + f"({operation_id})" + ) return count @@ -132,13 +177,16 @@ def main() -> None: if set(inventory) != expected_services: raise SystemExit("SDK endpoint inventory service list drifted") route_count = verify_route_catalog(inventory) + named_operation_count = verify_named_operations(inventory) + verify_service_api_docs(inventory) ai_operation_count = verify_ai_openapi( snapshots["ai.openapi.generated.json"], inventory ) public_operation_count = verify_public_api_snapshot(snapshots["api.openapi.json"], inventory) verify_coverage_floor(snapshots["coverage-floor.json"], public_operation_count, ai_operation_count) print( - f"validated {route_count} SDK routes, {ai_operation_count} AI OpenAPI operations, " + f"validated {route_count} SDK routes and {named_operation_count} named operations, " + f"{ai_operation_count} AI OpenAPI operations, " f"{public_operation_count} public OpenAPI operations, and {len(SNAPSHOTS)} snapshots" ) diff --git a/scripts/generate_endpoints.py b/scripts/generate_endpoints.py index 3735a80..a5dba7b 100644 --- a/scripts/generate_endpoints.py +++ b/scripts/generate_endpoints.py @@ -13,7 +13,6 @@ CONFORMANCE = ROOT / "contracts/reports/conformance.json" MIGRATION_MATRIX = ROOT / "contracts/reports/migration-matrix.md" SERVICES = { - "action-runs": "ACTION_RUNS", "agents": "AGENTS", "ai": "AI", "audit": "AUDIT", @@ -25,7 +24,6 @@ "data": "DATA", "events": "EVENTS", "governance": "GOVERNANCE", - "integrations": "INTEGRATIONS", "invocations": "INVOCATIONS", "lineage": "LINEAGE", "observability": "OBSERVABILITY", @@ -39,6 +37,284 @@ "webhook-endpoints": "WEBHOOK_ENDPOINTS", "workflows": "WORKFLOWS", } +CUSTOM_CLIENTS = {"agents", "ai", "workflows"} +SERVICE_ALIASES = {"action-runs": "agents"} + + +def routes_for_sdk_service(routes: dict, service: str) -> list[dict]: + extra_routes = [ + route + for source, target in SERVICE_ALIASES.items() + if target == service + for route in routes[source] + ] + return [*routes[service], *extra_routes] + + +def service_type(service: str) -> str: + return "".join(part.title() for part in service.split("-")) + + +def normalize_path(path: str) -> str: + if path.startswith("/v1/"): + path = path[3:] + elif path == "/v1": + path = "/" + return re.sub(r"\{[^{}]+\}", "{param}", path) + + +def java_identifier(value: str, fallback: str) -> str: + value = re.sub(r"^(get|post|put|patch|delete|head|options)V1(?=[A-Z0-9])", r"\1", value) + if value.upper() == value: + value = value.lower() + else: + value = re.sub(r"([a-z0-9])([A-Z])", r"\1 \2", value) + value = value.replace("_", " ") + words = re.findall(r"[A-Za-z0-9]+", value) + if not words: + return fallback + result = words[0][:1].lower() + words[0][1:] + result += "".join(word[:1].upper() + word[1:] for word in words[1:]) + if result[0].isdigit() or result in JAVA_KEYWORDS: + result = fallback + result[:1].upper() + result[1:] + return result + + +JAVA_KEYWORDS = { + "abstract", "assert", "boolean", "break", "byte", "case", "catch", "char", "class", "const", + "continue", "default", "do", "double", "else", "enum", "extends", "final", "finally", "float", + "for", "goto", "if", "implements", "import", "instanceof", "int", "interface", "long", "native", + "new", "package", "private", "protected", "public", "return", "short", "static", "strictfp", "super", + "switch", "synchronized", "this", "throw", "throws", "transient", "try", "void", "volatile", "while", + "_", "record", "sealed", "permits", "var", "yield" +} + + +def operation_metadata() -> dict[tuple[str, str, str], tuple[str, list[str]]]: + result: dict[tuple[str, str, str], tuple[str, list[str]]] = {} + for spec_path in (ROOT / "contracts/openapi/api.openapi.json", ROOT / "contracts/openapi/ai.openapi.generated.json"): + if spec_path.exists(): + spec = json.loads(spec_path.read_text(encoding="utf-8")) + for path, path_item in spec.get("paths", {}).items(): + for method, operation in path_item.items(): + method = method.upper() + if method in {"GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"}: + tags = operation.get("tags", []) + if len(tags) == 1: + params = [parameter.get("name", "") for parameter in operation.get("parameters", []) + if parameter.get("in") == "path"] + key = (tags[0], method, normalize_path(path)) + result[key] = (operation.get("operationId", ""), params) + return result + + +def append_javadoc( + lines: list[str], description: str, parameters: list[str], *, typed: bool = False, + returns: str | None = None, throws: list[str] | None = None +) -> None: + lines.extend([" /**", f" * {description}"]) + if typed: + lines.append(" * @param decoded response type") + for parameter in parameters: + lines.append(f" * @param {parameter} {parameter} supplied to the operation") + if returns is not None: + lines.append(f" * @return {returns}") + for exception in throws or []: + lines.append(f" * @throws {exception} if the operation fails") + lines.append(" */") + + +def render_operation_clients(routes: dict, endpoint_names: dict, operations: dict) -> None: + docs_dir = ROOT / "docs/api" + docs_dir.mkdir(parents=True, exist_ok=True) + index_rows = [] + for service, enum_value in SERVICES.items(): + service_routes = routes[service] + base = service_type(service) + class_name = f"{base}ServiceClient" if service in CUSTOM_CLIENTS else f"{base}Client" + final = "" if service in CUSTOM_CLIENTS else "final " + imports = [ + "import com.fasterxml.jackson.core.type.TypeReference;", + "import com.fasterxml.jackson.databind.JsonNode;", + "import java.io.IOException;", + "import java.util.List;", + "import org.jspecify.annotations.Nullable;", + ] + if any(route["method"] == "POSTFORMDATA" for route in service_routes): + imports.extend(["import java.nio.file.Path;", "import java.util.Map;"]) + if any(route["method"] == "STREAM" for route in service_routes): + imports.append("import java.util.concurrent.Flow;") + lines = [ + "package dev.frontal.sdk;", "", *imports, "", + f"/** Named contract operations for the {service} service. Generated by scripts/generate_endpoints.py. */", + f"public {final}class {class_name} extends ServiceClient {{", + f" {class_name}(ApiClient client) {{", f" super(ApiService.{enum_value}, client);", " }", "" + ] + used_methods: dict[str, int] = {} + documentation_rows = [] + for route in sorted(service_routes, key=lambda item: (item["method"], item["path"])): + route_service = service + constant = endpoint_names[(route_service, route["method"], route["path"])] + metadata = operations.get((route_service, route["method"], normalize_path(route["path"])), ("", [])) + proposed = java_identifier(metadata[0], "operation") if metadata[0] else java_identifier(constant, "operation") + duplicate = used_methods.get(proposed, 0) + used_methods[proposed] = duplicate + 1 + method_name = proposed if duplicate == 0 else f"{proposed}{duplicate + 1}" + path_names = metadata[1] + path_count = route["path"].count("{param}") + if len(path_names) != path_count: + path_names = [f"pathParam{index + 1}" for index in range(path_count)] + params = [java_identifier(name, f"pathParam{index + 1}") for index, name in enumerate(path_names)] + path_args = [f"String {name}" for name in params] + path_values = f"List.of({', '.join(params)})" if params else "List.of()" + # Group names use the enum value, e.g. WEBHOOK_ENDPOINTS -> WebhookEndpoints. + group = "".join(part.title() for part in enum_value.lower().split("_")) + endpoint = f"Endpoints.{group}.{constant}" + method = route["method"] + annotation_value = f'{route_service}|{method}|{route["path"]}' + query_arg = "QueryParams query" + if method == "STREAM": + signature = ", ".join(path_args + [query_arg]) + documentation_rows.append( + (method_name, method, route["path"], ", ".join(params + ["query"]), "Flow.Publisher") + ) + documentation_rows.append( + (f"{method_name}Blocking", method, route["path"], ", ".join(params + ["query"]), "SseEventIterator") + ) + append_javadoc( + lines, + f"Opens the event stream for {{@code {method} {route['path']}}}.", + params + ["query"], + returns="a publisher that emits event data", + ) + lines.extend([ + f' @SdkOperation("{annotation_value}")', + f" public Flow.Publisher {method_name}({signature}) {{", + f" return streamPublisher({endpoint}, {path_values}, query);", " }", "" + ]) + append_javadoc( + lines, + f"Opens a blocking event stream for {{@code {method} {route['path']}}}.", + params + ["query"], + returns="an iterator that must be closed", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f" public SseEventIterator {method_name}Blocking({signature}) throws IOException, InterruptedException {{", + f" return streamEvents({endpoint}, {path_values}, query);", " }", "" + ]) + if method != "STREAM": + if method == "POSTFORMDATA": + tail = [query_arg, "Map fields", "Map files"] + documentation_args = params + ["query", "fields", "files"] + call = f"requestForm({endpoint}, {path_values}, query, fields, files, responseType)" + else: + tail = [query_arg] + documentation_args = params + ["query"] + if method not in {"GET", "GETRAW", "DELETE", "HEAD", "OPTIONS"}: + body_type = "byte[]" if method == "POSTRAW" else "@Nullable JsonNode" + tail.append(f"{body_type} body") + documentation_args.append("body") + call = f"requestRaw({endpoint}, {path_values}, query, " if method == "POSTRAW" else f"request({endpoint}, {path_values}, query, " + call += "body, " if method not in {"GET", "GETRAW", "DELETE", "HEAD", "OPTIONS"} else "null, " + call += "responseType)" + common = path_args + tail + signature = ", ".join(common + ["Class responseType"]) + type_signature = f"public @Nullable T {method_name}({signature})" + method_parameters = params + ["query"] + if method == "POSTFORMDATA": + method_parameters += ["fields", "files"] + elif method not in {"GET", "GETRAW", "DELETE", "HEAD", "OPTIONS"}: + method_parameters.append("body") + method_parameters.append("responseType") + documentation_rows.append( + (method_name, method, route["path"], ", ".join(documentation_args + ["Class responseType"]), "@Nullable T") + ) + append_javadoc( + lines, + f"Calls the contract route {{@code {method} {route['path']}}}.", + method_parameters, + typed=True, + returns="the decoded response, or null when the response body is empty", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f' @SdkOperation("{annotation_value}")', + f" {type_signature} throws IOException, InterruptedException {{", + f" return {call};", " }", "" + ]) + type_ref_signature = ", ".join(common + ["TypeReference responseType"]) + documentation_rows.append( + (method_name, method, route["path"], ", ".join(documentation_args + ["TypeReference responseType"]), "@Nullable T") + ) + type_ref_call = call.removesuffix("responseType)") + "responseType)" + append_javadoc( + lines, + f"Calls the contract route {{@code {method} {route['path']}}}.", + method_parameters, + typed=True, + returns="the decoded response, or null when the response body is empty", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f" public @Nullable T {method_name}({type_ref_signature}) throws IOException, InterruptedException {{", + f" return {type_ref_call};", " }", "" + ]) + lines.append("}") + output = ROOT / "services/src/main/java/dev/frontal/sdk/resources" / f"{class_name}.java" + output.write_text("\n".join(lines) + "\n", encoding="utf-8") + accessor = java_identifier(service, "service") + index_rows.append((service, len(service_routes) + (len(routes["action-runs"]) if service == "agents" else 0))) + doc_lines = [ + f"# {base} API", "", f"Service accessor: `frontal.{accessor}()` (`{class_name}`).", "", + "Named methods are generated from the committed route catalog. Build query values with " + "`QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; " + "select `JsonNode` or a caller-provided model for unmodeled responses.", "", + "| Method | HTTP | Route | Parameters | Response |", "| --- | --- | --- | --- | --- |" + ] + if documentation_rows: + for method_name, method, path, parameters, response in documentation_rows: + doc_lines.append( + f"| `{method_name}(...)` | `{method}` | `{path}` | `{parameters}` | `{response}` |" + ) + if service == "agents": + doc_lines.append( + "| `getActionRun(...)` | `GET` | `/action-runs/{param}` | " + "`actionRunId, query, Class or TypeReference responseType` | `@Nullable T` |" + ) + else: + doc_lines.append("| No catalogued operations | — | — | — | — |") + doc_lines.extend(["", "The generic `request(...)` methods and `Endpoints` constants remain available."]) + (docs_dir / f"{service}.md").write_text("\n".join(doc_lines) + "\n", encoding="utf-8") + + index_lines = [ + "# Service API reference", + "", + "Generated from the committed route catalog for SDK service clients.", + "", + "Call-shaped listing of every method: [methods as code](./methods-as-code.md).", + "", + "| Service | Routes | Reference |", + "| --- | ---: | --- |", + ] + for service, route_count in sorted(index_rows): + index_lines.append(f"| {service} | {route_count} | [{service}](./{service}.md) |") + (docs_dir / "README.md").write_text("\n".join(index_lines) + "\n", encoding="utf-8") + + annotation = ROOT / "services/src/main/java/dev/frontal/sdk/resources/SdkOperation.java" + annotation.write_text("""package dev.frontal.sdk; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +@interface SdkOperation { + String value(); +} +""", encoding="utf-8") def constant_name(method: str, path: str) -> str: @@ -59,8 +335,10 @@ def main() -> None: "public final class Endpoints {", " private Endpoints() {}", ] + endpoint_names: dict[tuple[str, str, str], str] = {} for service, enum_value in SERVICES.items(): group_name = "".join(part.title() for part in enum_value.split("_")) + service_routes = routes_for_sdk_service(routes, service) lines.extend( [ "", @@ -68,15 +346,17 @@ def main() -> None: f" private {group_name}() {{}}", ] ) - if routes[service]: + if service_routes: lines.append("") used: dict[str, int] = {} - for route in sorted(routes[service], key=lambda item: (item["method"], item["path"])): + for route in sorted(service_routes, key=lambda item: (item["method"], item["path"])): name = constant_name(route["method"], route["path"]) count = used.get(name, 0) used[name] = count + 1 if count: name = f"{name}_{count + 1}" + endpoint_names[(service, route["method"], route["path"])] = name + lines.append(f' /** Endpoint for {{@code {route["method"]} {route["path"]}}}. */') declaration = ( f' new Endpoint(ApiService.{enum_value}, ' f'HttpMethod.{route["method"]}, "{route["path"]}");' @@ -102,37 +382,47 @@ def main() -> None: lines.append(" }") lines.append("}") OUTPUT.write_text("\n".join(lines) + "\n", encoding="utf-8") - endpoint_count = sum(len(service_routes) for service_routes in routes.values()) + render_operation_clients(routes, endpoint_names, operation_metadata()) + contract_endpoint_count = sum(len(service_routes) for service_routes in routes.values()) + endpoint_count = sum( + len(routes_for_sdk_service(routes, service)) for service in SERVICES + ) + named_operation_count = sum(len(routes_for_sdk_service(routes, service)) for service in SERVICES) report = { "repository": "sdk-java", "language": "Java", - "status": "route-catalogued", - "contractEndpointEntries": endpoint_count, + "status": "named-operations", + "contractEndpointEntries": contract_endpoint_count, "generatedEndpointConstants": endpoint_count, - "catalogCoverage": "100%", + "namedOperationMethods": named_operation_count, + "supportedRouteCoverage": f"{named_operation_count}/{contract_endpoint_count}", "note": ( - "All routes in sdk-endpoints.json have generated endpoint constants and share the " - "generic SDK transport. Route-specific typed models are not generated because the " - "inventory does not provide complete schemas." + "Endpoint constants and named operations cover SDK service routes. " + "Payloads without usable schemas retain caller-provided JSON and response types." ), } CONFORMANCE.write_text(json.dumps(report, indent=2) + "\n", encoding="utf-8") MIGRATION_MATRIX.write_text( "# Java SDK route coverage\n\n" - "_Status: generated route catalog complete. This measures catalog coverage and generic " - "transport availability, not route-specific typed models._\n\n" + "_Status: generated route catalog and named operation surface complete. Typed models are " + "provided only where committed schemas are usable._\n\n" "| Metric | Value |\n| --- | ---: |\n" - f"| Contract endpoint entries | {endpoint_count} |\n" + f"| Contract endpoint entries | {contract_endpoint_count} |\n" f"| Generated endpoint constants | {endpoint_count} |\n" - "| Catalog coverage | 100% |\n" - "| Route-specific typed request/response models | Not generated |\n\n" + f"| Named operation methods for supported routes | {named_operation_count} |\n" + f"| Contract routes omitted from the SDK surface | {contract_endpoint_count - endpoint_count} |\n" + "| Operation-specific payload schemas usable | Limited by committed contract snapshots |\n\n" "`scripts/generate_endpoints.py` regenerates " "`services/src/main/java/dev/frontal/sdk/resources/Endpoints.java` from " - "`contracts/sdk-endpoints.json`. All catalogued routes use the shared Java transport; " + "`contracts/sdk-endpoints.json`, grouping agent-run operations with agents. SDK routes " + "use the shared Java transport; " "callers provide response types when decoding JSON.\n", encoding="utf-8", ) - print(f"Generated {endpoint_count} endpoint constants across {len(routes)} services.") + print( + f"Generated {endpoint_count} endpoint constants and {named_operation_count} " + f"named operations across supported services." + ) if __name__ == "__main__": diff --git a/sdk/src/main/java/dev/frontal/sdk/api/Frontal.java b/sdk/src/main/java/dev/frontal/sdk/api/Frontal.java index d6fe78b..93e9fe8 100644 --- a/sdk/src/main/java/dev/frontal/sdk/api/Frontal.java +++ b/sdk/src/main/java/dev/frontal/sdk/api/Frontal.java @@ -1,10 +1,12 @@ package dev.frontal.sdk; +import com.fasterxml.jackson.databind.ObjectMapper; import java.net.URI; import java.time.Duration; import java.util.EnumMap; import java.util.Map; import java.util.Objects; +import org.jspecify.annotations.Nullable; /** Root client. Every service accessor shares one configured transport. */ public final class Frontal implements AutoCloseable { @@ -33,7 +35,26 @@ public Frontal(ApiClient apiClient) { case AI -> new AiClient(apiClient); case AGENTS -> new AgentsClient(apiClient); case WORKFLOWS -> new WorkflowsClient(apiClient); - default -> new ServiceClient(service, apiClient); + case AUDIT -> new AuditClient(apiClient); + case AUTH -> new AuthClient(apiClient); + case BILLING -> new BillingClient(apiClient); + case BLOB -> new BlobClient(apiClient); + case CONNECTORS -> new ConnectorsClient(apiClient); + case CONNECTION_TESTS -> new ConnectionTestsClient(apiClient); + case DATA -> new DataClient(apiClient); + case EVENTS -> new EventsClient(apiClient); + case GOVERNANCE -> new GovernanceClient(apiClient); + case INVOCATIONS -> new InvocationsClient(apiClient); + case LINEAGE -> new LineageClient(apiClient); + case OBSERVABILITY -> new ObservabilityClient(apiClient); + case ONTOLOGY -> new OntologyClient(apiClient); + case PIPELINES -> new PipelinesClient(apiClient); + case PROVIDERS -> new ProvidersClient(apiClient); + case REACT -> new ReactClient(apiClient); + case SANDBOX -> new SandboxClient(apiClient); + case SCHEDULES -> new SchedulesClient(apiClient); + case WEBHOOKS -> new WebhooksClient(apiClient); + case WEBHOOK_ENDPOINTS -> new WebhookEndpointsClient(apiClient); }; services.put(service, serviceClient); } @@ -52,7 +73,12 @@ public ApiClient apiClient() { } public ServiceClient service(ApiService service) { - return Objects.requireNonNull(services.get(Objects.requireNonNull(service, "service"))); + ApiService requestedService = Objects.requireNonNull(service, "service"); + ServiceClient serviceClient = services.get(requestedService); + if (serviceClient == null) { + throw new IllegalArgumentException("Service is not available in this SDK: " + requestedService.value()); + } + return serviceClient; } public AgentsClient agents() { @@ -63,92 +89,84 @@ public AiClient ai() { return (AiClient) service(ApiService.AI); } - public ServiceClient audit() { - return service(ApiService.AUDIT); - } - - public ServiceClient actionRuns() { - return service(ApiService.ACTION_RUNS); + public AuditClient audit() { + return (AuditClient) service(ApiService.AUDIT); } - public ServiceClient auth() { - return service(ApiService.AUTH); + public AuthClient auth() { + return (AuthClient) service(ApiService.AUTH); } - public ServiceClient billing() { - return service(ApiService.BILLING); + public BillingClient billing() { + return (BillingClient) service(ApiService.BILLING); } - public ServiceClient blob() { - return service(ApiService.BLOB); + public BlobClient blob() { + return (BlobClient) service(ApiService.BLOB); } - public ServiceClient connectors() { - return service(ApiService.CONNECTORS); + public ConnectorsClient connectors() { + return (ConnectorsClient) service(ApiService.CONNECTORS); } - public ServiceClient connectionTests() { - return service(ApiService.CONNECTION_TESTS); + public ConnectionTestsClient connectionTests() { + return (ConnectionTestsClient) service(ApiService.CONNECTION_TESTS); } - public ServiceClient data() { - return service(ApiService.DATA); + public DataClient data() { + return (DataClient) service(ApiService.DATA); } - public ServiceClient events() { - return service(ApiService.EVENTS); + public EventsClient events() { + return (EventsClient) service(ApiService.EVENTS); } - public ServiceClient governance() { - return service(ApiService.GOVERNANCE); + public GovernanceClient governance() { + return (GovernanceClient) service(ApiService.GOVERNANCE); } - public ServiceClient lineage() { - return service(ApiService.LINEAGE); + public LineageClient lineage() { + return (LineageClient) service(ApiService.LINEAGE); } - public ServiceClient integrations() { - return service(ApiService.INTEGRATIONS); + public ObservabilityClient observability() { + return (ObservabilityClient) service(ApiService.OBSERVABILITY); } - public ServiceClient observability() { - return service(ApiService.OBSERVABILITY); + public OntologyClient ontology() { + return (OntologyClient) service(ApiService.ONTOLOGY); } - public ServiceClient ontology() { - return service(ApiService.ONTOLOGY); + public InvocationsClient invocations() { + return (InvocationsClient) service(ApiService.INVOCATIONS); } - public ServiceClient invocations() { - return service(ApiService.INVOCATIONS); + public PipelinesClient pipelines() { + return (PipelinesClient) service(ApiService.PIPELINES); } - public ServiceClient pipelines() { - return service(ApiService.PIPELINES); + public ProvidersClient providers() { + return (ProvidersClient) service(ApiService.PROVIDERS); } - public ServiceClient providers() { - return service(ApiService.PROVIDERS); + public ReactClient react() { + return (ReactClient) service(ApiService.REACT); } - public ServiceClient react() { - return service(ApiService.REACT); + public SandboxClient sandbox() { + return (SandboxClient) service(ApiService.SANDBOX); } - public ServiceClient sandbox() { - return service(ApiService.SANDBOX); + public SchedulesClient schedules() { + return (SchedulesClient) service(ApiService.SCHEDULES); } - public ServiceClient schedules() { - return service(ApiService.SCHEDULES); + public WebhooksClient webhooks() { + return (WebhooksClient) service(ApiService.WEBHOOKS); } - public ServiceClient webhooks() { - return service(ApiService.WEBHOOKS); - } - - public ServiceClient webhookEndpoints() { - return service(ApiService.WEBHOOK_ENDPOINTS); + public WebhookEndpointsClient webhookEndpoints() { + return (WebhookEndpointsClient) service(ApiService.WEBHOOK_ENDPOINTS); } public WorkflowsClient workflows() { @@ -163,6 +181,7 @@ public void close() { /** Fluent configuration for constructing a testable client. */ public static final class Builder { private final ClientConfig.Builder config = ClientConfig.builder(); + private @Nullable ObjectMapper objectMapper; private Builder() {} @@ -171,21 +190,22 @@ public Builder apiKey(String apiKey) { return this; } - public Builder baseUrl(String baseUrl) { + public Builder apiBaseUrl(String baseUrl) { config.apiBaseUrl(baseUrl); return this; } - public Builder baseUrl(URI baseUrl) { + public Builder apiBaseUrl(URI baseUrl) { config.apiBaseUrl(baseUrl); return this; } - public Builder apiBaseUrl(String baseUrl) { - return baseUrl(baseUrl); + public Builder aiBaseUrl(String baseUrl) { + config.aiBaseUrl(baseUrl); + return this; } - public Builder aiBaseUrl(String baseUrl) { + public Builder aiBaseUrl(URI baseUrl) { config.aiBaseUrl(baseUrl); return this; } @@ -195,16 +215,12 @@ public Builder environment(String environment) { return this; } - public Builder env(String environment) { - return environment(environment); - } - public Builder debug(boolean debug) { config.debug(debug); return this; } - public Builder timeout(Duration timeout) { + public Builder requestTimeout(Duration timeout) { config.requestTimeout(timeout); return this; } @@ -219,13 +235,45 @@ public Builder maxRetries(int attempts) { return this; } + public Builder maxResponseBytes(long maxResponseBytes) { + config.maxResponseBytes(maxResponseBytes); + return this; + } + + /** Sets the maximum raw error body retained for diagnostics. */ + public Builder maxErrorBodyBytes(int maxErrorBodyBytes) { + config.maxErrorBodyBytes(maxErrorBodyBytes); + return this; + } + + public Builder userAgent(String userAgent) { + config.userAgent(userAgent); + return this; + } + + public Builder headers(Map headers) { + config.headers(headers); + return this; + } + public Builder header(String name, String value) { config.header(name, value); return this; } + /** Supplies JSON settings; the SDK copies the mapper so later caller changes are isolated. */ + public Builder objectMapper(ObjectMapper objectMapper) { + this.objectMapper = + Objects.requireNonNull(objectMapper, "objectMapper").copy(); + return this; + } + public Frontal build() { - return new Frontal(config.build()); + ClientConfig builtConfig = config.build(); + @Nullable ObjectMapper configuredMapper = objectMapper; + return configuredMapper == null + ? new Frontal(builtConfig) + : new Frontal(new ApiClient(builtConfig, configuredMapper)); } } } diff --git a/sdk/src/test/java/dev/frontal/sdk/ApiClientTest.java b/sdk/src/test/java/dev/frontal/sdk/ApiClientTest.java index 1ba0adf..2ee81aa 100644 --- a/sdk/src/test/java/dev/frontal/sdk/ApiClientTest.java +++ b/sdk/src/test/java/dev/frontal/sdk/ApiClientTest.java @@ -3,10 +3,14 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; import java.io.InputStream; +import java.nio.charset.StandardCharsets; import java.time.Duration; import java.util.Map; import java.util.Objects; @@ -22,6 +26,8 @@ import org.junit.jupiter.api.Test; class ApiClientTest { + private static final ObjectMapper JSON = new ObjectMapper(); + private MockWebServer server; @BeforeEach @@ -60,6 +66,82 @@ void retriesSafeGetOnServerFailure() throws Exception { } } + @Test + void streamBodyRetriesSafeGetBeforeReturningTheBody() throws Exception { + server.enqueue(new MockResponse().setResponseCode(503).setBody("temporary")); + server.enqueue(new MockResponse().setBody("large response")); + try (Frontal client = client(1); + ApiStream response = client.agents() + .streamBody( + Endpoints.Agents.GET_AGENTS_HEALTH, java.util.List.of(), QueryParams.empty(), null)) { + assertEquals("large response", new String(response.body().readAllBytes(), StandardCharsets.UTF_8)); + assertEquals(2, server.getRequestCount()); + } + } + + @Test + void errorDiagnosticBodyIsBoundedAndMarksTruncation() { + server.enqueue(new MockResponse().setResponseCode(418).setBody("0123456789abcdef")); + try (Frontal client = Frontal.builder() + .apiKey("frt_test_key") + .apiBaseUrl(server.url("/v1").toString()) + .maxRetries(0) + .maxErrorBodyBytes(8) + .build()) { + ApiException error = org.junit.jupiter.api.Assertions.assertThrows( + ApiException.class, () -> client.agents().health(JsonNode.class)); + assertEquals("01234567", error.responseBody()); + assertTrue(error.responseBodyTruncated()); + } + } + + @Test + void generatedNamedServiceMethodUsesExactQueryWireNames() throws Exception { + server.enqueue(new MockResponse().setBody("{\"data\":[]}")); + try (Frontal client = client(0)) { + client.agents().getAgents(QueryParams.of("agentId", "agt_1"), JsonNode.class); + RecordedRequest request = server.takeRequest(1, TimeUnit.SECONDS); + assertEquals("agt_1", request.getRequestUrl().queryParameter("agentId")); + assertNull(request.getRequestUrl().queryParameter("agent_id")); + } + } + + @Test + void requestMapKeysRemainVerbatimOnTheJsonWire() throws Exception { + server.enqueue(new MockResponse().setBody("{}")); + try (Frontal client = client(0)) { + client.agents().create(JSON.valueToTree(Map.of("agentId", "agt_1")), JsonNode.class); + RecordedRequest request = server.takeRequest(1, TimeUnit.SECONDS); + assertEquals("{\"agentId\":\"agt_1\"}", request.getBody().readUtf8()); + } + } + + @Test + void customObjectMapperIsCopiedAndHonorsItsNamingStrategy() throws Exception { + server.enqueue(new MockResponse().setBody("{\"agent-id\":\"agt_1\"}")); + ObjectMapper mapper = new ObjectMapper().setPropertyNamingStrategy(PropertyNamingStrategies.KEBAB_CASE); + try (Frontal client = Frontal.builder() + .apiKey("frt_test_key") + .apiBaseUrl(server.url("/v1").toString()) + .objectMapper(mapper) + .maxRetries(0) + .build()) { + mapper.setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE); + CamelRequest response = Objects.requireNonNull(client.agents().health(CamelRequest.class)); + assertEquals("agt_1", response.agentId()); + } + } + + @Test + void veryLargeRetryAfterIsExposedWithoutMillisecondOverflow() { + server.enqueue(new MockResponse().setResponseCode(429).addHeader("Retry-After", Long.MAX_VALUE + "")); + try (Frontal client = client(0)) { + RateLimitException error = org.junit.jupiter.api.Assertions.assertThrows( + RateLimitException.class, () -> client.agents().health(JsonNode.class)); + assertEquals(Long.MAX_VALUE, error.retryAfter().toSeconds()); + } + } + @Test void doesNotRetryNonretryableServerStatus() { server.enqueue(new MockResponse().setResponseCode(501).setBody("not implemented")); @@ -98,12 +180,14 @@ void mapsValidationAndRateLimitErrors() { .setBody("{\"error\":{\"code\":\"RATE_LIMITED\",\"message\":\"slow down\"}}")); try (Frontal client = client(0)) { ValidationException validation = org.junit.jupiter.api.Assertions.assertThrows( - ValidationException.class, () -> client.agents().create(Map.of("name", "triage"), JsonNode.class)); + ValidationException.class, + () -> client.agents().create(JSON.valueToTree(Map.of("name", "triage")), JsonNode.class)); assertEquals("INVALID_AGENT", validation.code()); assertEquals(422, validation.statusCode()); RateLimitException rateLimit = org.junit.jupiter.api.Assertions.assertThrows( - RateLimitException.class, () -> client.agents().create(Map.of("name", "triage"), JsonNode.class)); + RateLimitException.class, + () -> client.agents().create(JSON.valueToTree(Map.of("name", "triage")), JsonNode.class)); assertEquals("RATE_LIMITED", rateLimit.code()); assertEquals(Duration.ofSeconds(2), rateLimit.retryAfter()); assertTrue(rateLimit.retryable()); @@ -117,7 +201,8 @@ void listPagesLoadLazilyAndKeepQueryOptions() throws Exception { server.enqueue(new MockResponse() .setBody("{\"data\":[{\"id\":\"agt_2\"}],\"pagination\":{\"cursor\":\"\",\"hasMore\":false}}")); try (Frontal client = client(0)) { - PageResult first = client.agents().list(Map.of("limit", 1), JsonNode.class); + PageResult first = + client.agents().list(QueryParams.builder().add("limit", 1).build(), JsonNode.class); PageResult second = Objects.requireNonNull(first.nextPage()); assertEquals("agt_1", first.data().get(0).path("id").asText()); assertEquals("agt_2", second.data().get(0).path("id").asText()); @@ -176,6 +261,40 @@ public void onComplete() { } } + @Test + void publisherCompletesWhenFinalEventEndsAtEofWithoutDelimiter() throws Exception { + server.enqueue(new MockResponse() + .addHeader("Content-Type", "text/event-stream") + .setBody("data: done")); + try (Frontal client = client(0)) { + CountDownLatch complete = new CountDownLatch(1); + AtomicReference received = new AtomicReference<>(); + client.agents().watch("run_eof").subscribe(new Flow.Subscriber<>() { + @Override + public void onSubscribe(Flow.Subscription value) { + value.request(1); + } + + @Override + public void onNext(String item) { + received.set(item); + } + + @Override + public void onError(Throwable throwable) { + complete.countDown(); + } + + @Override + public void onComplete() { + complete.countDown(); + } + }); + assertTrue(complete.await(2, TimeUnit.SECONDS)); + assertEquals("done", received.get()); + } + } + @Test void publisherCancellationReachesAnOpeningStream() throws Exception { CountDownLatch opening = new CountDownLatch(1); @@ -225,9 +344,11 @@ public void onComplete() {} private Frontal client(int retries) { return Frontal.builder() .apiKey("frt_test_key") - .baseUrl(server.url("/v1").toString()) - .timeout(Duration.ofSeconds(2)) + .apiBaseUrl(server.url("/v1").toString()) + .requestTimeout(Duration.ofSeconds(2)) .maxRetries(retries) .build(); } + + private record CamelRequest(String agentId) {} } diff --git a/sdk/src/test/java/dev/frontal/sdk/ContractCoverageTest.java b/sdk/src/test/java/dev/frontal/sdk/ContractCoverageTest.java index 41b01d9..744761b 100644 --- a/sdk/src/test/java/dev/frontal/sdk/ContractCoverageTest.java +++ b/sdk/src/test/java/dev/frontal/sdk/ContractCoverageTest.java @@ -8,12 +8,15 @@ import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.lang.reflect.Field; +import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.nio.file.Files; import java.nio.file.Path; import java.util.HashMap; import java.util.HashSet; +import java.util.Locale; import java.util.Map; +import java.util.Optional; import java.util.Set; import org.junit.jupiter.api.Test; @@ -26,10 +29,14 @@ void everyInventoryRouteHasExactlyOnePublicEndpointConstant() throws Exception { JsonNode inventory = read(CONTRACTS.resolve("sdk-endpoints.json")); Map expected = new HashMap<>(); inventory.fields().forEachRemaining(service -> { + Optional sdkService = sdkService(service.getKey()); + if (sdkService.isEmpty()) { + return; + } for (JsonNode route : service.getValue()) { expected.merge( key( - service.getKey(), + sdkService.orElseThrow(), route.path("method").asText(), route.path("path").asText()), 1, @@ -67,14 +74,13 @@ void everyAiOpenApiOperationMapsToAnAiEndpoint() throws Exception { for (var methods = path.getValue().fields(); methods.hasNext(); ) { var operation = methods.next(); String method = operation.getKey().toUpperCase(java.util.Locale.ROOT); - if (!Set.of("GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS") + if (Set.of("GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS") .contains(method)) { - continue; + operationCount++; + assertTrue( + endpoints.contains(method + " " + path.getKey()), + () -> "No AI endpoint for OpenAPI operation " + method + " " + path.getKey()); } - operationCount++; - assertTrue( - endpoints.contains(method + " " + path.getKey()), - () -> "No AI endpoint for OpenAPI operation " + method + " " + path.getKey()); } } assertEquals(7, operationCount); @@ -99,19 +105,90 @@ void publicApiSnapshotOperationsRemainIdentifiedAndReadable() throws Exception { for (var methods = path.getValue().fields(); methods.hasNext(); ) { var operation = methods.next(); String method = operation.getKey().toUpperCase(java.util.Locale.ROOT); - if (!Set.of("GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS") + if (Set.of("GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS") .contains(method)) { - continue; + String operationId = + operation.getValue().path("operationId").asText(); + assertFalse(operationId.isBlank(), "OpenAPI operation is missing its operationId"); + assertTrue(operationIds.add(operationId), "Duplicate OpenAPI operationId: " + operationId); + String service = operation.getValue().path("tags").path(0).asText(); + sdkService(service) + .ifPresent(sdkService -> assertTrue( + endpointRoutes.contains( + key(sdkService, method, normalizePublicPath(path.getKey()))), + () -> "No Java endpoint for OpenAPI operation " + method + " " + path.getKey())); + } + } + } + } + + @Test + void everyInventoryRouteHasANamedOperationMethod() throws Exception { + JsonNode inventory = read(CONTRACTS.resolve("sdk-endpoints.json")); + Set expected = new HashSet<>(); + inventory.fields().forEachRemaining(service -> { + Optional sdkService = sdkService(service.getKey()); + if (sdkService.isEmpty()) { + return; + } + for (JsonNode route : service.getValue()) { + expected.add( + sdkService.orElseThrow() + "|" + route.path("method").asText() + "|" + + route.path("path").asText()); + } + }); + + Set actual = new HashSet<>(); + for (String service : Set.of( + "agents", + "ai", + "audit", + "auth", + "billing", + "blob", + "connectors", + "connection-tests", + "data", + "events", + "governance", + "invocations", + "lineage", + "observability", + "ontology", + "pipelines", + "providers", + "react", + "sandbox", + "schedules", + "webhooks", + "webhook-endpoints", + "workflows")) { + String prefix = + switch (service) { + case "agents", "ai", "workflows" -> + service.substring(0, 1).toUpperCase(Locale.ROOT) + service.substring(1) + "ServiceClient"; + default -> + java.util.Arrays.stream(service.split("[-_]")) + .map(part -> + part.substring(0, 1).toUpperCase(Locale.ROOT) + part.substring(1)) + .collect(java.util.stream.Collectors.joining()) + + "Client"; + }; + Class clientType = Class.forName("dev.frontal.sdk." + prefix); + for (Method method : clientType.getDeclaredMethods()) { + SdkOperation operation = method.getAnnotation(SdkOperation.class); + if (operation != null) { + actual.add(operation.value()); } - String operationId = operation.getValue().path("operationId").asText(); - assertFalse(operationId.isBlank(), "OpenAPI operation is missing its operationId"); - assertTrue(operationIds.add(operationId), "Duplicate OpenAPI operationId: " + operationId); - String service = operation.getValue().path("tags").path(0).asText(); - assertTrue( - endpointRoutes.contains(key(service, method, normalizePublicPath(path.getKey()))), - () -> "No Java endpoint for OpenAPI operation " + method + " " + path.getKey()); } } + for (Method method : AgentsClient.class.getDeclaredMethods()) { + SdkOperation operation = method.getAnnotation(SdkOperation.class); + if (operation != null) { + actual.add(operation.value()); + } + } + assertEquals(expected, actual, "Generated named-operation clients drifted from the route inventory"); } private static JsonNode read(Path path) throws IOException { @@ -123,6 +200,16 @@ private static String key(String service, String method, String path) { return service + "|" + method + "|" + path; } + private static Optional sdkService(String contractService) { + String service = contractService.equals("action-runs") ? "agents" : contractService; + for (ApiService apiService : ApiService.values()) { + if (apiService.value().equals(service)) { + return Optional.of(service); + } + } + return Optional.empty(); + } + private static String normalizePublicPath(String path) { String normalized = path.startsWith("/v1/") ? path.substring(3) : path; return normalized.replaceAll("\\{[^{}]+}", "{param}"); diff --git a/sdk/src/test/java/dev/frontal/sdk/ReadmeExamplesTest.java b/sdk/src/test/java/dev/frontal/sdk/ReadmeExamplesTest.java index 270ebf9..da811b1 100644 --- a/sdk/src/test/java/dev/frontal/sdk/ReadmeExamplesTest.java +++ b/sdk/src/test/java/dev/frontal/sdk/ReadmeExamplesTest.java @@ -84,18 +84,31 @@ private void runExample(String snippet, String label) throws Exception { private String wrap(String snippet) { return """ + import dev.frontal.sdk.ApiService; + import dev.frontal.sdk.ApiStream; + import dev.frontal.sdk.Endpoint; + import dev.frontal.sdk.FrontalException; import com.fasterxml.jackson.databind.JsonNode; + import dev.frontal.sdk.HttpMethod; import dev.frontal.sdk.Frontal; import dev.frontal.sdk.PageResult; + import dev.frontal.sdk.QueryParams; + import dev.frontal.sdk.RateLimitException; + import java.io.ByteArrayOutputStream; + import java.io.OutputStream; + import java.util.List; import java.util.Map; public class ReadmeQuickstart { public static void run() throws Exception { okhttp3.mockwebserver.MockWebServer mock = new okhttp3.mockwebserver.MockWebServer(); mock.start(); mock.enqueue(new okhttp3.mockwebserver.MockResponse().setBody(\"{\\\"id\\\":\\\"agt_123\\\",\\\"name\\\":\\\"triage\\\",\\\"data\\\":[{\\\"id\\\":\\\"agt_123\\\",\\\"name\\\":\\\"triage\\\"}]}\")); + Frontal f = Frontal.builder().apiKey(\"frt_test_key\").apiBaseUrl(mock.url(\"/v1\").toString()).build(); + OutputStream outputStream = new ByteArrayOutputStream(); try { %s } finally { + f.close(); mock.shutdown(); } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsClient.java index 3deee78..23b5289 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AgentsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsClient.java @@ -1,23 +1,23 @@ package dev.frontal.sdk; +import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.time.Duration; import java.util.ArrayList; -import java.util.LinkedHashMap; import java.util.List; -import java.util.Map; import java.util.Objects; import java.util.concurrent.Flow; +import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Agent definitions, executions, conversation history, and event streaming. */ -public final class AgentsClient extends ServiceClient { +public final class AgentsClient extends AgentsServiceClient { AgentsClient(ApiClient client) { - super(ApiService.AGENTS, client); + super(client); } - public PageResult list(Map query, Class itemType) throws IOException, InterruptedException { + public PageResult list(QueryParams query, Class itemType) throws IOException, InterruptedException { return fetchPage(query, itemType); } @@ -25,22 +25,54 @@ public PageResult list(Map query, Class itemType) throws IO return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(agentId), responseType); } - public @Nullable T create(Object definition, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS, List.of(), Map.of(), definition, responseType); + /** + * Retrieves an agent run by its identifier. + * @param decoded response type + * @param actionRunId identifier of the agent run + * @param query query parameters supported by the operation + * @param responseType class used to decode the response + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation is interrupted + */ + @SdkOperation("agents|GET|/action-runs/{param}") + public @Nullable T getActionRun(String actionRunId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_ACTION_RUNS_PARAM, List.of(actionRunId), query, null, responseType); + } + + /** + * Retrieves an agent run using a generic response type. + * @param decoded response type + * @param actionRunId identifier of the agent run + * @param query query parameters supported by the operation + * @param responseType type reference used to decode the response + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation is interrupted + */ + public @Nullable T getActionRun(String actionRunId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_ACTION_RUNS_PARAM, List.of(actionRunId), query, null, responseType); + } + + public @Nullable T create(JsonNode definition, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS, List.of(), QueryParams.empty(), definition, responseType); } - public @Nullable T update(String agentId, Object update, Class responseType) + public @Nullable T update(String agentId, JsonNode update, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(agentId), Map.of(), update, responseType); + return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(agentId), QueryParams.empty(), update, responseType); } public void delete(String agentId) throws IOException, InterruptedException { - requestBytes(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(agentId), Map.of(), null); + requestBytes(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(agentId), QueryParams.empty(), null); } - public @Nullable T createRun(String agentId, Object input, Class responseType) + public @Nullable T createRun(String agentId, JsonNode input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(agentId), Map.of(), input, responseType); + return request( + Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(agentId), QueryParams.empty(), input, responseType); } public @Nullable T run(String runId, Class responseType) throws IOException, InterruptedException { @@ -56,14 +88,15 @@ public void delete(String agentId) throws IOException, InterruptedException { } public Flow.Publisher watch(String runId) { - return streamPublisher(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(runId), Map.of()); + return streamPublisher(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(runId), QueryParams.empty()); } public SseEventIterator watchBlocking(String runId) throws IOException, InterruptedException { - return streamEvents(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(runId), Map.of()); + return streamEvents(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(runId), QueryParams.empty()); } - public JsonNode waitForCompletion(String runId, Duration interval, Duration timeout) throws Exception { + public JsonNode waitForCompletion(String runId, Duration interval, Duration timeout) + throws IOException, InterruptedException, TimeoutException { return Poller.pollUntil( () -> Objects.requireNonNull(run(runId, JsonNode.class), "Agent run response was empty"), result -> { @@ -75,9 +108,9 @@ public JsonNode waitForCompletion(String runId, Duration interval, Duration time timeout); } - private PageResult fetchPage(Map options, Class itemType) + private PageResult fetchPage(QueryParams options, Class itemType) throws IOException, InterruptedException { - Map query = options == null ? Map.of() : Map.copyOf(options); + QueryParams query = Objects.requireNonNull(options, "query"); JsonNode response = Objects.requireNonNull( request(Endpoints.Agents.GET_AGENTS, List.of(), query, null, JsonNode.class), "Agent list response was empty"); @@ -98,10 +131,9 @@ private PageResult fetchPage(Map options, Class itemType) metadata.path("hasMore").asBoolean(metadata.path("has_more").asBoolean(!cursor.isBlank())); Long total = metadata.has("total") ? metadata.path("total").asLong() : null; return new PageResult<>(data, new Pagination(cursor, more, total), next -> { - Map nextQuery = new LinkedHashMap<>(); - query.forEach(nextQuery::put); - nextQuery.put("cursor", next); - return fetchPage(nextQuery, itemType); + QueryParams.Builder nextQuery = QueryParams.builder(); + query.values().forEach((name, values) -> values.forEach(value -> nextQuery.add(name, value))); + return fetchPage(nextQuery.add("cursor", next).build(), itemType); }); } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java new file mode 100644 index 0000000..bfd17d9 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java @@ -0,0 +1,422 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.Flow; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the agents service. Generated by scripts/generate_endpoints.py. */ +public class AgentsServiceClient extends ServiceClient { + AgentsServiceClient(ApiClient client) { + super(ApiService.AGENTS, client); + } + + /** + * Calls the contract route {@code DELETE /agents/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|DELETE|/agents/{param}") + public @Nullable T deleteAgentsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /agents/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAgentsParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents") + public @Nullable T getAgents(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAgents(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/health") + public @Nullable T getAgentsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAgentsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/runs/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/runs/{param}") + public @Nullable T getAgentsRunsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/runs/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAgentsRunsParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/runs/{param}/conversation}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/runs/{param}/conversation") + public @Nullable T getAgentsRunsParamConversation(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/runs/{param}/conversation}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAgentsRunsParamConversation( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/{param}") + public @Nullable T getAgentsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAgentsParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/{param}/runs}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/{param}/runs") + public @Nullable T getAgentsParamRuns(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM_RUNS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/{param}/runs}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAgentsParamRuns(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM_RUNS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/{param}/versions}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/{param}/versions") + public @Nullable T getAgentsParamVersions(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM_VERSIONS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /agents/{param}/versions}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAgentsParamVersions(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM_VERSIONS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /agents}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|POST|/agents") + public @Nullable T postAgents(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /agents}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAgents(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /agents/{param}/rollback}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|POST|/agents/{param}/rollback") + public @Nullable T postAgentsParamRollback( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS_PARAM_ROLLBACK, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /agents/{param}/rollback}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAgentsParamRollback( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS_PARAM_ROLLBACK, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /agents/{param}/runs}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|POST|/agents/{param}/runs") + public @Nullable T postAgentsParamRuns( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /agents/{param}/runs}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAgentsParamRuns( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /agents/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|PUT|/agents/{param}") + public @Nullable T putAgentsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /agents/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putAgentsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Opens the event stream for {@code STREAM /agents/runs/{param}/stream}. + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @return a publisher that emits event data + */ + @SdkOperation("agents|STREAM|/agents/runs/{param}/stream") + public Flow.Publisher streamAgentsRunsParamStream(String pathParam1, QueryParams query) { + return streamPublisher(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(pathParam1), query); + } + + /** + * Opens a blocking event stream for {@code STREAM /agents/runs/{param}/stream}. + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator streamAgentsRunsParamStreamBlocking(String pathParam1, QueryParams query) + throws IOException, InterruptedException { + return streamEvents(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(pathParam1), query); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiClient.java index 8cbac65..50c914c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AiClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AiClient.java @@ -1,5 +1,7 @@ package dev.frontal.sdk; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ObjectNode; import java.io.IOException; import java.nio.file.Path; import java.util.List; @@ -7,54 +9,60 @@ import org.jspecify.annotations.Nullable; /** Frontal AI gateway operations backed by the AI OpenAPI snapshot. */ -public final class AiClient extends ServiceClient { +public final class AiClient extends AiServiceClient { AiClient(ApiClient client) { - super(ApiService.AI, client); + super(client); } public @Nullable T health(Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_HEALTH, List.of(), Map.of(), null, responseType); + return request(Endpoints.Ai.GET_HEALTH, List.of(), QueryParams.empty(), null, responseType); } public @Nullable T listModels(Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), Map.of(), null, responseType); + return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), QueryParams.empty(), null, responseType); } public @Nullable T modelDefaults(Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), Map.of(), null, responseType); + return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), QueryParams.empty(), null, responseType); } - public @Nullable T chatCompletion(Object input, Class responseType) + public @Nullable T chatCompletion(JsonNode input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), Map.of(), input, responseType); + return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), QueryParams.empty(), input, responseType); } public @Nullable T generateText(String model, String prompt, Class responseType) throws IOException, InterruptedException { - Map message = Map.of("role", "user", "content", prompt); - Map body = Map.of("model", model, "messages", List.of(message)); + ObjectNode body = client().objectMapper().createObjectNode(); + body.put("model", model); + body.putArray("messages").addObject().put("role", "user").put("content", prompt); return chatCompletion(body, responseType); } - public @Nullable T embeddings(Object input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), Map.of(), input, responseType); + public @Nullable T embeddings(JsonNode input, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), QueryParams.empty(), input, responseType); } - public @Nullable T predict(Object input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), Map.of(), input, responseType); + public @Nullable T predict(JsonNode input, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), QueryParams.empty(), input, responseType); } - public @Nullable T rerank(Object input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), Map.of(), input, responseType); + public @Nullable T rerank(JsonNode input, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), QueryParams.empty(), input, responseType); } public @Nullable T predictForm(Map fields, Map files, Class responseType) throws IOException, InterruptedException { return requestForm( - Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), Map.of(), fields, files, responseType); + Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, + List.of(), + QueryParams.empty(), + fields, + files, + responseType); } public byte[] predictRaw(byte[] input) throws IOException, InterruptedException { - return requestBytes(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), Map.of(), input); + return requestRawBytes(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), QueryParams.empty(), input); } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java new file mode 100644 index 0000000..60a8ab9 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java @@ -0,0 +1,298 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.nio.file.Path; +import java.util.List; +import java.util.Map; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the ai service. Generated by scripts/generate_endpoints.py. */ +public class AiServiceClient extends ServiceClient { + AiServiceClient(ApiClient client) { + super(ApiService.AI, client); + } + + /** + * Calls the contract route {@code GET /health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|GET|/health") + public @Nullable T getHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /internal/models}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|GET|/internal/models") + public @Nullable T getInternalModels(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /internal/models}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInternalModels(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /internal/models/defaults}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|GET|/internal/models/defaults") + public @Nullable T getInternalModelsDefaults(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /internal/models/defaults}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInternalModelsDefaults(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /ai/chat/completions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POST|/ai/chat/completions") + public @Nullable T postAiChatCompletions(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ai/chat/completions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAiChatCompletions( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /internal/embeddings}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POST|/internal/embeddings") + public @Nullable T postInternalEmbeddings(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /internal/embeddings}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postInternalEmbeddings( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POST|/internal/predictions") + public @Nullable T postInternalPredictions(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postInternalPredictions( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /internal/rerank}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POST|/internal/rerank") + public @Nullable T postInternalRerank(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /internal/rerank}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postInternalRerank(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POSTFORMDATA /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POSTFORMDATA|/internal/predictions") + public @Nullable T postformdataInternalPredictions( + QueryParams query, Map fields, Map files, Class responseType) + throws IOException, InterruptedException { + return requestForm( + Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); + } + + /** + * Calls the contract route {@code POSTFORMDATA /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postformdataInternalPredictions( + QueryParams query, Map fields, Map files, TypeReference responseType) + throws IOException, InterruptedException { + return requestForm( + Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); + } + + /** + * Calls the contract route {@code POSTRAW /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POSTRAW|/internal/predictions") + public @Nullable T postrawInternalPredictions(QueryParams query, byte[] body, Class responseType) + throws IOException, InterruptedException { + return requestRaw(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POSTRAW /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postrawInternalPredictions(QueryParams query, byte[] body, TypeReference responseType) + throws IOException, InterruptedException { + return requestRaw(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java new file mode 100644 index 0000000..585ec8e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java @@ -0,0 +1,137 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the audit service. Generated by scripts/generate_endpoints.py. */ +public final class AuditClient extends ServiceClient { + AuditClient(ApiClient client) { + super(ApiService.AUDIT, client); + } + + /** + * Calls the contract route {@code GET /audit/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("audit|GET|/audit/events") + public @Nullable T getAuditEvents(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Audit.GET_AUDIT_EVENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /audit/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuditEvents(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Audit.GET_AUDIT_EVENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /audit/events/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("audit|GET|/audit/events/{param}") + public @Nullable T getAuditEventsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Audit.GET_AUDIT_EVENTS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /audit/events/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuditEventsParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Audit.GET_AUDIT_EVENTS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /audit/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("audit|POST|/audit/events") + public @Nullable T postAuditEvents(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Audit.POST_AUDIT_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /audit/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuditEvents(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Audit.POST_AUDIT_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /audit/events/batch}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("audit|POST|/audit/events/batch") + public @Nullable T postAuditEventsBatch(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Audit.POST_AUDIT_EVENTS_BATCH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /audit/events/batch}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuditEventsBatch( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Audit.POST_AUDIT_EVENTS_BATCH, List.of(), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java new file mode 100644 index 0000000..710deeb --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java @@ -0,0 +1,2175 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the auth service. Generated by scripts/generate_endpoints.py. */ +public final class AuthClient extends ServiceClient { + AuthClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code DELETE /auth/account/mfa/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/mfa/{param}") + public @Nullable T deleteAuthAccountMfaParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_MFA_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/mfa/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthAccountMfaParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_MFA_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/profile") + public @Nullable T deleteAuthAccountProfile(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthAccountProfile(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/security/api-keys/{param}") + public @Nullable T deleteAuthAccountSecurityApiKeysParam( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthAccountSecurityApiKeysParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/security/devices/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/security/devices/{param}") + public @Nullable T deleteAuthAccountSecurityDevicesParam( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/security/devices/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthAccountSecurityDevicesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/sessions/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/sessions/{param}") + public @Nullable T deleteAuthAccountSessionsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/account/sessions/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthAccountSessionsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/admin/users/{param}") + public @Nullable T deleteAuthAdminUsersParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthAdminUsersParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/admin/users/{param}/factors/{param}") + public @Nullable T deleteAuthAdminUsersParamFactorsParam( + String pathParam1, String pathParam2, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, + List.of(pathParam1, pathParam2), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthAdminUsersParamFactorsParam( + String pathParam1, String pathParam2, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, + List.of(pathParam1, pathParam2), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/factors/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/factors/{param}") + public @Nullable T deleteAuthFactorsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_FACTORS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/factors/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthFactorsParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_FACTORS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/user/identities/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/user/identities/{param}") + public @Nullable T deleteAuthUserIdentitiesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /auth/user/identities/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteAuthUserIdentitiesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/audit-log}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/audit-log") + public @Nullable T getAuthAccountAuditLog(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_AUDIT_LOG, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/audit-log}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountAuditLog(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_AUDIT_LOG, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/mfa}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/mfa") + public @Nullable T getAuthAccountMfa(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/mfa}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountMfa(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/mfa/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/mfa/{param}") + public @Nullable T getAuthAccountMfaParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/mfa/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountMfaParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/profile") + public @Nullable T getAuthAccountProfile(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountProfile(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/api-keys}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/security/api-keys") + public @Nullable T getAuthAccountSecurityApiKeys(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/api-keys}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountSecurityApiKeys(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/security/api-keys/{param}") + public @Nullable T getAuthAccountSecurityApiKeysParam( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountSecurityApiKeysParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/devices}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/security/devices") + public @Nullable T getAuthAccountSecurityDevices(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/devices}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountSecurityDevices(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/devices/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/security/devices/{param}") + public @Nullable T getAuthAccountSecurityDevicesParam( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/devices/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountSecurityDevicesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/sessions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/sessions") + public @Nullable T getAuthAccountSessions(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SESSIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/sessions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAccountSessions(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SESSIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/admin/users") + public @Nullable T getAuthAdminUsers(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAdminUsers(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/admin/users/{param}") + public @Nullable T getAuthAdminUsersParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAdminUsersParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users/{param}/factors}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/admin/users/{param}/factors") + public @Nullable T getAuthAdminUsersParamFactors(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM_FACTORS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users/{param}/factors}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAdminUsersParamFactors( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM_FACTORS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/auth/session}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/auth/session") + public @Nullable T getAuthAuthSession(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_AUTH_SESSION, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/auth/session}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthAuthSession(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_AUTH_SESSION, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/factors}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/factors") + public @Nullable T getAuthFactors(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_FACTORS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/factors}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthFactors(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_FACTORS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/mfa/status}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/mfa/status") + public @Nullable T getAuthMfaStatus(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_MFA_STATUS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/mfa/status}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthMfaStatus(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_MFA_STATUS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/user}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/user") + public @Nullable T getAuthUser(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_USER, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/user}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthUser(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_USER, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/user/identities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/user/identities") + public @Nullable T getAuthUserIdentities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_USER_IDENTITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /auth/user/identities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuthUserIdentities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_USER_IDENTITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/mfa") + public @Nullable T postAuthAccountMfa(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAccountMfa(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/challenge}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/mfa/{param}/challenge") + public @Nullable T postAuthAccountMfaParamChallenge( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/challenge}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAccountMfaParamChallenge( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/verify}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/mfa/{param}/verify") + public @Nullable T postAuthAccountMfaParamVerify( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/verify}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAccountMfaParamVerify( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/password}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/password") + public @Nullable T postAuthAccountPassword(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_PASSWORD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/password}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAccountPassword( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_PASSWORD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/api-keys}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/security/api-keys") + public @Nullable T postAuthAccountSecurityApiKeys( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/api-keys}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAccountSecurityApiKeys( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/devices}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/security/devices") + public @Nullable T postAuthAccountSecurityDevices( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/devices}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAccountSecurityDevices( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/security/devices/{param}/trust") + public @Nullable T postAuthAccountSecurityDevicesParamTrust( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAccountSecurityDevicesParamTrust( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/sessions/{param}/extend}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/sessions/{param}/extend") + public @Nullable T postAuthAccountSessionsParamExtend( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/sessions/{param}/extend}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAccountSessionsParamExtend( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/admin/generate_link}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/admin/generate_link") + public @Nullable T postAuthAdminGenerateLink(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_GENERATE_LINK, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/admin/generate_link}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAdminGenerateLink( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_GENERATE_LINK, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/admin/logout}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/admin/logout") + public @Nullable T postAuthAdminLogout(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_LOGOUT, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/admin/logout}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAdminLogout( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_LOGOUT, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/admin/users}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/admin/users") + public @Nullable T postAuthAdminUsers(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_USERS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/admin/users}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAdminUsers(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_USERS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/auth/session}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/auth/session") + public @Nullable T postAuthAuthSession(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_AUTH_SESSION, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/auth/session}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAuthSession( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_AUTH_SESSION, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/authorize}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/authorize") + public @Nullable T postAuthAuthorize(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_AUTHORIZE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/authorize}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthAuthorize(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_AUTHORIZE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/factors") + public @Nullable T postAuthFactors(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthFactors(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors/{param}/challenge}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/factors/{param}/challenge") + public @Nullable T postAuthFactorsParamChallenge( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_FACTORS_PARAM_CHALLENGE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors/{param}/challenge}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthFactorsParamChallenge( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_FACTORS_PARAM_CHALLENGE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors/{param}/verify}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/factors/{param}/verify") + public @Nullable T postAuthFactorsParamVerify( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_VERIFY, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors/{param}/verify}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthFactorsParamVerify( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_VERIFY, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/invite}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/invite") + public @Nullable T postAuthInvite(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_INVITE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/invite}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthInvite(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_INVITE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/login}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/login") + public @Nullable T postAuthLogin(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_LOGIN, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/login}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthLogin(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_LOGIN, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/logout}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/logout") + public @Nullable T postAuthLogout(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_LOGOUT, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/logout}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthLogout(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_LOGOUT, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/backup-codes/regenerate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/backup-codes/regenerate") + public @Nullable T postAuthMfaBackupCodesRegenerate( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_BACKUP_CODES_REGENERATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/backup-codes/regenerate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthMfaBackupCodesRegenerate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_BACKUP_CODES_REGENERATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/disable}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/disable") + public @Nullable T postAuthMfaDisable(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_DISABLE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/disable}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthMfaDisable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_DISABLE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/enable}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/enable") + public @Nullable T postAuthMfaEnable(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_ENABLE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/enable}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthMfaEnable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_ENABLE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/setup}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/setup") + public @Nullable T postAuthMfaSetup(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_SETUP, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/setup}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthMfaSetup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_SETUP, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/verify}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/verify") + public @Nullable T postAuthMfaVerify(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_VERIFY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/verify}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthMfaVerify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_VERIFY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/otp}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/otp") + public @Nullable T postAuthOtp(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_OTP, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/otp}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthOtp(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_OTP, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/reauthenticate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/reauthenticate") + public @Nullable T postAuthReauthenticate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_REAUTHENTICATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/reauthenticate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthReauthenticate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_REAUTHENTICATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/recover}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/recover") + public @Nullable T postAuthRecover(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_RECOVER, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/recover}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthRecover(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_RECOVER, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/resend}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/resend") + public @Nullable T postAuthResend(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_RESEND, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/resend}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthResend(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_RESEND, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/signup}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/signup") + public @Nullable T postAuthSignup(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_SIGNUP, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/signup}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthSignup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_SIGNUP, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/sso}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/sso") + public @Nullable T postAuthSso(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_SSO, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/sso}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthSso(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_SSO, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/token?grant_type=id_token}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/token?grant_type=id_token") + public @Nullable T postAuthTokenGrantTypeIdToken( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/token?grant_type=id_token}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthTokenGrantTypeIdToken( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/token?grant_type=password}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/token?grant_type=password") + public @Nullable T postAuthTokenGrantTypePassword( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/token?grant_type=password}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthTokenGrantTypePassword( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/token?grant_type=pkce}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/token?grant_type=pkce") + public @Nullable T postAuthTokenGrantTypePkce(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PKCE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/token?grant_type=pkce}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthTokenGrantTypePkce( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PKCE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/token?grant_type=refresh_token}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/token?grant_type=refresh_token") + public @Nullable T postAuthTokenGrantTypeRefreshToken( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/token?grant_type=refresh_token}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthTokenGrantTypeRefreshToken( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/user/identities}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/user/identities") + public @Nullable T postAuthUserIdentities(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_USER_IDENTITIES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/user/identities}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthUserIdentities( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_USER_IDENTITIES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/verify}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/verify") + public @Nullable T postAuthVerify(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_VERIFY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/verify}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAuthVerify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_VERIFY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|PUT|/auth/account/profile") + public @Nullable T putAuthAccountProfile(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_PROFILE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putAuthAccountProfile( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_PROFILE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|PUT|/auth/account/security/api-keys/{param}") + public @Nullable T putAuthAccountSecurityApiKeysParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putAuthAccountSecurityApiKeysParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /auth/admin/users/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|PUT|/auth/admin/users/{param}") + public @Nullable T putAuthAdminUsersParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/admin/users/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putAuthAdminUsersParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/user}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|PUT|/auth/user") + public @Nullable T putAuthUser(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_USER, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/user}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putAuthUser(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_USER, List.of(), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java new file mode 100644 index 0000000..651b571 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java @@ -0,0 +1,904 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the billing service. Generated by scripts/generate_endpoints.py. */ +public final class BillingClient extends ServiceClient { + BillingClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/addons/{param}/entitlements}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/addons/{param}/entitlements") + public @Nullable T getBillingAddonsParamEntitlements( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/addons/{param}/entitlements}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingAddonsParamEntitlements( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/portal/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/portal/{param}") + public @Nullable T getBillingCustomersPortalParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/portal/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingCustomersPortalParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/entitlements}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/{param}/entitlements") + public @Nullable T getBillingCustomersParamEntitlements( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/entitlements}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingCustomersParamEntitlements( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/{param}/invoices/summary") + public @Nullable T getBillingCustomersParamInvoicesSummary( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingCustomersParamInvoicesSummary( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/usage}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/{param}/usage") + public @Nullable T getBillingCustomersParamUsage(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/usage}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingCustomersParamUsage( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/wallets}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/{param}/wallets") + public @Nullable T getBillingCustomersParamWallets(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/wallets}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingCustomersParamWallets( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/plans/{param}/entitlements}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/plans/{param}/entitlements") + public @Nullable T getBillingPlansParamEntitlements(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/plans/{param}/entitlements}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingPlansParamEntitlements( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/prices/lookup/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/prices/lookup/{param}") + public @Nullable T getBillingPricesLookupParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_PRICES_LOOKUP_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/prices/lookup/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingPricesLookupParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_PRICES_LOOKUP_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/subscriptions/{param}/entitlements") + public @Nullable T getBillingSubscriptionsParamEntitlements( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingSubscriptionsParamEntitlements( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/wallets/{param}/balance/real-time") + public @Nullable T getBillingWalletsParamBalanceRealTime( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingWalletsParamBalanceRealTime( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/wallets/{param}/transactions}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/wallets/{param}/transactions") + public @Nullable T getBillingWalletsParamTransactions( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /billing/wallets/{param}/transactions}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBillingWalletsParamTransactions( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GETRAW|/billing/invoices/{param}/pdf") + public @Nullable T getrawBillingInvoicesParamPdf(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getrawBillingInvoicesParamPdf( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/preview}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/invoices/preview") + public @Nullable T postBillingInvoicesPreview(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_INVOICES_PREVIEW, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/preview}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingInvoicesPreview( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_INVOICES_PREVIEW, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/{param}/finalize}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/invoices/{param}/finalize") + public @Nullable T postBillingInvoicesParamFinalize( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/{param}/finalize}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingInvoicesParamFinalize( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/{param}/void}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/invoices/{param}/void") + public @Nullable T postBillingInvoicesParamVoid( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/{param}/void}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingInvoicesParamVoid( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/meters/{param}/disable}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/meters/{param}/disable") + public @Nullable T postBillingMetersParamDisable( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/meters/{param}/disable}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingMetersParamDisable( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/plans/{param}/clone}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/plans/{param}/clone") + public @Nullable T postBillingPlansParamClone( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_PLANS_PARAM_CLONE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/plans/{param}/clone}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingPlansParamClone( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_PLANS_PARAM_CLONE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/activate}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/subscriptions/{param}/activate") + public @Nullable T postBillingSubscriptionsParamActivate( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/activate}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingSubscriptionsParamActivate( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/subscriptions/{param}/cancel") + public @Nullable T postBillingSubscriptionsParamCancel( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingSubscriptionsParamCancel( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/pause}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/subscriptions/{param}/pause") + public @Nullable T postBillingSubscriptionsParamPause( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/pause}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingSubscriptionsParamPause( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/resume}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/subscriptions/{param}/resume") + public @Nullable T postBillingSubscriptionsParamResume( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/resume}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingSubscriptionsParamResume( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /billing/wallets/{param}/terminate}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/wallets/{param}/terminate") + public @Nullable T postBillingWalletsParamTerminate( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/wallets/{param}/terminate}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingWalletsParamTerminate( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/wallets/{param}/top-up}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/wallets/{param}/top-up") + public @Nullable T postBillingWalletsParamTopUp( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/wallets/{param}/top-up}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBillingWalletsParamTopUp( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(pathParam1), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java new file mode 100644 index 0000000..5a211c1 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java @@ -0,0 +1,352 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.nio.file.Path; +import java.util.List; +import java.util.Map; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the blob service. Generated by scripts/generate_endpoints.py. */ +public final class BlobClient extends ServiceClient { + BlobClient(ApiClient client) { + super(ApiService.BLOB, client); + } + + /** + * Calls the contract route {@code DELETE /blob/object/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|DELETE|/blob/object/{param}/{param}") + public @Nullable T deleteBlobObjectParamParam( + String pathParam1, String pathParam2, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, + List.of(pathParam1, pathParam2), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /blob/object/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteBlobObjectParamParam( + String pathParam1, String pathParam2, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, + List.of(pathParam1, pathParam2), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /blob/object/info/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|GET|/blob/object/info/{param}/{param}") + public @Nullable T getBlobObjectInfoParamParam( + String pathParam1, String pathParam2, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, + List.of(pathParam1, pathParam2), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /blob/object/info/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBlobObjectInfoParamParam( + String pathParam1, String pathParam2, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, + List.of(pathParam1, pathParam2), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /blob/object/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|GET|/blob/object/{param}/{param}") + public @Nullable T getBlobObjectParamParam( + String pathParam1, String pathParam2, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(pathParam1, pathParam2), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /blob/object/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getBlobObjectParamParam( + String pathParam1, String pathParam2, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(pathParam1, pathParam2), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/copy}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POST|/blob/object/copy") + public @Nullable T postBlobObjectCopy(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_COPY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/copy}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBlobObjectCopy(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_COPY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/list/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POST|/blob/object/list/{param}") + public @Nullable T postBlobObjectListParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_LIST_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/list/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBlobObjectListParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_LIST_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/move}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POST|/blob/object/move") + public @Nullable T postBlobObjectMove(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_MOVE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/move}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBlobObjectMove(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_MOVE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/sign/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POST|/blob/object/sign/{param}/{param}") + public @Nullable T postBlobObjectSignParamParam( + String pathParam1, String pathParam2, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, + List.of(pathParam1, pathParam2), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/sign/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postBlobObjectSignParamParam( + String pathParam1, + String pathParam2, + QueryParams query, + @Nullable JsonNode body, + TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, + List.of(pathParam1, pathParam2), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POSTFORMDATA|/blob/object/{param}/{param}") + public @Nullable T postformdataBlobObjectParamParam( + String pathParam1, + String pathParam2, + QueryParams query, + Map fields, + Map files, + Class responseType) + throws IOException, InterruptedException { + return requestForm( + Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, + List.of(pathParam1, pathParam2), + query, + fields, + files, + responseType); + } + + /** + * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param pathParam2 pathParam2 supplied to the operation + * @param query query supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postformdataBlobObjectParamParam( + String pathParam1, + String pathParam2, + QueryParams query, + Map fields, + Map files, + TypeReference responseType) + throws IOException, InterruptedException { + return requestForm( + Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, + List.of(pathParam1, pathParam2), + query, + fields, + files, + responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java new file mode 100644 index 0000000..6c53dae --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java @@ -0,0 +1,56 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the connection-tests service. Generated by scripts/generate_endpoints.py. */ +public final class ConnectionTestsClient extends ServiceClient { + ConnectionTestsClient(ApiClient client) { + super(ApiService.CONNECTION_TESTS, client); + } + + /** + * Calls the contract route {@code GET /connection-tests/{param}}. + * @param decoded response type + * @param connectionTestId connectionTestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connection-tests|GET|/connection-tests/{param}") + public @Nullable T getConnectionTestsConnectionTestId( + String connectionTestId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, + List.of(connectionTestId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /connection-tests/{param}}. + * @param decoded response type + * @param connectionTestId connectionTestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getConnectionTestsConnectionTestId( + String connectionTestId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, + List.of(connectionTestId), + query, + null, + responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java new file mode 100644 index 0000000..41ea118 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java @@ -0,0 +1,474 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the connectors service. Generated by scripts/generate_endpoints.py. */ +public final class ConnectorsClient extends ServiceClient { + ConnectorsClient(ApiClient client) { + super(ApiService.CONNECTORS, client); + } + + /** + * Calls the contract route {@code DELETE /connectors/installations/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|DELETE|/connectors/installations/{param}") + public @Nullable T deleteConnectorsInstallationsParam( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /connectors/installations/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteConnectorsInstallationsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /connectors/catalog}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/catalog") + public @Nullable T getConnectorsCatalog(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /connectors/catalog}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getConnectorsCatalog(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /connectors/catalog/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/catalog/{param}") + public @Nullable T getConnectorsCatalogParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /connectors/catalog/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getConnectorsCatalogParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /connectors/connection-tests/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/connection-tests/{param}") + public @Nullable T getConnectorsConnectionTestsParam( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /connectors/connection-tests/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getConnectorsConnectionTestsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /connectors/installations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/installations") + public @Nullable T getConnectorsInstallations(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /connectors/installations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getConnectorsInstallations(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /connectors/installations/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/installations/{param}") + public @Nullable T getConnectorsInstallationsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /connectors/installations/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getConnectorsInstallationsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /diagnostics}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/diagnostics") + public @Nullable T getDiagnostics(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_DIAGNOSTICS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /diagnostics}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDiagnostics(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_DIAGNOSTICS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code PATCH /connectors/installations/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|PATCH|/connectors/installations/{param}") + public @Nullable T patchConnectorsInstallationsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PATCH /connectors/installations/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T patchConnectorsInstallationsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|POST|/connectors/installations") + public @Nullable T postConnectorsInstallations( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postConnectorsInstallations( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations/{param}/pause}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|POST|/connectors/installations/{param}/pause") + public @Nullable T postConnectorsInstallationsParamPause( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations/{param}/pause}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postConnectorsInstallationsParamPause( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations/{param}/resume}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|POST|/connectors/installations/{param}/resume") + public @Nullable T postConnectorsInstallationsParamResume( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations/{param}/resume}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postConnectorsInstallationsParamResume( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|POST|/connectors/sync-runs/{param}/replay") + public @Nullable T postConnectorsSyncRunsParamReplay( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postConnectorsSyncRunsParamReplay( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, + List.of(pathParam1), + query, + body, + responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataClient.java new file mode 100644 index 0000000..cdfe52a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataClient.java @@ -0,0 +1,4813 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the data service. Generated by scripts/generate_endpoints.py. */ +public final class DataClient extends ServiceClient { + DataClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/aggregations/aggregations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/aggregations") + public @Nullable T getDataAggregationsAggregations(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/aggregations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataAggregationsAggregations(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/aggregations/{param}}. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/aggregations/{param}") + public @Nullable T getDataAggregationsAggregationsAggregationId( + String aggregationId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, + List.of(aggregationId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/aggregations/{param}}. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataAggregationsAggregationsAggregationId( + String aggregationId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, + List.of(aggregationId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/capabilities") + public @Nullable T getDataAggregationsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataAggregationsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/health") + public @Nullable T getDataAggregationsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataAggregationsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/info") + public @Nullable T getDataAggregationsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataAggregationsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/runs") + public @Nullable T getDataAggregationsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataAggregationsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/runs/{param}") + public @Nullable T getDataAggregationsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataAggregationsRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/archival/policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/archival/policies") + public @Nullable T getDataArchivalArchivalPolicies(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/archival/policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataArchivalArchivalPolicies(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/archival/policies/{param}}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/archival/policies/{param}") + public @Nullable T getDataArchivalArchivalPoliciesPolicyId( + String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/archival/policies/{param}}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataArchivalArchivalPoliciesPolicyId( + String policyId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/capabilities") + public @Nullable T getDataArchivalCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataArchivalCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/health") + public @Nullable T getDataArchivalHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataArchivalHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/info") + public @Nullable T getDataArchivalInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataArchivalInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/runs") + public @Nullable T getDataArchivalRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataArchivalRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/runs/{param}") + public @Nullable T getDataArchivalRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataArchivalRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/capabilities") + public @Nullable T getDataCatalogCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/datasets") + public @Nullable T getDataCatalogCatalogDatasets(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogCatalogDatasets(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/datasets/{param}") + public @Nullable T getDataCatalogCatalogDatasetsDatasetId( + String datasetId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogCatalogDatasetsDatasetId( + String datasetId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/datasets/{param}/artifacts/{param}/content") + public @Nullable T getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent( + String datasetId, String manifestId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, + List.of(datasetId, manifestId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent( + String datasetId, String manifestId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, + List.of(datasetId, manifestId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/sources") + public @Nullable T getDataCatalogCatalogSources(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogCatalogSources(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}}. + * @param decoded response type + * @param sourceId sourceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/sources/{param}") + public @Nullable T getDataCatalogCatalogSourcesSourceId( + String sourceId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}}. + * @param decoded response type + * @param sourceId sourceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogCatalogSourcesSourceId( + String sourceId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/health") + public @Nullable T getDataCatalogHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/info") + public @Nullable T getDataCatalogInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/runs") + public @Nullable T getDataCatalogRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/runs/{param}") + public @Nullable T getDataCatalogRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataCatalogRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/capabilities") + public @Nullable T getDataEnrichmentCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataEnrichmentCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/enrichment/profiles") + public @Nullable T getDataEnrichmentEnrichmentProfiles(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataEnrichmentEnrichmentProfiles(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/enrichment/profiles/{param}") + public @Nullable T getDataEnrichmentEnrichmentProfilesProfileId( + String profileId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, + List.of(profileId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataEnrichmentEnrichmentProfilesProfileId( + String profileId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, + List.of(profileId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/health") + public @Nullable T getDataEnrichmentHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataEnrichmentHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/info") + public @Nullable T getDataEnrichmentInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataEnrichmentInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/runs") + public @Nullable T getDataEnrichmentRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataEnrichmentRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/runs/{param}") + public @Nullable T getDataEnrichmentRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataEnrichmentRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/capabilities") + public @Nullable T getDataExportsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataExportsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/exports}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/exports") + public @Nullable T getDataExportsExports(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/exports}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataExportsExports(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/exports/{param}}. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/exports/{param}") + public @Nullable T getDataExportsExportsExportId(String exportId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS_PARAM, List.of(exportId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/exports/{param}}. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataExportsExportsExportId( + String exportId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS_PARAM, List.of(exportId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/health") + public @Nullable T getDataExportsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataExportsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/info") + public @Nullable T getDataExportsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataExportsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/runs") + public @Nullable T getDataExportsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataExportsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/runs/{param}") + public @Nullable T getDataExportsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataExportsRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/capabilities") + public @Nullable T getDataIngestCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/datasets") + public @Nullable T getDataIngestDatasets(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestDatasets(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/datasets/{param}") + public @Nullable T getDataIngestDatasetsDatasetId(String datasetId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestDatasetsDatasetId( + String datasetId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/datasets/{param}/artifacts/{param}/content") + public @Nullable T getDataIngestDatasetsDatasetIdArtifactsManifestIdContent( + String datasetId, String manifestId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, + List.of(datasetId, manifestId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestDatasetsDatasetIdArtifactsManifestIdContent( + String datasetId, String manifestId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, + List.of(datasetId, manifestId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/health") + public @Nullable T getDataIngestHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/info") + public @Nullable T getDataIngestInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/runs") + public @Nullable T getDataIngestRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/runs/{param}") + public @Nullable T getDataIngestRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/schemas") + public @Nullable T getDataIngestSchemas(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestSchemas(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/schemas/{param}}. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/schemas/{param}") + public @Nullable T getDataIngestSchemasSchemaRef(String schemaRef, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/schemas/{param}}. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataIngestSchemasSchemaRef( + String schemaRef, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/capabilities") + public @Nullable T getDataNormalizationCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataNormalizationCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/health") + public @Nullable T getDataNormalizationHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataNormalizationHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/info") + public @Nullable T getDataNormalizationInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataNormalizationInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/normalization/profiles") + public @Nullable T getDataNormalizationNormalizationProfiles(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataNormalizationNormalizationProfiles(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/normalization/profiles/{param}") + public @Nullable T getDataNormalizationNormalizationProfilesProfileId( + String profileId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, + List.of(profileId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataNormalizationNormalizationProfilesProfileId( + String profileId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, + List.of(profileId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/runs") + public @Nullable T getDataNormalizationRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataNormalizationRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/runs/{param}") + public @Nullable T getDataNormalizationRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataNormalizationRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/capabilities") + public @Nullable T getDataPipelinesCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/health") + public @Nullable T getDataPipelinesHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/info") + public @Nullable T getDataPipelinesInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/pipeline-runs") + public @Nullable T getDataPipelinesPipelineRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesPipelineRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/pipeline-runs/{param}") + public @Nullable T getDataPipelinesPipelineRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesPipelineRunsRunId( + String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/pipelines") + public @Nullable T getDataPipelinesPipelines(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesPipelines(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. + * @param decoded response type + * @param definitionId definitionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/pipelines/{param}") + public @Nullable T getDataPipelinesPipelinesDefinitionId( + String definitionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. + * @param decoded response type + * @param definitionId definitionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesPipelinesDefinitionId( + String definitionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/runs") + public @Nullable T getDataPipelinesRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/runs/{param}") + public @Nullable T getDataPipelinesRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/capabilities") + public @Nullable T getDataQualityCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQualityCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/health") + public @Nullable T getDataQualityHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQualityHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/info") + public @Nullable T getDataQualityInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQualityInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/quality/rulesets") + public @Nullable T getDataQualityQualityRulesets(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQualityQualityRulesets(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}}. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/quality/rulesets/{param}") + public @Nullable T getDataQualityQualityRulesetsRulesetId( + String rulesetId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}}. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQualityQualityRulesetsRulesetId( + String rulesetId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/runs") + public @Nullable T getDataQualityRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQualityRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/runs/{param}") + public @Nullable T getDataQualityRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQualityRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/capabilities") + public @Nullable T getDataQueryCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQueryCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/health") + public @Nullable T getDataQueryHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQueryHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/info") + public @Nullable T getDataQueryInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQueryInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/runs") + public @Nullable T getDataQueryRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQueryRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/runs/{param}") + public @Nullable T getDataQueryRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/query/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataQueryRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/capabilities") + public @Nullable T getDataSchemasCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSchemasCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/health") + public @Nullable T getDataSchemasHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSchemasHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/info") + public @Nullable T getDataSchemasInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSchemasInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/runs") + public @Nullable T getDataSchemasRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSchemasRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/runs/{param}") + public @Nullable T getDataSchemasRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSchemasRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/schemas") + public @Nullable T getDataSchemasSchemas(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSchemasSchemas(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/schemas/{param}") + public @Nullable T getDataSchemasSchemasSchemaRef(String schemaRef, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSchemasSchemasSchemaRef( + String schemaRef, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/capabilities") + public @Nullable T getDataServingCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataServingCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/health") + public @Nullable T getDataServingHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataServingHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/info") + public @Nullable T getDataServingInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataServingInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/runs") + public @Nullable T getDataServingRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataServingRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/runs/{param}") + public @Nullable T getDataServingRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataServingRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/serving/products}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/serving/products") + public @Nullable T getDataServingServingProducts(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/serving/products}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataServingServingProducts(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/serving/products/{param}}. + * @param decoded response type + * @param productId productId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/serving/products/{param}") + public @Nullable T getDataServingServingProductsProductId( + String productId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/serving/products/{param}}. + * @param decoded response type + * @param productId productId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataServingServingProductsProductId( + String productId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/capabilities") + public @Nullable T getDataStreamsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataStreamsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/health") + public @Nullable T getDataStreamsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataStreamsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/info") + public @Nullable T getDataStreamsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataStreamsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/runs") + public @Nullable T getDataStreamsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataStreamsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/runs/{param}") + public @Nullable T getDataStreamsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataStreamsRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/streams}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/streams") + public @Nullable T getDataStreamsStreams(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/streams}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataStreamsStreams(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/streams/{param}}. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/streams/{param}") + public @Nullable T getDataStreamsStreamsStreamId(String streamId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS_PARAM, List.of(streamId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/streams/{param}}. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataStreamsStreamsStreamId( + String streamId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS_PARAM, List.of(streamId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/capabilities") + public @Nullable T getDataSyncCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSyncCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/health") + public @Nullable T getDataSyncHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSyncHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/info") + public @Nullable T getDataSyncInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSyncInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/runs") + public @Nullable T getDataSyncRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSyncRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/runs/{param}") + public @Nullable T getDataSyncRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSyncRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/sync/jobs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/sync/jobs") + public @Nullable T getDataSyncSyncJobs(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/sync/jobs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSyncSyncJobs(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/sync/jobs/{param}}. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/sync/jobs/{param}") + public @Nullable T getDataSyncSyncJobsJobId(String jobId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS_PARAM, List.of(jobId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/sync/jobs/{param}}. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataSyncSyncJobsJobId(String jobId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS_PARAM, List.of(jobId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/capabilities") + public @Nullable T getDataTransformationsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataTransformationsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/health") + public @Nullable T getDataTransformationsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataTransformationsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/info") + public @Nullable T getDataTransformationsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataTransformationsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/runs") + public @Nullable T getDataTransformationsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataTransformationsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/runs/{param}") + public @Nullable T getDataTransformationsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataTransformationsRunsRunId( + String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/transformations") + public @Nullable T getDataTransformationsTransformations(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataTransformationsTransformations(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/transformations/{param}}. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/transformations/{param}") + public @Nullable T getDataTransformationsTransformationsTransformationId( + String transformationId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, + List.of(transformationId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/transformations/{param}}. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataTransformationsTransformationsTransformationId( + String transformationId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, + List.of(transformationId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code POST /data/aggregations/aggregations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/aggregations/aggregations") + public @Nullable T postDataAggregationsAggregations( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/aggregations/aggregations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataAggregationsAggregations( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions}. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/aggregations/aggregations/{param}/executions") + public @Nullable T postDataAggregationsAggregationsAggregationIdExecutions( + String aggregationId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, + List.of(aggregationId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions}. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataAggregationsAggregationsAggregationIdExecutions( + String aggregationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, + List.of(aggregationId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/aggregations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/aggregations/runs") + public @Nullable T postDataAggregationsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/aggregations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataAggregationsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/archival/archival/policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/archival/archival/policies") + public @Nullable T postDataArchivalArchivalPolicies( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/archival/archival/policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataArchivalArchivalPolicies( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/archival/archival/policies/{param}/executions") + public @Nullable T postDataArchivalArchivalPoliciesPolicyIdExecutions( + String policyId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, + List.of(policyId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataArchivalArchivalPoliciesPolicyIdExecutions( + String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, + List.of(policyId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/archival/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/archival/runs") + public @Nullable T postDataArchivalRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/archival/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataArchivalRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/catalog/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/catalog/runs") + public @Nullable T postDataCatalogRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_CATALOG_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/catalog/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataCatalogRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_CATALOG_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/enrichment/enrichment/profiles") + public @Nullable T postDataEnrichmentEnrichmentProfiles( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataEnrichmentEnrichmentProfiles( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/enrichment/enrichment/profiles/{param}/executions") + public @Nullable T postDataEnrichmentEnrichmentProfilesProfileIdExecutions( + String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, + List.of(profileId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataEnrichmentEnrichmentProfilesProfileIdExecutions( + String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, + List.of(profileId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/enrichment/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/enrichment/runs") + public @Nullable T postDataEnrichmentRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/enrichment/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataEnrichmentRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/exports/exports}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/exports/exports") + public @Nullable T postDataExportsExports(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/exports/exports}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataExportsExports( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/exports/exports/{param}/executions}. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/exports/exports/{param}/executions") + public @Nullable T postDataExportsExportsExportIdExecutions( + String exportId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, + List.of(exportId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/exports/exports/{param}/executions}. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataExportsExportsExportIdExecutions( + String exportId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, + List.of(exportId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/exports/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/exports/runs") + public @Nullable T postDataExportsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/exports/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataExportsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/ingest/datasets/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/ingest/datasets/ingest") + public @Nullable T postDataIngestDatasetsIngest( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_INGEST_DATASETS_INGEST, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/ingest/datasets/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataIngestDatasetsIngest( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_INGEST_DATASETS_INGEST, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/ingest/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/ingest/runs") + public @Nullable T postDataIngestRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_INGEST_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/ingest/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataIngestRuns(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_INGEST_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/normalization/normalization/profiles") + public @Nullable T postDataNormalizationNormalizationProfiles( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataNormalizationNormalizationProfiles( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/normalization/normalization/profiles/{param}/executions") + public @Nullable T postDataNormalizationNormalizationProfilesProfileIdExecutions( + String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, + List.of(profileId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataNormalizationNormalizationProfilesProfileIdExecutions( + String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, + List.of(profileId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/normalization/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/normalization/runs") + public @Nullable T postDataNormalizationRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_NORMALIZATION_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/normalization/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataNormalizationRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_NORMALIZATION_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/pipelines/pipelines") + public @Nullable T postDataPipelinesPipelines(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataPipelinesPipelines( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/pipelines/runs") + public @Nullable T postDataPipelinesRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataPipelinesRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/quality/quality/rulesets") + public @Nullable T postDataQualityQualityRulesets( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataQualityQualityRulesets( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations}. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/quality/quality/rulesets/{param}/evaluations") + public @Nullable T postDataQualityQualityRulesetsRulesetIdEvaluations( + String rulesetId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, + List.of(rulesetId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations}. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataQualityQualityRulesetsRulesetIdEvaluations( + String rulesetId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, + List.of(rulesetId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/quality/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/quality/runs") + public @Nullable T postDataQualityRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/quality/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataQualityRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/query/query/federated}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/query/query/federated") + public @Nullable T postDataQueryQueryFederated( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUERY_QUERY_FEDERATED, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/query/query/federated}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataQueryQueryFederated( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUERY_QUERY_FEDERATED, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/query/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/query/runs") + public @Nullable T postDataQueryRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUERY_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/query/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataQueryRuns(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUERY_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/schemas/runs") + public @Nullable T postDataSchemasRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataSchemasRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/schemas/schemas") + public @Nullable T postDataSchemasSchemas(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataSchemasSchemas( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/schemas/resolve}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/schemas/schemas/resolve") + public @Nullable T postDataSchemasSchemasResolve( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS_RESOLVE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/schemas/resolve}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataSchemasSchemasResolve( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS_RESOLVE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/serving/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/serving/runs") + public @Nullable T postDataServingRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/serving/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataServingRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/serving/serving/products}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/serving/serving/products") + public @Nullable T postDataServingServingProducts( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/serving/serving/products}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataServingServingProducts( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes}. + * @param decoded response type + * @param productId productId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/serving/serving/products/{param}/refreshes") + public @Nullable T postDataServingServingProductsProductIdRefreshes( + String productId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, + List.of(productId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes}. + * @param decoded response type + * @param productId productId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataServingServingProductsProductIdRefreshes( + String productId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, + List.of(productId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/streams/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/streams/runs") + public @Nullable T postDataStreamsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/streams/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataStreamsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/streams/streams}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/streams/streams") + public @Nullable T postDataStreamsStreams(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/streams/streams}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataStreamsStreams( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries}. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/streams/streams/{param}/deliveries") + public @Nullable T postDataStreamsStreamsStreamIdDeliveries( + String streamId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, + List.of(streamId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries}. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataStreamsStreamsStreamIdDeliveries( + String streamId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, + List.of(streamId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/sync/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/sync/runs") + public @Nullable T postDataSyncRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/sync/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataSyncRuns(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/sync/sync/jobs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/sync/sync/jobs") + public @Nullable T postDataSyncSyncJobs(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/sync/sync/jobs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataSyncSyncJobs( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions}. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/sync/sync/jobs/{param}/executions") + public @Nullable T postDataSyncSyncJobsJobIdExecutions( + String jobId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions}. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataSyncSyncJobsJobIdExecutions( + String jobId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/transformations/runs") + public @Nullable T postDataTransformationsRuns( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataTransformationsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/transformations/transformations") + public @Nullable T postDataTransformationsTransformations( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataTransformationsTransformations( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions}. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/transformations/transformations/{param}/executions") + public @Nullable T postDataTransformationsTransformationsTransformationIdExecutions( + String transformationId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, + List.of(transformationId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions}. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataTransformationsTransformationsTransformationIdExecutions( + String transformationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, + List.of(transformationId), + query, + body, + responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java b/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java index 6d8739e..10ca367 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java +++ b/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java @@ -4,38 +4,47 @@ public final class Endpoints { private Endpoints() {} - public static final class ActionRuns { - private ActionRuns() {} - - public static final Endpoint GET_ACTION_RUNS_PARAM = - new Endpoint(ApiService.ACTION_RUNS, HttpMethod.GET, "/action-runs/{param}"); - } - public static final class Agents { private Agents() {} + /** Endpoint for {@code DELETE /agents/{param}}. */ public static final Endpoint DELETE_AGENTS_PARAM = new Endpoint(ApiService.AGENTS, HttpMethod.DELETE, "/agents/{param}"); + /** Endpoint for {@code GET /action-runs/{param}}. */ + public static final Endpoint GET_ACTION_RUNS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/action-runs/{param}"); + /** Endpoint for {@code GET /agents}. */ public static final Endpoint GET_AGENTS = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents"); + /** Endpoint for {@code GET /agents/health}. */ public static final Endpoint GET_AGENTS_HEALTH = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/health"); + /** Endpoint for {@code GET /agents/runs/{param}}. */ public static final Endpoint GET_AGENTS_RUNS_PARAM = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}"); + /** Endpoint for {@code GET /agents/runs/{param}/conversation}. */ public static final Endpoint GET_AGENTS_RUNS_PARAM_CONVERSATION = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}/conversation"); + /** Endpoint for {@code GET /agents/{param}}. */ public static final Endpoint GET_AGENTS_PARAM = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}"); + /** Endpoint for {@code GET /agents/{param}/runs}. */ public static final Endpoint GET_AGENTS_PARAM_RUNS = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/runs"); + /** Endpoint for {@code GET /agents/{param}/versions}. */ public static final Endpoint GET_AGENTS_PARAM_VERSIONS = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/versions"); + /** Endpoint for {@code POST /agents}. */ public static final Endpoint POST_AGENTS = new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents"); + /** Endpoint for {@code POST /agents/{param}/rollback}. */ public static final Endpoint POST_AGENTS_PARAM_ROLLBACK = new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/rollback"); + /** Endpoint for {@code POST /agents/{param}/runs}. */ public static final Endpoint POST_AGENTS_PARAM_RUNS = new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/runs"); + /** Endpoint for {@code PUT /agents/{param}}. */ public static final Endpoint PUT_AGENTS_PARAM = new Endpoint(ApiService.AGENTS, HttpMethod.PUT, "/agents/{param}"); + /** Endpoint for {@code STREAM /agents/runs/{param}/stream}. */ public static final Endpoint STREAM_AGENTS_RUNS_PARAM_STREAM = new Endpoint(ApiService.AGENTS, HttpMethod.STREAM, "/agents/runs/{param}/stream"); } @@ -43,21 +52,30 @@ private Agents() {} public static final class Ai { private Ai() {} + /** Endpoint for {@code GET /health}. */ public static final Endpoint GET_HEALTH = new Endpoint(ApiService.AI, HttpMethod.GET, "/health"); + /** Endpoint for {@code GET /internal/models}. */ public static final Endpoint GET_INTERNAL_MODELS = new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models"); + /** Endpoint for {@code GET /internal/models/defaults}. */ public static final Endpoint GET_INTERNAL_MODELS_DEFAULTS = new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models/defaults"); + /** Endpoint for {@code POST /ai/chat/completions}. */ public static final Endpoint POST_AI_CHAT_COMPLETIONS = new Endpoint(ApiService.AI, HttpMethod.POST, "/ai/chat/completions"); + /** Endpoint for {@code POST /internal/embeddings}. */ public static final Endpoint POST_INTERNAL_EMBEDDINGS = new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/embeddings"); + /** Endpoint for {@code POST /internal/predictions}. */ public static final Endpoint POST_INTERNAL_PREDICTIONS = new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/predictions"); + /** Endpoint for {@code POST /internal/rerank}. */ public static final Endpoint POST_INTERNAL_RERANK = new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/rerank"); + /** Endpoint for {@code POSTFORMDATA /internal/predictions}. */ public static final Endpoint POSTFORMDATA_INTERNAL_PREDICTIONS = new Endpoint(ApiService.AI, HttpMethod.POSTFORMDATA, "/internal/predictions"); + /** Endpoint for {@code POSTRAW /internal/predictions}. */ public static final Endpoint POSTRAW_INTERNAL_PREDICTIONS = new Endpoint(ApiService.AI, HttpMethod.POSTRAW, "/internal/predictions"); } @@ -65,11 +83,15 @@ private Ai() {} public static final class Audit { private Audit() {} + /** Endpoint for {@code GET /audit/events}. */ public static final Endpoint GET_AUDIT_EVENTS = new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events"); + /** Endpoint for {@code GET /audit/events/{param}}. */ public static final Endpoint GET_AUDIT_EVENTS_PARAM = new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events/{param}"); + /** Endpoint for {@code POST /audit/events}. */ public static final Endpoint POST_AUDIT_EVENTS = new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events"); + /** Endpoint for {@code POST /audit/events/batch}. */ public static final Endpoint POST_AUDIT_EVENTS_BATCH = new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events/batch"); } @@ -77,176 +99,265 @@ private Audit() {} public static final class Auth { private Auth() {} + /** Endpoint for {@code DELETE /auth/account/mfa/{param}}. */ public static final Endpoint DELETE_AUTH_ACCOUNT_MFA_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/mfa/{param}"); + /** Endpoint for {@code DELETE /auth/account/profile}. */ public static final Endpoint DELETE_AUTH_ACCOUNT_PROFILE = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/profile"); + /** Endpoint for {@code DELETE /auth/account/security/api-keys/{param}}. */ public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code DELETE /auth/account/security/devices/{param}}. */ public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/devices/{param}"); + /** Endpoint for {@code DELETE /auth/account/sessions/{param}}. */ public static final Endpoint DELETE_AUTH_ACCOUNT_SESSIONS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/sessions/{param}"); + /** Endpoint for {@code DELETE /auth/admin/users/{param}}. */ public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}"); + /** Endpoint for {@code DELETE /auth/admin/users/{param}/factors/{param}}. */ public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}/factors/{param}"); + /** Endpoint for {@code DELETE /auth/factors/{param}}. */ public static final Endpoint DELETE_AUTH_FACTORS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/factors/{param}"); + /** Endpoint for {@code DELETE /auth/user/identities/{param}}. */ public static final Endpoint DELETE_AUTH_USER_IDENTITIES_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/user/identities/{param}"); + /** Endpoint for {@code GET /auth/account/audit-log}. */ public static final Endpoint GET_AUTH_ACCOUNT_AUDIT_LOG = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/audit-log"); + /** Endpoint for {@code GET /auth/account/mfa}. */ public static final Endpoint GET_AUTH_ACCOUNT_MFA = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa"); + /** Endpoint for {@code GET /auth/account/mfa/{param}}. */ public static final Endpoint GET_AUTH_ACCOUNT_MFA_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa/{param}"); + /** Endpoint for {@code GET /auth/account/profile}. */ public static final Endpoint GET_AUTH_ACCOUNT_PROFILE = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/profile"); + /** Endpoint for {@code GET /auth/account/security/api-keys}. */ public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys"); + /** Endpoint for {@code GET /auth/account/security/api-keys/{param}}. */ public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code GET /auth/account/security/devices}. */ public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices"); + /** Endpoint for {@code GET /auth/account/security/devices/{param}}. */ public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices/{param}"); + /** Endpoint for {@code GET /auth/account/sessions}. */ public static final Endpoint GET_AUTH_ACCOUNT_SESSIONS = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/sessions"); + /** Endpoint for {@code GET /auth/admin/users}. */ public static final Endpoint GET_AUTH_ADMIN_USERS = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users"); + /** Endpoint for {@code GET /auth/admin/users/{param}}. */ public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}"); + /** Endpoint for {@code GET /auth/admin/users/{param}/factors}. */ public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM_FACTORS = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}/factors"); + /** Endpoint for {@code GET /auth/auth/session}. */ public static final Endpoint GET_AUTH_AUTH_SESSION = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/auth/session"); + /** Endpoint for {@code GET /auth/factors}. */ public static final Endpoint GET_AUTH_FACTORS = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/factors"); + /** Endpoint for {@code GET /auth/mfa/status}. */ public static final Endpoint GET_AUTH_MFA_STATUS = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/mfa/status"); + /** Endpoint for {@code GET /auth/user}. */ public static final Endpoint GET_AUTH_USER = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user"); + /** Endpoint for {@code GET /auth/user/identities}. */ public static final Endpoint GET_AUTH_USER_IDENTITIES = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user/identities"); + /** Endpoint for {@code POST /auth/account/mfa}. */ public static final Endpoint POST_AUTH_ACCOUNT_MFA = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa"); + /** Endpoint for {@code POST /auth/account/mfa/{param}/challenge}. */ public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/challenge"); + /** Endpoint for {@code POST /auth/account/mfa/{param}/verify}. */ public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/verify"); + /** Endpoint for {@code POST /auth/account/password}. */ public static final Endpoint POST_AUTH_ACCOUNT_PASSWORD = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/password"); + /** Endpoint for {@code POST /auth/account/security/api-keys}. */ public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_API_KEYS = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/api-keys"); + /** Endpoint for {@code POST /auth/account/security/devices}. */ public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices"); + /** Endpoint for {@code POST /auth/account/security/devices/{param}/trust}. */ public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices/{param}/trust"); + /** Endpoint for {@code POST /auth/account/sessions/{param}/extend}. */ public static final Endpoint POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/sessions/{param}/extend"); + /** Endpoint for {@code POST /auth/admin/generate_link}. */ public static final Endpoint POST_AUTH_ADMIN_GENERATE_LINK = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/generate_link"); + /** Endpoint for {@code POST /auth/admin/logout}. */ public static final Endpoint POST_AUTH_ADMIN_LOGOUT = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/logout"); + /** Endpoint for {@code POST /auth/admin/users}. */ public static final Endpoint POST_AUTH_ADMIN_USERS = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/users"); + /** Endpoint for {@code POST /auth/auth/session}. */ public static final Endpoint POST_AUTH_AUTH_SESSION = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/auth/session"); + /** Endpoint for {@code POST /auth/authorize}. */ public static final Endpoint POST_AUTH_AUTHORIZE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/authorize"); + /** Endpoint for {@code POST /auth/factors}. */ public static final Endpoint POST_AUTH_FACTORS = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors"); + /** Endpoint for {@code POST /auth/factors/{param}/challenge}. */ public static final Endpoint POST_AUTH_FACTORS_PARAM_CHALLENGE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/challenge"); + /** Endpoint for {@code POST /auth/factors/{param}/verify}. */ public static final Endpoint POST_AUTH_FACTORS_PARAM_VERIFY = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/verify"); + /** Endpoint for {@code POST /auth/invite}. */ public static final Endpoint POST_AUTH_INVITE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/invite"); + /** Endpoint for {@code POST /auth/login}. */ public static final Endpoint POST_AUTH_LOGIN = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/login"); + /** Endpoint for {@code POST /auth/logout}. */ public static final Endpoint POST_AUTH_LOGOUT = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/logout"); + /** Endpoint for {@code POST /auth/mfa/backup-codes/regenerate}. */ public static final Endpoint POST_AUTH_MFA_BACKUP_CODES_REGENERATE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/backup-codes/regenerate"); + /** Endpoint for {@code POST /auth/mfa/disable}. */ public static final Endpoint POST_AUTH_MFA_DISABLE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/disable"); + /** Endpoint for {@code POST /auth/mfa/enable}. */ public static final Endpoint POST_AUTH_MFA_ENABLE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/enable"); + /** Endpoint for {@code POST /auth/mfa/setup}. */ public static final Endpoint POST_AUTH_MFA_SETUP = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/setup"); + /** Endpoint for {@code POST /auth/mfa/verify}. */ public static final Endpoint POST_AUTH_MFA_VERIFY = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/verify"); + /** Endpoint for {@code POST /auth/otp}. */ public static final Endpoint POST_AUTH_OTP = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/otp"); + /** Endpoint for {@code POST /auth/reauthenticate}. */ public static final Endpoint POST_AUTH_REAUTHENTICATE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/reauthenticate"); + /** Endpoint for {@code POST /auth/recover}. */ public static final Endpoint POST_AUTH_RECOVER = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/recover"); + /** Endpoint for {@code POST /auth/resend}. */ public static final Endpoint POST_AUTH_RESEND = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/resend"); + /** Endpoint for {@code POST /auth/signup}. */ public static final Endpoint POST_AUTH_SIGNUP = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/signup"); + /** Endpoint for {@code POST /auth/sso}. */ public static final Endpoint POST_AUTH_SSO = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/sso"); + /** Endpoint for {@code POST /auth/token?grant_type=id_token}. */ public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=id_token"); + /** Endpoint for {@code POST /auth/token?grant_type=password}. */ public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=password"); + /** Endpoint for {@code POST /auth/token?grant_type=pkce}. */ public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PKCE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=pkce"); + /** Endpoint for {@code POST /auth/token?grant_type=refresh_token}. */ public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=refresh_token"); + /** Endpoint for {@code POST /auth/user/identities}. */ public static final Endpoint POST_AUTH_USER_IDENTITIES = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/user/identities"); + /** Endpoint for {@code POST /auth/verify}. */ public static final Endpoint POST_AUTH_VERIFY = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/verify"); + /** Endpoint for {@code PUT /auth/account/profile}. */ public static final Endpoint PUT_AUTH_ACCOUNT_PROFILE = new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/profile"); + /** Endpoint for {@code PUT /auth/account/security/api-keys/{param}}. */ public static final Endpoint PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code PUT /auth/admin/users/{param}}. */ public static final Endpoint PUT_AUTH_ADMIN_USERS_PARAM = new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/admin/users/{param}"); + /** Endpoint for {@code PUT /auth/user}. */ public static final Endpoint PUT_AUTH_USER = new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/user"); } public static final class Billing { private Billing() {} + /** Endpoint for {@code GET /billing/addons/{param}/entitlements}. */ public static final Endpoint GET_BILLING_ADDONS_PARAM_ENTITLEMENTS = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/addons/{param}/entitlements"); + /** Endpoint for {@code GET /billing/customers/portal/{param}}. */ public static final Endpoint GET_BILLING_CUSTOMERS_PORTAL_PARAM = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/portal/{param}"); + /** Endpoint for {@code GET /billing/customers/{param}/entitlements}. */ public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/entitlements"); + /** Endpoint for {@code GET /billing/customers/{param}/invoices/summary}. */ public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/invoices/summary"); + /** Endpoint for {@code GET /billing/customers/{param}/usage}. */ public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_USAGE = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/usage"); + /** Endpoint for {@code GET /billing/customers/{param}/wallets}. */ public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_WALLETS = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/wallets"); + /** Endpoint for {@code GET /billing/plans/{param}/entitlements}. */ public static final Endpoint GET_BILLING_PLANS_PARAM_ENTITLEMENTS = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/plans/{param}/entitlements"); + /** Endpoint for {@code GET /billing/prices/lookup/{param}}. */ public static final Endpoint GET_BILLING_PRICES_LOOKUP_PARAM = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/prices/lookup/{param}"); + /** Endpoint for {@code GET /billing/subscriptions/{param}/entitlements}. */ public static final Endpoint GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/subscriptions/{param}/entitlements"); + /** Endpoint for {@code GET /billing/wallets/{param}/balance/real-time}. */ public static final Endpoint GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/balance/real-time"); + /** Endpoint for {@code GET /billing/wallets/{param}/transactions}. */ public static final Endpoint GET_BILLING_WALLETS_PARAM_TRANSACTIONS = new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/transactions"); + /** Endpoint for {@code GETRAW /billing/invoices/{param}/pdf}. */ public static final Endpoint GETRAW_BILLING_INVOICES_PARAM_PDF = new Endpoint(ApiService.BILLING, HttpMethod.GETRAW, "/billing/invoices/{param}/pdf"); + /** Endpoint for {@code POST /billing/invoices/preview}. */ public static final Endpoint POST_BILLING_INVOICES_PREVIEW = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/preview"); + /** Endpoint for {@code POST /billing/invoices/{param}/finalize}. */ public static final Endpoint POST_BILLING_INVOICES_PARAM_FINALIZE = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/finalize"); + /** Endpoint for {@code POST /billing/invoices/{param}/void}. */ public static final Endpoint POST_BILLING_INVOICES_PARAM_VOID = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/void"); + /** Endpoint for {@code POST /billing/meters/{param}/disable}. */ public static final Endpoint POST_BILLING_METERS_PARAM_DISABLE = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/meters/{param}/disable"); + /** Endpoint for {@code POST /billing/plans/{param}/clone}. */ public static final Endpoint POST_BILLING_PLANS_PARAM_CLONE = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/plans/{param}/clone"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/activate}. */ public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/activate"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/cancel}. */ public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/cancel"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/pause}. */ public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/pause"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/resume}. */ public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/resume"); + /** Endpoint for {@code POST /billing/wallets/{param}/terminate}. */ public static final Endpoint POST_BILLING_WALLETS_PARAM_TERMINATE = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/terminate"); + /** Endpoint for {@code POST /billing/wallets/{param}/top-up}. */ public static final Endpoint POST_BILLING_WALLETS_PARAM_TOP_UP = new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/top-up"); } @@ -254,20 +365,28 @@ private Billing() {} public static final class Blob { private Blob() {} + /** Endpoint for {@code DELETE /blob/object/{param}/{param}}. */ public static final Endpoint DELETE_BLOB_OBJECT_PARAM_PARAM = new Endpoint(ApiService.BLOB, HttpMethod.DELETE, "/blob/object/{param}/{param}"); + /** Endpoint for {@code GET /blob/object/info/{param}/{param}}. */ public static final Endpoint GET_BLOB_OBJECT_INFO_PARAM_PARAM = new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/info/{param}/{param}"); + /** Endpoint for {@code GET /blob/object/{param}/{param}}. */ public static final Endpoint GET_BLOB_OBJECT_PARAM_PARAM = new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/{param}/{param}"); + /** Endpoint for {@code POST /blob/object/copy}. */ public static final Endpoint POST_BLOB_OBJECT_COPY = new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/copy"); + /** Endpoint for {@code POST /blob/object/list/{param}}. */ public static final Endpoint POST_BLOB_OBJECT_LIST_PARAM = new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/list/{param}"); + /** Endpoint for {@code POST /blob/object/move}. */ public static final Endpoint POST_BLOB_OBJECT_MOVE = new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/move"); + /** Endpoint for {@code POST /blob/object/sign/{param}/{param}}. */ public static final Endpoint POST_BLOB_OBJECT_SIGN_PARAM_PARAM = new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/sign/{param}/{param}"); + /** Endpoint for {@code POSTFORMDATA /blob/object/{param}/{param}}. */ public static final Endpoint POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM = new Endpoint(ApiService.BLOB, HttpMethod.POSTFORMDATA, "/blob/object/{param}/{param}"); } @@ -275,28 +394,40 @@ private Blob() {} public static final class Connectors { private Connectors() {} + /** Endpoint for {@code DELETE /connectors/installations/{param}}. */ public static final Endpoint DELETE_CONNECTORS_INSTALLATIONS_PARAM = new Endpoint(ApiService.CONNECTORS, HttpMethod.DELETE, "/connectors/installations/{param}"); + /** Endpoint for {@code GET /connectors/catalog}. */ public static final Endpoint GET_CONNECTORS_CATALOG = new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog"); + /** Endpoint for {@code GET /connectors/catalog/{param}}. */ public static final Endpoint GET_CONNECTORS_CATALOG_PARAM = new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog/{param}"); + /** Endpoint for {@code GET /connectors/connection-tests/{param}}. */ public static final Endpoint GET_CONNECTORS_CONNECTION_TESTS_PARAM = new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/connection-tests/{param}"); + /** Endpoint for {@code GET /connectors/installations}. */ public static final Endpoint GET_CONNECTORS_INSTALLATIONS = new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations"); + /** Endpoint for {@code GET /connectors/installations/{param}}. */ public static final Endpoint GET_CONNECTORS_INSTALLATIONS_PARAM = new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations/{param}"); + /** Endpoint for {@code GET /diagnostics}. */ public static final Endpoint GET_DIAGNOSTICS = new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/diagnostics"); + /** Endpoint for {@code PATCH /connectors/installations/{param}}. */ public static final Endpoint PATCH_CONNECTORS_INSTALLATIONS_PARAM = new Endpoint(ApiService.CONNECTORS, HttpMethod.PATCH, "/connectors/installations/{param}"); + /** Endpoint for {@code POST /connectors/installations}. */ public static final Endpoint POST_CONNECTORS_INSTALLATIONS = new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations"); + /** Endpoint for {@code POST /connectors/installations/{param}/pause}. */ public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE = new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/pause"); + /** Endpoint for {@code POST /connectors/installations/{param}/resume}. */ public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME = new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/resume"); + /** Endpoint for {@code POST /connectors/sync-runs/{param}/replay}. */ public static final Endpoint POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY = new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/sync-runs/{param}/replay"); } @@ -304,6 +435,7 @@ private Connectors() {} public static final class ConnectionTests { private ConnectionTests() {} + /** Endpoint for {@code GET /connection-tests/{param}}. */ public static final Endpoint GET_CONNECTION_TESTS_PARAM = new Endpoint(ApiService.CONNECTION_TESTS, HttpMethod.GET, "/connection-tests/{param}"); } @@ -311,306 +443,457 @@ private ConnectionTests() {} public static final class Data { private Data() {} + /** Endpoint for {@code GET /data/aggregations/aggregations}. */ public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations"); + /** Endpoint for {@code GET /data/aggregations/aggregations/{param}}. */ public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations/{param}"); + /** Endpoint for {@code GET /data/aggregations/capabilities}. */ public static final Endpoint GET_DATA_AGGREGATIONS_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/capabilities"); + /** Endpoint for {@code GET /data/aggregations/health}. */ public static final Endpoint GET_DATA_AGGREGATIONS_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/health"); + /** Endpoint for {@code GET /data/aggregations/info}. */ public static final Endpoint GET_DATA_AGGREGATIONS_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/info"); + /** Endpoint for {@code GET /data/aggregations/runs}. */ public static final Endpoint GET_DATA_AGGREGATIONS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs"); + /** Endpoint for {@code GET /data/aggregations/runs/{param}}. */ public static final Endpoint GET_DATA_AGGREGATIONS_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs/{param}"); + /** Endpoint for {@code GET /data/archival/archival/policies}. */ public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies"); + /** Endpoint for {@code GET /data/archival/archival/policies/{param}}. */ public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies/{param}"); + /** Endpoint for {@code GET /data/archival/capabilities}. */ public static final Endpoint GET_DATA_ARCHIVAL_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/capabilities"); + /** Endpoint for {@code GET /data/archival/health}. */ public static final Endpoint GET_DATA_ARCHIVAL_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/health"); + /** Endpoint for {@code GET /data/archival/info}. */ public static final Endpoint GET_DATA_ARCHIVAL_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/info"); + /** Endpoint for {@code GET /data/archival/runs}. */ public static final Endpoint GET_DATA_ARCHIVAL_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs"); + /** Endpoint for {@code GET /data/archival/runs/{param}}. */ public static final Endpoint GET_DATA_ARCHIVAL_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs/{param}"); + /** Endpoint for {@code GET /data/catalog/capabilities}. */ public static final Endpoint GET_DATA_CATALOG_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/capabilities"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets}. */ public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}}. */ public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets/{param}"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. */ public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = new Endpoint( ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets/{param}/artifacts/{param}/content"); + /** Endpoint for {@code GET /data/catalog/catalog/sources}. */ public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources"); + /** Endpoint for {@code GET /data/catalog/catalog/sources/{param}}. */ public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources/{param}"); + /** Endpoint for {@code GET /data/catalog/health}. */ public static final Endpoint GET_DATA_CATALOG_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/health"); + /** Endpoint for {@code GET /data/catalog/info}. */ public static final Endpoint GET_DATA_CATALOG_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/info"); + /** Endpoint for {@code GET /data/catalog/runs}. */ public static final Endpoint GET_DATA_CATALOG_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs"); + /** Endpoint for {@code GET /data/catalog/runs/{param}}. */ public static final Endpoint GET_DATA_CATALOG_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs/{param}"); + /** Endpoint for {@code GET /data/enrichment/capabilities}. */ public static final Endpoint GET_DATA_ENRICHMENT_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/capabilities"); + /** Endpoint for {@code GET /data/enrichment/enrichment/profiles}. */ public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles"); + /** Endpoint for {@code GET /data/enrichment/enrichment/profiles/{param}}. */ public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles/{param}"); + /** Endpoint for {@code GET /data/enrichment/health}. */ public static final Endpoint GET_DATA_ENRICHMENT_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/health"); + /** Endpoint for {@code GET /data/enrichment/info}. */ public static final Endpoint GET_DATA_ENRICHMENT_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/info"); + /** Endpoint for {@code GET /data/enrichment/runs}. */ public static final Endpoint GET_DATA_ENRICHMENT_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs"); + /** Endpoint for {@code GET /data/enrichment/runs/{param}}. */ public static final Endpoint GET_DATA_ENRICHMENT_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs/{param}"); + /** Endpoint for {@code GET /data/exports/capabilities}. */ public static final Endpoint GET_DATA_EXPORTS_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/capabilities"); + /** Endpoint for {@code GET /data/exports/exports}. */ public static final Endpoint GET_DATA_EXPORTS_EXPORTS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports"); + /** Endpoint for {@code GET /data/exports/exports/{param}}. */ public static final Endpoint GET_DATA_EXPORTS_EXPORTS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports/{param}"); + /** Endpoint for {@code GET /data/exports/health}. */ public static final Endpoint GET_DATA_EXPORTS_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/health"); + /** Endpoint for {@code GET /data/exports/info}. */ public static final Endpoint GET_DATA_EXPORTS_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/info"); + /** Endpoint for {@code GET /data/exports/runs}. */ public static final Endpoint GET_DATA_EXPORTS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs"); + /** Endpoint for {@code GET /data/exports/runs/{param}}. */ public static final Endpoint GET_DATA_EXPORTS_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs/{param}"); + /** Endpoint for {@code GET /data/ingest/capabilities}. */ public static final Endpoint GET_DATA_INGEST_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/capabilities"); + /** Endpoint for {@code GET /data/ingest/datasets}. */ public static final Endpoint GET_DATA_INGEST_DATASETS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets"); + /** Endpoint for {@code GET /data/ingest/datasets/{param}}. */ public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets/{param}"); + /** Endpoint for {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. */ public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = new Endpoint( ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets/{param}/artifacts/{param}/content"); + /** Endpoint for {@code GET /data/ingest/health}. */ public static final Endpoint GET_DATA_INGEST_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/health"); + /** Endpoint for {@code GET /data/ingest/info}. */ public static final Endpoint GET_DATA_INGEST_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/info"); + /** Endpoint for {@code GET /data/ingest/runs}. */ public static final Endpoint GET_DATA_INGEST_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs"); + /** Endpoint for {@code GET /data/ingest/runs/{param}}. */ public static final Endpoint GET_DATA_INGEST_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs/{param}"); + /** Endpoint for {@code GET /data/ingest/schemas}. */ public static final Endpoint GET_DATA_INGEST_SCHEMAS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas"); + /** Endpoint for {@code GET /data/ingest/schemas/{param}}. */ public static final Endpoint GET_DATA_INGEST_SCHEMAS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas/{param}"); + /** Endpoint for {@code GET /data/normalization/capabilities}. */ public static final Endpoint GET_DATA_NORMALIZATION_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/capabilities"); + /** Endpoint for {@code GET /data/normalization/health}. */ public static final Endpoint GET_DATA_NORMALIZATION_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/health"); + /** Endpoint for {@code GET /data/normalization/info}. */ public static final Endpoint GET_DATA_NORMALIZATION_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/info"); + /** Endpoint for {@code GET /data/normalization/normalization/profiles}. */ public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles"); + /** Endpoint for {@code GET /data/normalization/normalization/profiles/{param}}. */ public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles/{param}"); + /** Endpoint for {@code GET /data/normalization/runs}. */ public static final Endpoint GET_DATA_NORMALIZATION_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs"); + /** Endpoint for {@code GET /data/normalization/runs/{param}}. */ public static final Endpoint GET_DATA_NORMALIZATION_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/capabilities}. */ public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/capabilities"); + /** Endpoint for {@code GET /data/pipelines/health}. */ public static final Endpoint GET_DATA_PIPELINES_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/health"); + /** Endpoint for {@code GET /data/pipelines/info}. */ public static final Endpoint GET_DATA_PIPELINES_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/info"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/pipelines}. */ public static final Endpoint GET_DATA_PIPELINES_PIPELINES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines"); + /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); + /** Endpoint for {@code GET /data/pipelines/runs}. */ public static final Endpoint GET_DATA_PIPELINES_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs"); + /** Endpoint for {@code GET /data/pipelines/runs/{param}}. */ public static final Endpoint GET_DATA_PIPELINES_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs/{param}"); + /** Endpoint for {@code GET /data/quality/capabilities}. */ public static final Endpoint GET_DATA_QUALITY_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/capabilities"); + /** Endpoint for {@code GET /data/quality/health}. */ public static final Endpoint GET_DATA_QUALITY_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/health"); + /** Endpoint for {@code GET /data/quality/info}. */ public static final Endpoint GET_DATA_QUALITY_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/info"); + /** Endpoint for {@code GET /data/quality/quality/rulesets}. */ public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets"); + /** Endpoint for {@code GET /data/quality/quality/rulesets/{param}}. */ public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets/{param}"); + /** Endpoint for {@code GET /data/quality/runs}. */ public static final Endpoint GET_DATA_QUALITY_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs"); + /** Endpoint for {@code GET /data/quality/runs/{param}}. */ public static final Endpoint GET_DATA_QUALITY_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs/{param}"); + /** Endpoint for {@code GET /data/query/capabilities}. */ public static final Endpoint GET_DATA_QUERY_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/capabilities"); + /** Endpoint for {@code GET /data/query/health}. */ public static final Endpoint GET_DATA_QUERY_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/health"); + /** Endpoint for {@code GET /data/query/info}. */ public static final Endpoint GET_DATA_QUERY_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/info"); + /** Endpoint for {@code GET /data/query/runs}. */ public static final Endpoint GET_DATA_QUERY_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs"); + /** Endpoint for {@code GET /data/query/runs/{param}}. */ public static final Endpoint GET_DATA_QUERY_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs/{param}"); + /** Endpoint for {@code GET /data/schemas/capabilities}. */ public static final Endpoint GET_DATA_SCHEMAS_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/capabilities"); + /** Endpoint for {@code GET /data/schemas/health}. */ public static final Endpoint GET_DATA_SCHEMAS_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/health"); + /** Endpoint for {@code GET /data/schemas/info}. */ public static final Endpoint GET_DATA_SCHEMAS_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/info"); + /** Endpoint for {@code GET /data/schemas/runs}. */ public static final Endpoint GET_DATA_SCHEMAS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs"); + /** Endpoint for {@code GET /data/schemas/runs/{param}}. */ public static final Endpoint GET_DATA_SCHEMAS_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs/{param}"); + /** Endpoint for {@code GET /data/schemas/schemas}. */ public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas"); + /** Endpoint for {@code GET /data/schemas/schemas/{param}}. */ public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas/{param}"); + /** Endpoint for {@code GET /data/serving/capabilities}. */ public static final Endpoint GET_DATA_SERVING_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/capabilities"); + /** Endpoint for {@code GET /data/serving/health}. */ public static final Endpoint GET_DATA_SERVING_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/health"); + /** Endpoint for {@code GET /data/serving/info}. */ public static final Endpoint GET_DATA_SERVING_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/info"); + /** Endpoint for {@code GET /data/serving/runs}. */ public static final Endpoint GET_DATA_SERVING_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs"); + /** Endpoint for {@code GET /data/serving/runs/{param}}. */ public static final Endpoint GET_DATA_SERVING_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs/{param}"); + /** Endpoint for {@code GET /data/serving/serving/products}. */ public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products"); + /** Endpoint for {@code GET /data/serving/serving/products/{param}}. */ public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products/{param}"); + /** Endpoint for {@code GET /data/streams/capabilities}. */ public static final Endpoint GET_DATA_STREAMS_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/capabilities"); + /** Endpoint for {@code GET /data/streams/health}. */ public static final Endpoint GET_DATA_STREAMS_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/health"); + /** Endpoint for {@code GET /data/streams/info}. */ public static final Endpoint GET_DATA_STREAMS_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/info"); + /** Endpoint for {@code GET /data/streams/runs}. */ public static final Endpoint GET_DATA_STREAMS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs"); + /** Endpoint for {@code GET /data/streams/runs/{param}}. */ public static final Endpoint GET_DATA_STREAMS_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs/{param}"); + /** Endpoint for {@code GET /data/streams/streams}. */ public static final Endpoint GET_DATA_STREAMS_STREAMS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams"); + /** Endpoint for {@code GET /data/streams/streams/{param}}. */ public static final Endpoint GET_DATA_STREAMS_STREAMS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams/{param}"); + /** Endpoint for {@code GET /data/sync/capabilities}. */ public static final Endpoint GET_DATA_SYNC_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/capabilities"); + /** Endpoint for {@code GET /data/sync/health}. */ public static final Endpoint GET_DATA_SYNC_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/health"); + /** Endpoint for {@code GET /data/sync/info}. */ public static final Endpoint GET_DATA_SYNC_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/info"); + /** Endpoint for {@code GET /data/sync/runs}. */ public static final Endpoint GET_DATA_SYNC_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs"); + /** Endpoint for {@code GET /data/sync/runs/{param}}. */ public static final Endpoint GET_DATA_SYNC_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs/{param}"); + /** Endpoint for {@code GET /data/sync/sync/jobs}. */ public static final Endpoint GET_DATA_SYNC_SYNC_JOBS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs"); + /** Endpoint for {@code GET /data/sync/sync/jobs/{param}}. */ public static final Endpoint GET_DATA_SYNC_SYNC_JOBS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs/{param}"); + /** Endpoint for {@code GET /data/transformations/capabilities}. */ public static final Endpoint GET_DATA_TRANSFORMATIONS_CAPABILITIES = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/capabilities"); + /** Endpoint for {@code GET /data/transformations/health}. */ public static final Endpoint GET_DATA_TRANSFORMATIONS_HEALTH = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/health"); + /** Endpoint for {@code GET /data/transformations/info}. */ public static final Endpoint GET_DATA_TRANSFORMATIONS_INFO = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/info"); + /** Endpoint for {@code GET /data/transformations/runs}. */ public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs"); + /** Endpoint for {@code GET /data/transformations/runs/{param}}. */ public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs/{param}"); + /** Endpoint for {@code GET /data/transformations/transformations}. */ public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations"); + /** Endpoint for {@code GET /data/transformations/transformations/{param}}. */ public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM = new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations/{param}"); + /** Endpoint for {@code POST /data/aggregations/aggregations}. */ public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations"); + /** Endpoint for {@code POST /data/aggregations/aggregations/{param}/executions}. */ public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations/{param}/executions"); + /** Endpoint for {@code POST /data/aggregations/runs}. */ public static final Endpoint POST_DATA_AGGREGATIONS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/runs"); + /** Endpoint for {@code POST /data/archival/archival/policies}. */ public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/archival/policies"); + /** Endpoint for {@code POST /data/archival/archival/policies/{param}/executions}. */ public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/archival/policies/{param}/executions"); + /** Endpoint for {@code POST /data/archival/runs}. */ public static final Endpoint POST_DATA_ARCHIVAL_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/runs"); + /** Endpoint for {@code POST /data/catalog/runs}. */ public static final Endpoint POST_DATA_CATALOG_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/catalog/runs"); + /** Endpoint for {@code POST /data/enrichment/enrichment/profiles}. */ public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/enrichment/profiles"); + /** Endpoint for {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. */ public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS = new Endpoint( ApiService.DATA, HttpMethod.POST, "/data/enrichment/enrichment/profiles/{param}/executions"); + /** Endpoint for {@code POST /data/enrichment/runs}. */ public static final Endpoint POST_DATA_ENRICHMENT_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/runs"); + /** Endpoint for {@code POST /data/exports/exports}. */ public static final Endpoint POST_DATA_EXPORTS_EXPORTS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports"); + /** Endpoint for {@code POST /data/exports/exports/{param}/executions}. */ public static final Endpoint POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports/{param}/executions"); + /** Endpoint for {@code POST /data/exports/runs}. */ public static final Endpoint POST_DATA_EXPORTS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/runs"); + /** Endpoint for {@code POST /data/ingest/datasets/ingest}. */ public static final Endpoint POST_DATA_INGEST_DATASETS_INGEST = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/datasets/ingest"); + /** Endpoint for {@code POST /data/ingest/runs}. */ public static final Endpoint POST_DATA_INGEST_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/runs"); + /** Endpoint for {@code POST /data/normalization/normalization/profiles}. */ public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/normalization/normalization/profiles"); + /** Endpoint for {@code POST /data/normalization/normalization/profiles/{param}/executions}. */ public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS = new Endpoint( ApiService.DATA, HttpMethod.POST, "/data/normalization/normalization/profiles/{param}/executions"); + /** Endpoint for {@code POST /data/normalization/runs}. */ public static final Endpoint POST_DATA_NORMALIZATION_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/normalization/runs"); + /** Endpoint for {@code POST /data/pipelines/pipelines}. */ public static final Endpoint POST_DATA_PIPELINES_PIPELINES = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/pipelines"); + /** Endpoint for {@code POST /data/pipelines/runs}. */ public static final Endpoint POST_DATA_PIPELINES_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/runs"); + /** Endpoint for {@code POST /data/quality/quality/rulesets}. */ public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets"); + /** Endpoint for {@code POST /data/quality/quality/rulesets/{param}/evaluations}. */ public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets/{param}/evaluations"); + /** Endpoint for {@code POST /data/quality/runs}. */ public static final Endpoint POST_DATA_QUALITY_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/runs"); + /** Endpoint for {@code POST /data/query/query/federated}. */ public static final Endpoint POST_DATA_QUERY_QUERY_FEDERATED = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/query/federated"); + /** Endpoint for {@code POST /data/query/runs}. */ public static final Endpoint POST_DATA_QUERY_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/runs"); + /** Endpoint for {@code POST /data/schemas/runs}. */ public static final Endpoint POST_DATA_SCHEMAS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/runs"); + /** Endpoint for {@code POST /data/schemas/schemas}. */ public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas"); + /** Endpoint for {@code POST /data/schemas/schemas/resolve}. */ public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS_RESOLVE = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas/resolve"); + /** Endpoint for {@code POST /data/serving/runs}. */ public static final Endpoint POST_DATA_SERVING_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/runs"); + /** Endpoint for {@code POST /data/serving/serving/products}. */ public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products"); + /** Endpoint for {@code POST /data/serving/serving/products/{param}/refreshes}. */ public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products/{param}/refreshes"); + /** Endpoint for {@code POST /data/streams/runs}. */ public static final Endpoint POST_DATA_STREAMS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/runs"); + /** Endpoint for {@code POST /data/streams/streams}. */ public static final Endpoint POST_DATA_STREAMS_STREAMS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams"); + /** Endpoint for {@code POST /data/streams/streams/{param}/deliveries}. */ public static final Endpoint POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams/{param}/deliveries"); + /** Endpoint for {@code POST /data/sync/runs}. */ public static final Endpoint POST_DATA_SYNC_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/runs"); + /** Endpoint for {@code POST /data/sync/sync/jobs}. */ public static final Endpoint POST_DATA_SYNC_SYNC_JOBS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs"); + /** Endpoint for {@code POST /data/sync/sync/jobs/{param}/executions}. */ public static final Endpoint POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs/{param}/executions"); + /** Endpoint for {@code POST /data/transformations/runs}. */ public static final Endpoint POST_DATA_TRANSFORMATIONS_RUNS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/runs"); + /** Endpoint for {@code POST /data/transformations/transformations}. */ public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS = new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/transformations"); + /** Endpoint for {@code POST /data/transformations/transformations/{param}/executions}. */ public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS = new Endpoint( ApiService.DATA, HttpMethod.POST, "/data/transformations/transformations/{param}/executions"); } @@ -618,36 +901,53 @@ private Data() {} public static final class Events { private Events() {} + /** Endpoint for {@code GET /events}. */ public static final Endpoint GET_EVENTS = new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events"); + /** Endpoint for {@code GET /events/monitoring}. */ public static final Endpoint GET_EVENTS_MONITORING = new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/monitoring"); + /** Endpoint for {@code GET /events/{param}}. */ public static final Endpoint GET_EVENTS_PARAM = new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/{param}"); + /** Endpoint for {@code POST /events}. */ public static final Endpoint POST_EVENTS = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events"); + /** Endpoint for {@code POST /events/analytics}. */ public static final Endpoint POST_EVENTS_ANALYTICS = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics"); + /** Endpoint for {@code POST /events/analytics-v2}. */ public static final Endpoint POST_EVENTS_ANALYTICS_V2 = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics-v2"); + /** Endpoint for {@code POST /events/benchmark/v1}. */ public static final Endpoint POST_EVENTS_BENCHMARK_V1 = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v1"); + /** Endpoint for {@code POST /events/benchmark/v2}. */ public static final Endpoint POST_EVENTS_BENCHMARK_V2 = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v2"); + /** Endpoint for {@code POST /events/bulk}. */ public static final Endpoint POST_EVENTS_BULK = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/bulk"); + /** Endpoint for {@code POST /events/huggingface-billing}. */ public static final Endpoint POST_EVENTS_HUGGINGFACE_BILLING = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/huggingface-billing"); + /** Endpoint for {@code POST /events/query}. */ public static final Endpoint POST_EVENTS_QUERY = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/query"); + /** Endpoint for {@code POST /events/raw/reprocess/all}. */ public static final Endpoint POST_EVENTS_RAW_REPROCESS_ALL = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/all"); + /** Endpoint for {@code POST /events/raw/reprocess/pending}. */ public static final Endpoint POST_EVENTS_RAW_REPROCESS_PENDING = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/pending"); + /** Endpoint for {@code POST /events/reprocess}. */ public static final Endpoint POST_EVENTS_REPROCESS = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess"); + /** Endpoint for {@code POST /events/reprocess/internal}. */ public static final Endpoint POST_EVENTS_REPROCESS_INTERNAL = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess/internal"); + /** Endpoint for {@code POST /events/usage}. */ public static final Endpoint POST_EVENTS_USAGE = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage"); + /** Endpoint for {@code POST /events/usage/meter}. */ public static final Endpoint POST_EVENTS_USAGE_METER = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage/meter"); } @@ -655,82 +955,80 @@ private Events() {} public static final class Governance { private Governance() {} + /** Endpoint for {@code DELETE /policies/{param}}. */ public static final Endpoint DELETE_POLICIES_PARAM = new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/policies/{param}"); + /** Endpoint for {@code DELETE /roles/{param}}. */ public static final Endpoint DELETE_ROLES_PARAM = new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/roles/{param}"); + /** Endpoint for {@code GET /compliance/assessments}. */ public static final Endpoint GET_COMPLIANCE_ASSESSMENTS = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments"); + /** Endpoint for {@code GET /compliance/assessments/{param}}. */ public static final Endpoint GET_COMPLIANCE_ASSESSMENTS_PARAM = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments/{param}"); + /** Endpoint for {@code GET /compliance/frameworks}. */ public static final Endpoint GET_COMPLIANCE_FRAMEWORKS = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/frameworks"); + /** Endpoint for {@code GET /compliance/score}. */ public static final Endpoint GET_COMPLIANCE_SCORE = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/score"); + /** Endpoint for {@code GET /compliance/violations}. */ public static final Endpoint GET_COMPLIANCE_VIOLATIONS = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/violations"); + /** Endpoint for {@code GET /permissions}. */ public static final Endpoint GET_PERMISSIONS = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions"); + /** Endpoint for {@code GET /permissions/{param}}. */ public static final Endpoint GET_PERMISSIONS_PARAM = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions/{param}"); + /** Endpoint for {@code GET /policies}. */ public static final Endpoint GET_POLICIES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies"); + /** Endpoint for {@code GET /policies/templates}. */ public static final Endpoint GET_POLICIES_TEMPLATES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/templates"); + /** Endpoint for {@code GET /policies/{param}}. */ public static final Endpoint GET_POLICIES_PARAM = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}"); + /** Endpoint for {@code GET /policies/{param}/versions}. */ public static final Endpoint GET_POLICIES_PARAM_VERSIONS = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}/versions"); + /** Endpoint for {@code GET /roles}. */ public static final Endpoint GET_ROLES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles"); + /** Endpoint for {@code GET /roles/{param}}. */ public static final Endpoint GET_ROLES_PARAM = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles/{param}"); + /** Endpoint for {@code POST /access/check}. */ public static final Endpoint POST_ACCESS_CHECK = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/access/check"); + /** Endpoint for {@code POST /compliance/assessments}. */ public static final Endpoint POST_COMPLIANCE_ASSESSMENTS = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/assessments"); + /** Endpoint for {@code POST /compliance/violations/{param}/resolve}. */ public static final Endpoint POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/violations/{param}/resolve"); + /** Endpoint for {@code POST /permissions}. */ public static final Endpoint POST_PERMISSIONS = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/permissions"); + /** Endpoint for {@code POST /policies}. */ public static final Endpoint POST_POLICIES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies"); + /** Endpoint for {@code POST /policies/from-template}. */ public static final Endpoint POST_POLICIES_FROM_TEMPLATE = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/from-template"); + /** Endpoint for {@code POST /policies/validate}. */ public static final Endpoint POST_POLICIES_VALIDATE = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/validate"); + /** Endpoint for {@code POST /roles}. */ public static final Endpoint POST_ROLES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/roles"); + /** Endpoint for {@code PUT /policies/{param}}. */ public static final Endpoint PUT_POLICIES_PARAM = new Endpoint(ApiService.GOVERNANCE, HttpMethod.PUT, "/policies/{param}"); } - public static final class Integrations { - private Integrations() {} - - public static final Endpoint DELETE_INTEGRATIONS_PARAM = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.DELETE, "/integrations/{param}"); - public static final Endpoint GET_INTEGRATIONS_PARAM = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.GET, "/integrations/{param}"); - public static final Endpoint GET_INTEGRATIONS_PARAM_ACTION_RUNS = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.GET, "/integrations/{param}/action-runs"); - public static final Endpoint GET_INTEGRATIONS_PARAM_CAPABILITIES = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.GET, "/integrations/{param}/capabilities"); - public static final Endpoint GET_INTEGRATIONS_PARAM_CONNECTION_TESTS = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.GET, "/integrations/{param}/connection-tests"); - public static final Endpoint GET_INTEGRATIONS_PARAM_SURFACES = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.GET, "/integrations/{param}/surfaces"); - public static final Endpoint PATCH_INTEGRATIONS_PARAM = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.PATCH, "/integrations/{param}"); - public static final Endpoint POST_INTEGRATIONS_PARAM_ACTION_RUNS = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.POST, "/integrations/{param}/action-runs"); - public static final Endpoint POST_INTEGRATIONS_PARAM_CONNECTION_TESTS = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.POST, "/integrations/{param}/connection-tests"); - public static final Endpoint PUT_INTEGRATIONS_PARAM_CAPABILITIES_PARAM = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.PUT, "/integrations/{param}/capabilities/{param}"); - public static final Endpoint PUT_INTEGRATIONS_PARAM_SURFACES_PARAM = - new Endpoint(ApiService.INTEGRATIONS, HttpMethod.PUT, "/integrations/{param}/surfaces/{param}"); - } - public static final class Invocations { private Invocations() {} + /** Endpoint for {@code POST /invocations}. */ public static final Endpoint POST_INVOCATIONS = new Endpoint(ApiService.INVOCATIONS, HttpMethod.POST, "/invocations"); } @@ -738,18 +1036,25 @@ private Invocations() {} public static final class Lineage { private Lineage() {} + /** Endpoint for {@code GET /lineage/edges}. */ public static final Endpoint GET_LINEAGE_EDGES = new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges"); + /** Endpoint for {@code GET /lineage/edges/{param}}. */ public static final Endpoint GET_LINEAGE_EDGES_PARAM = new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges/{param}"); + /** Endpoint for {@code GET /lineage/graph}. */ public static final Endpoint GET_LINEAGE_GRAPH = new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/graph"); + /** Endpoint for {@code GET /lineage/nodes}. */ public static final Endpoint GET_LINEAGE_NODES = new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes"); + /** Endpoint for {@code GET /lineage/nodes/{param}}. */ public static final Endpoint GET_LINEAGE_NODES_PARAM = new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}"); + /** Endpoint for {@code GET /lineage/nodes/{param}/trace}. */ public static final Endpoint GET_LINEAGE_NODES_PARAM_TRACE = new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}/trace"); + /** Endpoint for {@code POST /lineage/impact}. */ public static final Endpoint POST_LINEAGE_IMPACT = new Endpoint(ApiService.LINEAGE, HttpMethod.POST, "/lineage/impact"); } @@ -757,66 +1062,97 @@ private Lineage() {} public static final class Observability { private Observability() {} + /** Endpoint for {@code DELETE /observability/alerts/rules/{param}}. */ public static final Endpoint DELETE_OBSERVABILITY_ALERTS_RULES_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code DELETE /observability/alerts/{param}}. */ public static final Endpoint DELETE_OBSERVABILITY_ALERTS_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/{param}"); + /** Endpoint for {@code DELETE /observability/dashboards/{param}}. */ public static final Endpoint DELETE_OBSERVABILITY_DASHBOARDS_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/dashboards/{param}"); + /** Endpoint for {@code GET /observability/alerts}. */ public static final Endpoint GET_OBSERVABILITY_ALERTS = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts"); + /** Endpoint for {@code GET /observability/alerts/incidents}. */ public static final Endpoint GET_OBSERVABILITY_ALERTS_INCIDENTS = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/incidents"); + /** Endpoint for {@code GET /observability/alerts/rules}. */ public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules"); + /** Endpoint for {@code GET /observability/alerts/rules/{param}}. */ public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code GET /observability/dashboards}. */ public static final Endpoint GET_OBSERVABILITY_DASHBOARDS = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards"); + /** Endpoint for {@code GET /observability/dashboards/{param}}. */ public static final Endpoint GET_OBSERVABILITY_DASHBOARDS_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards/{param}"); + /** Endpoint for {@code GET /observability/events/stats}. */ public static final Endpoint GET_OBSERVABILITY_EVENTS_STATS = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/events/stats"); + /** Endpoint for {@code GET /observability/metrics}. */ public static final Endpoint GET_OBSERVABILITY_METRICS = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics"); + /** Endpoint for {@code GET /observability/metrics/list}. */ public static final Endpoint GET_OBSERVABILITY_METRICS_LIST = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics/list"); + /** Endpoint for {@code GET /observability/traces}. */ public static final Endpoint GET_OBSERVABILITY_TRACES = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces"); + /** Endpoint for {@code GET /observability/traces/{param}}. */ public static final Endpoint GET_OBSERVABILITY_TRACES_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces/{param}"); + /** Endpoint for {@code POST /observability/alerts}. */ public static final Endpoint POST_OBSERVABILITY_ALERTS = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts"); + /** Endpoint for {@code POST /observability/alerts/rules}. */ public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/rules"); + /** Endpoint for {@code POST /observability/alerts/rules/{param}/toggle}. */ public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/rules/{param}/toggle"); + /** Endpoint for {@code POST /observability/alerts/{param}/disable}. */ public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_DISABLE = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/disable"); + /** Endpoint for {@code POST /observability/alerts/{param}/enable}. */ public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_ENABLE = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/enable"); + /** Endpoint for {@code POST /observability/dashboards}. */ public static final Endpoint POST_OBSERVABILITY_DASHBOARDS = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards"); + /** Endpoint for {@code POST /observability/dashboards/{param}/share}. */ public static final Endpoint POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards/{param}/share"); + /** Endpoint for {@code POST /observability/events}. */ public static final Endpoint POST_OBSERVABILITY_EVENTS = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events"); + /** Endpoint for {@code POST /observability/events/batch}. */ public static final Endpoint POST_OBSERVABILITY_EVENTS_BATCH = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events/batch"); + /** Endpoint for {@code POST /observability/logs/ingest}. */ public static final Endpoint POST_OBSERVABILITY_LOGS_INGEST = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/ingest"); + /** Endpoint for {@code POST /observability/logs/query}. */ public static final Endpoint POST_OBSERVABILITY_LOGS_QUERY = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/query"); + /** Endpoint for {@code POST /observability/metrics/ingest}. */ public static final Endpoint POST_OBSERVABILITY_METRICS_INGEST = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/metrics/ingest"); + /** Endpoint for {@code POST /observability/traces/query}. */ public static final Endpoint POST_OBSERVABILITY_TRACES_QUERY = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/traces/query"); + /** Endpoint for {@code PUT /observability/alerts/rules/{param}}. */ public static final Endpoint PUT_OBSERVABILITY_ALERTS_RULES_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code PUT /observability/alerts/{param}}. */ public static final Endpoint PUT_OBSERVABILITY_ALERTS_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/{param}"); + /** Endpoint for {@code PUT /observability/dashboards/{param}}. */ public static final Endpoint PUT_OBSERVABILITY_DASHBOARDS_PARAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/dashboards/{param}"); + /** Endpoint for {@code STREAM /observability/logs/stream}. */ public static final Endpoint STREAM_OBSERVABILITY_LOGS_STREAM = new Endpoint(ApiService.OBSERVABILITY, HttpMethod.STREAM, "/observability/logs/stream"); } @@ -824,346 +1160,517 @@ private Observability() {} public static final class Ontology { private Ontology() {} + /** Endpoint for {@code DELETE /ontology/objects/object-types/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code DELETE /ontology/objects/objects/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code DELETE /ontology/reasoning/rules/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_REASONING_RULES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/reasoning/rules/{param}"); + /** Endpoint for {@code DELETE /ontology/relationships/relationship-types/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM = new Endpoint( ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/relationships/relationship-types/{param}"); + /** Endpoint for {@code DELETE /ontology/relationships/relationships/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code DELETE /ontology/rollouts/rollouts/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code DELETE /ontology/rollups/rollups/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollups/rollups/{param}"); + /** Endpoint for {@code DELETE /ontology/schemas/schemas/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/schemas/schemas/{param}"); + /** Endpoint for {@code DELETE /ontology/validation/rules/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_VALIDATION_RULES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/validation/rules/{param}"); + /** Endpoint for {@code DELETE /ontology/versions/versions/{param}}. */ public static final Endpoint DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/versions/versions/{param}"); + /** Endpoint for {@code GET /ontology/engine/capabilities}. */ public static final Endpoint GET_ONTOLOGY_ENGINE_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/capabilities"); + /** Endpoint for {@code GET /ontology/engine/health}. */ public static final Endpoint GET_ONTOLOGY_ENGINE_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/health"); + /** Endpoint for {@code GET /ontology/engine/info}. */ public static final Endpoint GET_ONTOLOGY_ENGINE_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/info"); + /** Endpoint for {@code GET /ontology/engine/runs}. */ public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs"); + /** Endpoint for {@code GET /ontology/engine/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs/{param}"); + /** Endpoint for {@code GET /ontology/events/capabilities}. */ public static final Endpoint GET_ONTOLOGY_EVENTS_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/capabilities"); + /** Endpoint for {@code GET /ontology/events/events}. */ public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events"); + /** Endpoint for {@code GET /ontology/events/events/checkpoints/{param}}. */ public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/checkpoints/{param}"); + /** Endpoint for {@code GET /ontology/events/events/{param}}. */ public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/{param}"); + /** Endpoint for {@code GET /ontology/events/health}. */ public static final Endpoint GET_ONTOLOGY_EVENTS_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/health"); + /** Endpoint for {@code GET /ontology/events/info}. */ public static final Endpoint GET_ONTOLOGY_EVENTS_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/info"); + /** Endpoint for {@code GET /ontology/events/runs}. */ public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs"); + /** Endpoint for {@code GET /ontology/events/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs/{param}"); + /** Endpoint for {@code GET /ontology/extract/capabilities}. */ public static final Endpoint GET_ONTOLOGY_EXTRACT_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/capabilities"); + /** Endpoint for {@code GET /ontology/extract/health}. */ public static final Endpoint GET_ONTOLOGY_EXTRACT_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/health"); + /** Endpoint for {@code GET /ontology/extract/info}. */ public static final Endpoint GET_ONTOLOGY_EXTRACT_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/info"); + /** Endpoint for {@code GET /ontology/extract/runs}. */ public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs"); + /** Endpoint for {@code GET /ontology/extract/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs/{param}"); + /** Endpoint for {@code GET /ontology/graph/capabilities}. */ public static final Endpoint GET_ONTOLOGY_GRAPH_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/capabilities"); + /** Endpoint for {@code GET /ontology/graph/entities/{param}}. */ public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}"); + /** Endpoint for {@code GET /ontology/graph/entities/{param}/provenance}. */ public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}/provenance"); + /** Endpoint for {@code GET /ontology/graph/health}. */ public static final Endpoint GET_ONTOLOGY_GRAPH_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/health"); + /** Endpoint for {@code GET /ontology/graph/info}. */ public static final Endpoint GET_ONTOLOGY_GRAPH_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/info"); + /** Endpoint for {@code GET /ontology/graph/relationships/{param}}. */ public static final Endpoint GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/relationships/{param}"); + /** Endpoint for {@code GET /ontology/graph/runs}. */ public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs"); + /** Endpoint for {@code GET /ontology/graph/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs/{param}"); + /** Endpoint for {@code GET /ontology/objects/capabilities}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/capabilities"); + /** Endpoint for {@code GET /ontology/objects/health}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/health"); + /** Endpoint for {@code GET /ontology/objects/info}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/info"); + /** Endpoint for {@code GET /ontology/objects/object-types}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types"); + /** Endpoint for {@code GET /ontology/objects/object-types/{param}}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code GET /ontology/objects/objects}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects"); + /** Endpoint for {@code GET /ontology/objects/objects/{param}}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code GET /ontology/objects/runs}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs"); + /** Endpoint for {@code GET /ontology/objects/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs/{param}"); + /** Endpoint for {@code GET /ontology/reasoning/capabilities}. */ public static final Endpoint GET_ONTOLOGY_REASONING_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/capabilities"); + /** Endpoint for {@code GET /ontology/reasoning/health}. */ public static final Endpoint GET_ONTOLOGY_REASONING_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/health"); + /** Endpoint for {@code GET /ontology/reasoning/info}. */ public static final Endpoint GET_ONTOLOGY_REASONING_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/info"); + /** Endpoint for {@code GET /ontology/reasoning/rules}. */ public static final Endpoint GET_ONTOLOGY_REASONING_RULES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/rules"); + /** Endpoint for {@code GET /ontology/reasoning/runs}. */ public static final Endpoint GET_ONTOLOGY_REASONING_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs"); + /** Endpoint for {@code GET /ontology/reasoning/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_REASONING_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs/{param}"); + /** Endpoint for {@code GET /ontology/relationships/capabilities}. */ public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/capabilities"); + /** Endpoint for {@code GET /ontology/relationships/health}. */ public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/health"); + /** Endpoint for {@code GET /ontology/relationships/info}. */ public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/info"); + /** Endpoint for {@code GET /ontology/relationships/relationship-types}. */ public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationship-types"); + /** Endpoint for {@code GET /ontology/relationships/relationships}. */ public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships"); + /** Endpoint for {@code GET /ontology/relationships/relationships/{param}}. */ public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code GET /ontology/relationships/runs}. */ public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs"); + /** Endpoint for {@code GET /ontology/relationships/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs/{param}"); + /** Endpoint for {@code GET /ontology/rollouts/capabilities}. */ public static final Endpoint GET_ONTOLOGY_ROLLOUTS_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/capabilities"); + /** Endpoint for {@code GET /ontology/rollouts/health}. */ public static final Endpoint GET_ONTOLOGY_ROLLOUTS_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/health"); + /** Endpoint for {@code GET /ontology/rollouts/info}. */ public static final Endpoint GET_ONTOLOGY_ROLLOUTS_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/info"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts}. */ public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}}. */ public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}/status}. */ public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}/status"); + /** Endpoint for {@code GET /ontology/rollouts/runs}. */ public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs"); + /** Endpoint for {@code GET /ontology/rollouts/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs/{param}"); + /** Endpoint for {@code GET /ontology/rollups/capabilities}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/capabilities"); + /** Endpoint for {@code GET /ontology/rollups/health}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/health"); + /** Endpoint for {@code GET /ontology/rollups/info}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/info"); + /** Endpoint for {@code GET /ontology/rollups/rollup-results/{param}}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollup-results/{param}"); + /** Endpoint for {@code GET /ontology/rollups/rollups}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups"); + /** Endpoint for {@code GET /ontology/rollups/rollups/{param}}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}"); + /** Endpoint for {@code GET /ontology/rollups/rollups/{param}/result}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}/result"); + /** Endpoint for {@code GET /ontology/rollups/runs}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs"); + /** Endpoint for {@code GET /ontology/rollups/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs/{param}"); + /** Endpoint for {@code GET /ontology/schemas/capabilities}. */ public static final Endpoint GET_ONTOLOGY_SCHEMAS_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/capabilities"); + /** Endpoint for {@code GET /ontology/schemas/health}. */ public static final Endpoint GET_ONTOLOGY_SCHEMAS_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/health"); + /** Endpoint for {@code GET /ontology/schemas/info}. */ public static final Endpoint GET_ONTOLOGY_SCHEMAS_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/info"); + /** Endpoint for {@code GET /ontology/schemas/runs}. */ public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs"); + /** Endpoint for {@code GET /ontology/schemas/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs/{param}"); + /** Endpoint for {@code GET /ontology/schemas/schemas}. */ public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas"); + /** Endpoint for {@code GET /ontology/schemas/schemas/{param}}. */ public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas/{param}"); + /** Endpoint for {@code GET /ontology/transformations/capabilities}. */ public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/capabilities"); + /** Endpoint for {@code GET /ontology/transformations/health}. */ public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/health"); + /** Endpoint for {@code GET /ontology/transformations/info}. */ public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/info"); + /** Endpoint for {@code GET /ontology/transformations/runs}. */ public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs"); + /** Endpoint for {@code GET /ontology/transformations/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs/{param}"); + /** Endpoint for {@code GET /ontology/validation/capabilities}. */ public static final Endpoint GET_ONTOLOGY_VALIDATION_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/capabilities"); + /** Endpoint for {@code GET /ontology/validation/health}. */ public static final Endpoint GET_ONTOLOGY_VALIDATION_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/health"); + /** Endpoint for {@code GET /ontology/validation/info}. */ public static final Endpoint GET_ONTOLOGY_VALIDATION_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/info"); + /** Endpoint for {@code GET /ontology/validation/rules}. */ public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules"); + /** Endpoint for {@code GET /ontology/validation/rules/{param}}. */ public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules/{param}"); + /** Endpoint for {@code GET /ontology/validation/runs}. */ public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs"); + /** Endpoint for {@code GET /ontology/validation/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs/{param}"); + /** Endpoint for {@code GET /ontology/versions/capabilities}. */ public static final Endpoint GET_ONTOLOGY_VERSIONS_CAPABILITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/capabilities"); + /** Endpoint for {@code GET /ontology/versions/health}. */ public static final Endpoint GET_ONTOLOGY_VERSIONS_HEALTH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/health"); + /** Endpoint for {@code GET /ontology/versions/info}. */ public static final Endpoint GET_ONTOLOGY_VERSIONS_INFO = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/info"); + /** Endpoint for {@code GET /ontology/versions/release-bundles}. */ public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles"); + /** Endpoint for {@code GET /ontology/versions/release-bundles/{param}}. */ public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles/{param}"); + /** Endpoint for {@code GET /ontology/versions/runs}. */ public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs"); + /** Endpoint for {@code GET /ontology/versions/runs/{param}}. */ public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs/{param}"); + /** Endpoint for {@code GET /ontology/versions/versions/{param}}. */ public static final Endpoint GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/versions/{param}"); + /** Endpoint for {@code POST /ontology/engine/ontologies/compare-versions}. */ public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/compare-versions"); + /** Endpoint for {@code POST /ontology/engine/ontologies/export}. */ public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export"); + /** Endpoint for {@code POST /ontology/engine/ontologies/export-shacl}. */ public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export-shacl"); + /** Endpoint for {@code POST /ontology/engine/ontologies/generate}. */ public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/generate"); + /** Endpoint for {@code POST /ontology/engine/ontologies/infer-classes}. */ public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-classes"); + /** Endpoint for {@code POST /ontology/engine/ontologies/infer-properties}. */ public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-properties"); + /** Endpoint for {@code POST /ontology/engine/ontologies/validate}. */ public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/validate"); + /** Endpoint for {@code POST /ontology/engine/runs}. */ public static final Endpoint POST_ONTOLOGY_ENGINE_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/runs"); + /** Endpoint for {@code POST /ontology/events/events}. */ public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events"); + /** Endpoint for {@code POST /ontology/events/events/checkpoints}. */ public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/checkpoints"); + /** Endpoint for {@code POST /ontology/events/events/leases/acknowledge}. */ public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acknowledge"); + /** Endpoint for {@code POST /ontology/events/events/leases/acquire}. */ public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acquire"); + /** Endpoint for {@code POST /ontology/events/runs}. */ public static final Endpoint POST_ONTOLOGY_EVENTS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/runs"); + /** Endpoint for {@code POST /ontology/extract/extract/analyze}. */ public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/analyze"); + /** Endpoint for {@code POST /ontology/extract/extract/architecture}. */ public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/architecture"); + /** Endpoint for {@code POST /ontology/extract/extract/coreferences}. */ public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/coreferences"); + /** Endpoint for {@code POST /ontology/extract/extract/entities}. */ public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/entities"); + /** Endpoint for {@code POST /ontology/extract/extract/events}. */ public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/events"); + /** Endpoint for {@code POST /ontology/extract/extract/relations}. */ public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/relations"); + /** Endpoint for {@code POST /ontology/extract/extract/triplets}. */ public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/triplets"); + /** Endpoint for {@code POST /ontology/extract/runs}. */ public static final Endpoint POST_ONTOLOGY_EXTRACT_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/runs"); + /** Endpoint for {@code POST /ontology/graph/graph/analyze}. */ public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/analyze"); + /** Endpoint for {@code POST /ontology/graph/graph/build}. */ public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BUILD = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/build"); + /** Endpoint for {@code POST /ontology/graph/graph/bulk-read}. */ public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/bulk-read"); + /** Endpoint for {@code POST /ontology/graph/graph/neighborhood}. */ public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/neighborhood"); + /** Endpoint for {@code POST /ontology/graph/graph/path}. */ public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_PATH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/path"); + /** Endpoint for {@code POST /ontology/graph/graph/query}. */ public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_QUERY = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/query"); + /** Endpoint for {@code POST /ontology/graph/runs}. */ public static final Endpoint POST_ONTOLOGY_GRAPH_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/runs"); + /** Endpoint for {@code POST /ontology/objects/runs}. */ public static final Endpoint POST_ONTOLOGY_OBJECTS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/objects/runs"); + /** Endpoint for {@code POST /ontology/reasoning/explain}. */ public static final Endpoint POST_ONTOLOGY_REASONING_EXPLAIN = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/explain"); + /** Endpoint for {@code POST /ontology/reasoning/facts}. */ public static final Endpoint POST_ONTOLOGY_REASONING_FACTS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts"); + /** Endpoint for {@code POST /ontology/reasoning/facts/load-graph}. */ public static final Endpoint POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts/load-graph"); + /** Endpoint for {@code POST /ontology/reasoning/reason/backward}. */ public static final Endpoint POST_ONTOLOGY_REASONING_REASON_BACKWARD = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/backward"); + /** Endpoint for {@code POST /ontology/reasoning/reason/forward}. */ public static final Endpoint POST_ONTOLOGY_REASONING_REASON_FORWARD = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/forward"); + /** Endpoint for {@code POST /ontology/reasoning/rules}. */ public static final Endpoint POST_ONTOLOGY_REASONING_RULES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/rules"); + /** Endpoint for {@code POST /ontology/reasoning/runs}. */ public static final Endpoint POST_ONTOLOGY_REASONING_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/runs"); + /** Endpoint for {@code POST /ontology/relationships/runs}. */ public static final Endpoint POST_ONTOLOGY_RELATIONSHIPS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/relationships/runs"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts}. */ public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/pause}. */ public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/pause"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/resume}. */ public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/resume"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/rollback}. */ public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/rollback"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/start}. */ public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/start"); + /** Endpoint for {@code POST /ontology/rollouts/runs}. */ public static final Endpoint POST_ONTOLOGY_ROLLOUTS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/runs"); + /** Endpoint for {@code POST /ontology/rollups/rollups}. */ public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups"); + /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/execute}. */ public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/execute"); + /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/preview}. */ public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/preview"); + /** Endpoint for {@code POST /ontology/rollups/runs}. */ public static final Endpoint POST_ONTOLOGY_ROLLUPS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/runs"); + /** Endpoint for {@code POST /ontology/schemas/runs}. */ public static final Endpoint POST_ONTOLOGY_SCHEMAS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/runs"); + /** Endpoint for {@code POST /ontology/schemas/schemas}. */ public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas"); + /** Endpoint for {@code POST /ontology/schemas/schemas/validate}. */ public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas/validate"); + /** Endpoint for {@code POST /ontology/transformations/runs}. */ public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/runs"); + /** Endpoint for {@code POST /ontology/transformations/transformations}. */ public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/transformations"); + /** Endpoint for {@code POST /ontology/validation/payloads/validate}. */ public static final Endpoint POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/payloads/validate"); + /** Endpoint for {@code POST /ontology/validation/rules}. */ public static final Endpoint POST_ONTOLOGY_VALIDATION_RULES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/rules"); + /** Endpoint for {@code POST /ontology/validation/runs}. */ public static final Endpoint POST_ONTOLOGY_VALIDATION_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/runs"); + /** Endpoint for {@code POST /ontology/versions/audit/verify}. */ public static final Endpoint POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/audit/verify"); + /** Endpoint for {@code POST /ontology/versions/release-bundles}. */ public static final Endpoint POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/release-bundles"); + /** Endpoint for {@code POST /ontology/versions/runs}. */ public static final Endpoint POST_ONTOLOGY_VERSIONS_RUNS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/runs"); + /** Endpoint for {@code POST /ontology/versions/versions}. */ public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions"); + /** Endpoint for {@code POST /ontology/versions/versions/compare}. */ public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE = new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions/compare"); + /** Endpoint for {@code PUT /ontology/graph/entities/{param}}. */ public static final Endpoint PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/entities/{param}"); + /** Endpoint for {@code PUT /ontology/graph/relationships/{param}}. */ public static final Endpoint PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/relationships/{param}"); + /** Endpoint for {@code PUT /ontology/objects/object-types/{param}}. */ public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code PUT /ontology/objects/objects/{param}}. */ public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code PUT /ontology/reasoning/rules/{param}}. */ public static final Endpoint PUT_ONTOLOGY_REASONING_RULES_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/reasoning/rules/{param}"); + /** Endpoint for {@code PUT /ontology/relationships/relationships/{param}}. */ public static final Endpoint PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code PUT /ontology/rollouts/rollouts/{param}}. */ public static final Endpoint PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code PUT /ontology/rollups/rollups/{param}}. */ public static final Endpoint PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollups/rollups/{param}"); } @@ -1171,26 +1678,37 @@ private Ontology() {} public static final class Pipelines { private Pipelines() {} + /** Endpoint for {@code GET /data/pipelines/capabilities}. */ public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/capabilities"); + /** Endpoint for {@code GET /data/pipelines/health}. */ public static final Endpoint GET_DATA_PIPELINES_HEALTH = new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/health"); + /** Endpoint for {@code GET /data/pipelines/info}. */ public static final Endpoint GET_DATA_PIPELINES_INFO = new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/info"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/pipelines}. */ public static final Endpoint GET_DATA_PIPELINES_PIPELINES = new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines"); + /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); + /** Endpoint for {@code GET /data/pipelines/runs}. */ public static final Endpoint GET_DATA_PIPELINES_RUNS = new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/runs"); + /** Endpoint for {@code POST /data/pipelines/pipelines}. */ public static final Endpoint POST_DATA_PIPELINES_PIPELINES = new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/pipelines"); + /** Endpoint for {@code POST /data/pipelines/runs}. */ public static final Endpoint POST_DATA_PIPELINES_RUNS = new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/runs"); + /** Endpoint for {@code STREAM /data/pipelines/pipeline-runs/{param}}. */ public static final Endpoint STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM = new Endpoint(ApiService.PIPELINES, HttpMethod.STREAM, "/data/pipelines/pipeline-runs/{param}"); } @@ -1198,6 +1716,7 @@ private Pipelines() {} public static final class Providers { private Providers() {} + /** Endpoint for {@code GET /providers/{param}}. */ public static final Endpoint GET_PROVIDERS_PARAM = new Endpoint(ApiService.PROVIDERS, HttpMethod.GET, "/providers/{param}"); } @@ -1209,10 +1728,13 @@ private React() {} public static final class Sandbox { private Sandbox() {} + /** Endpoint for {@code GET /sandbox/languages}. */ public static final Endpoint GET_SANDBOX_LANGUAGES = new Endpoint(ApiService.SANDBOX, HttpMethod.GET, "/sandbox/languages"); + /** Endpoint for {@code POST /sandbox/self-test}. */ public static final Endpoint POST_SANDBOX_SELF_TEST = new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/self-test"); + /** Endpoint for {@code POST /sandbox/submit}. */ public static final Endpoint POST_SANDBOX_SUBMIT = new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/submit"); } @@ -1220,24 +1742,34 @@ private Sandbox() {} public static final class Schedules { private Schedules() {} + /** Endpoint for {@code DELETE /workflows/schedules/{param}}. */ public static final Endpoint DELETE_WORKFLOWS_SCHEDULES_PARAM = new Endpoint(ApiService.SCHEDULES, HttpMethod.DELETE, "/workflows/schedules/{param}"); + /** Endpoint for {@code GET /workflows/schedules}. */ public static final Endpoint GET_WORKFLOWS_SCHEDULES = new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules"); + /** Endpoint for {@code GET /workflows/schedules/{param}}. */ public static final Endpoint GET_WORKFLOWS_SCHEDULES_PARAM = new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules/{param}"); + /** Endpoint for {@code PATCH /workflows/schedules/{param}}. */ public static final Endpoint PATCH_WORKFLOWS_SCHEDULES_PARAM = new Endpoint(ApiService.SCHEDULES, HttpMethod.PATCH, "/workflows/schedules/{param}"); + /** Endpoint for {@code POST /workflows/cron/parse}. */ public static final Endpoint POST_WORKFLOWS_CRON_PARSE = new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/parse"); + /** Endpoint for {@code POST /workflows/cron/validate}. */ public static final Endpoint POST_WORKFLOWS_CRON_VALIDATE = new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/validate"); + /** Endpoint for {@code POST /workflows/schedules}. */ public static final Endpoint POST_WORKFLOWS_SCHEDULES = new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules"); + /** Endpoint for {@code POST /workflows/schedules/{param}/pause}. */ public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE = new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/pause"); + /** Endpoint for {@code POST /workflows/schedules/{param}/resume}. */ public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_RESUME = new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/resume"); + /** Endpoint for {@code POST /workflows/schedules/{param}/trigger}. */ public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER = new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/trigger"); } @@ -1245,22 +1777,32 @@ private Schedules() {} public static final class Webhooks { private Webhooks() {} + /** Endpoint for {@code DELETE /webhooks/{param}}. */ public static final Endpoint DELETE_WEBHOOKS_PARAM = new Endpoint(ApiService.WEBHOOKS, HttpMethod.DELETE, "/webhooks/{param}"); + /** Endpoint for {@code GET /webhooks}. */ public static final Endpoint GET_WEBHOOKS = new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks"); + /** Endpoint for {@code GET /webhooks/deliveries}. */ public static final Endpoint GET_WEBHOOKS_DELIVERIES = new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries"); + /** Endpoint for {@code GET /webhooks/deliveries/{param}}. */ public static final Endpoint GET_WEBHOOKS_DELIVERIES_PARAM = new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries/{param}"); + /** Endpoint for {@code GET /webhooks/stats}. */ public static final Endpoint GET_WEBHOOKS_STATS = new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/stats"); + /** Endpoint for {@code GET /webhooks/{param}}. */ public static final Endpoint GET_WEBHOOKS_PARAM = new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/{param}"); + /** Endpoint for {@code POST /webhooks}. */ public static final Endpoint POST_WEBHOOKS = new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks"); + /** Endpoint for {@code POST /webhooks/deliveries/{param}/retry}. */ public static final Endpoint POST_WEBHOOKS_DELIVERIES_PARAM_RETRY = new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/deliveries/{param}/retry"); + /** Endpoint for {@code POST /webhooks/{param}/rotate-secret}. */ public static final Endpoint POST_WEBHOOKS_PARAM_ROTATE_SECRET = new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/{param}/rotate-secret"); + /** Endpoint for {@code PUT /webhooks/{param}}. */ public static final Endpoint PUT_WEBHOOKS_PARAM = new Endpoint(ApiService.WEBHOOKS, HttpMethod.PUT, "/webhooks/{param}"); } @@ -1268,18 +1810,25 @@ private Webhooks() {} public static final class WebhookEndpoints { private WebhookEndpoints() {} + /** Endpoint for {@code DELETE /webhook-endpoints/{param}}. */ public static final Endpoint DELETE_WEBHOOK_ENDPOINTS_PARAM = new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.DELETE, "/webhook-endpoints/{param}"); + /** Endpoint for {@code GET /webhook-endpoints}. */ public static final Endpoint GET_WEBHOOK_ENDPOINTS = new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints"); + /** Endpoint for {@code GET /webhook-endpoints/{param}}. */ public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM = new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}"); + /** Endpoint for {@code GET /webhook-endpoints/{param}/deliveries}. */ public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES = new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}/deliveries"); + /** Endpoint for {@code PATCH /webhook-endpoints/{param}}. */ public static final Endpoint PATCH_WEBHOOK_ENDPOINTS_PARAM = new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.PATCH, "/webhook-endpoints/{param}"); + /** Endpoint for {@code POST /webhook-endpoints}. */ public static final Endpoint POST_WEBHOOK_ENDPOINTS = new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.POST, "/webhook-endpoints"); + /** Endpoint for {@code POST /webhook-endpoints/{param}/rotate-secret}. */ public static final Endpoint POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET = new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.POST, "/webhook-endpoints/{param}/rotate-secret"); } @@ -1287,62 +1836,92 @@ private WebhookEndpoints() {} public static final class Workflows { private Workflows() {} + /** Endpoint for {@code DELETE /workflows/{param}}. */ public static final Endpoint DELETE_WORKFLOWS_PARAM = new Endpoint(ApiService.WORKFLOWS, HttpMethod.DELETE, "/workflows/{param}"); + /** Endpoint for {@code GET /workflows}. */ public static final Endpoint GET_WORKFLOWS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows"); + /** Endpoint for {@code GET /workflows/approvals}. */ public static final Endpoint GET_WORKFLOWS_APPROVALS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals"); + /** Endpoint for {@code GET /workflows/approvals/{param}}. */ public static final Endpoint GET_WORKFLOWS_APPROVALS_PARAM = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals/{param}"); + /** Endpoint for {@code GET /workflows/executions}. */ public static final Endpoint GET_WORKFLOWS_EXECUTIONS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions"); + /** Endpoint for {@code GET /workflows/executions/{param}}. */ public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}"); + /** Endpoint for {@code GET /workflows/executions/{param}/tasks}. */ public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}/tasks"); + /** Endpoint for {@code GET /workflows/runs/{param}/steps}. */ public static final Endpoint GET_WORKFLOWS_RUNS_PARAM_STEPS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/runs/{param}/steps"); + /** Endpoint for {@code GET /workflows/tasks/{param}}. */ public static final Endpoint GET_WORKFLOWS_TASKS_PARAM = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/tasks/{param}"); + /** Endpoint for {@code GET /workflows/templates}. */ public static final Endpoint GET_WORKFLOWS_TEMPLATES = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates"); + /** Endpoint for {@code GET /workflows/templates/{param}}. */ public static final Endpoint GET_WORKFLOWS_TEMPLATES_PARAM = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates/{param}"); + /** Endpoint for {@code GET /workflows/{param}}. */ public static final Endpoint GET_WORKFLOWS_PARAM = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}"); + /** Endpoint for {@code GET /workflows/{param}/{param}}. */ public static final Endpoint GET_WORKFLOWS_PARAM_PARAM = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}"); + /** Endpoint for {@code GET /workflows/{param}/{param}/summary}. */ public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_SUMMARY = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/summary"); + /** Endpoint for {@code GET /workflows/{param}/{param}/timeline}. */ public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_TIMELINE = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/timeline"); + /** Endpoint for {@code PATCH /workflows/{param}}. */ public static final Endpoint PATCH_WORKFLOWS_PARAM = new Endpoint(ApiService.WORKFLOWS, HttpMethod.PATCH, "/workflows/{param}"); + /** Endpoint for {@code POST /workflows}. */ public static final Endpoint POST_WORKFLOWS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows"); + /** Endpoint for {@code POST /workflows/approvals/{param}/approve}. */ public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_APPROVE = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/approve"); + /** Endpoint for {@code POST /workflows/approvals/{param}/reject}. */ public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_REJECT = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/reject"); + /** Endpoint for {@code POST /workflows/batch}. */ public static final Endpoint POST_WORKFLOWS_BATCH = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/batch"); + /** Endpoint for {@code POST /workflows/executions}. */ public static final Endpoint POST_WORKFLOWS_EXECUTIONS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/executions"); + /** Endpoint for {@code POST /workflows/search}. */ public static final Endpoint POST_WORKFLOWS_SEARCH = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/search"); + /** Endpoint for {@code POST /workflows/tasks/{param}/cancel}. */ public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_CANCEL = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/cancel"); + /** Endpoint for {@code POST /workflows/tasks/{param}/retry}. */ public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_RETRY = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/retry"); + /** Endpoint for {@code POST /workflows/templates}. */ public static final Endpoint POST_WORKFLOWS_TEMPLATES = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates"); + /** Endpoint for {@code POST /workflows/templates/{param}/instantiate}. */ public static final Endpoint POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates/{param}/instantiate"); + /** Endpoint for {@code POST /workflows/{param}/archive}. */ public static final Endpoint POST_WORKFLOWS_PARAM_ARCHIVE = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/archive"); + /** Endpoint for {@code POST /workflows/{param}/publish}. */ public static final Endpoint POST_WORKFLOWS_PARAM_PUBLISH = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/publish"); + /** Endpoint for {@code POST /workflows/{param}/restore}. */ public static final Endpoint POST_WORKFLOWS_PARAM_RESTORE = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/restore"); + /** Endpoint for {@code POST /workflows/{param}/versions}. */ public static final Endpoint POST_WORKFLOWS_PARAM_VERSIONS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/versions"); } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java new file mode 100644 index 0000000..4b9e025 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java @@ -0,0 +1,550 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the events service. Generated by scripts/generate_endpoints.py. */ +public final class EventsClient extends ServiceClient { + EventsClient(ApiClient client) { + super(ApiService.EVENTS, client); + } + + /** + * Calls the contract route {@code GET /events}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|GET|/events") + public @Nullable T getEvents(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.GET_EVENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /events}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getEvents(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.GET_EVENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /events/monitoring}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|GET|/events/monitoring") + public @Nullable T getEventsMonitoring(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.GET_EVENTS_MONITORING, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /events/monitoring}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getEventsMonitoring(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.GET_EVENTS_MONITORING, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /events/{param}}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|GET|/events/{param}") + public @Nullable T getEventsId(String id, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.GET_EVENTS_PARAM, List.of(id), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /events/{param}}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getEventsId(String id, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.GET_EVENTS_PARAM, List.of(id), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events") + public @Nullable T postEvents(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEvents(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/analytics}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/analytics") + public @Nullable T postEventsAnalytics(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_ANALYTICS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/analytics}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsAnalytics( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_ANALYTICS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/analytics-v2}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/analytics-v2") + public @Nullable T postEventsAnalyticsV2(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_ANALYTICS_V2, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/analytics-v2}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsAnalyticsV2( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_ANALYTICS_V2, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/benchmark/v1}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/benchmark/v1") + public @Nullable T postEventsBenchmarkV1(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V1, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/benchmark/v1}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsBenchmarkV1( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V1, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/benchmark/v2}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/benchmark/v2") + public @Nullable T postEventsBenchmarkV2(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V2, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/benchmark/v2}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsBenchmarkV2( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V2, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/bulk}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/bulk") + public @Nullable T postEventsBulk(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BULK, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/bulk}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsBulk(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BULK, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/huggingface-billing}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/huggingface-billing") + public @Nullable T postEventsHuggingfaceBilling( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_HUGGINGFACE_BILLING, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/huggingface-billing}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsHuggingfaceBilling( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_HUGGINGFACE_BILLING, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/query") + public @Nullable T postEventsQuery(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_QUERY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsQuery(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_QUERY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/raw/reprocess/all}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/raw/reprocess/all") + public @Nullable T postEventsRawReprocessAll(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_ALL, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/raw/reprocess/all}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsRawReprocessAll( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_ALL, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/raw/reprocess/pending}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/raw/reprocess/pending") + public @Nullable T postEventsRawReprocessPending( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_PENDING, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/raw/reprocess/pending}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsRawReprocessPending( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_PENDING, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/reprocess}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/reprocess") + public @Nullable T postEventsReprocess(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_REPROCESS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/reprocess}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsReprocess( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_REPROCESS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/reprocess/internal}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/reprocess/internal") + public @Nullable T postEventsReprocessInternal( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_REPROCESS_INTERNAL, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/reprocess/internal}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsReprocessInternal( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_REPROCESS_INTERNAL, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/usage}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/usage") + public @Nullable T postEventsUsage(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_USAGE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/usage}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsUsage(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_USAGE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/usage/meter}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/usage/meter") + public @Nullable T postEventsUsageMeter(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_USAGE_METER, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /events/usage/meter}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postEventsUsageMeter( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_USAGE_METER, List.of(), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java new file mode 100644 index 0000000..0c4e31f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java @@ -0,0 +1,767 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the governance service. Generated by scripts/generate_endpoints.py. */ +public final class GovernanceClient extends ServiceClient { + GovernanceClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code DELETE /policies/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|DELETE|/policies/{param}") + public @Nullable T deletePoliciesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.DELETE_POLICIES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /policies/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deletePoliciesParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.DELETE_POLICIES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /roles/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|DELETE|/roles/{param}") + public @Nullable T deleteRolesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.DELETE_ROLES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /roles/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteRolesParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.DELETE_ROLES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/assessments}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/assessments") + public @Nullable T getComplianceAssessments(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/assessments}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getComplianceAssessments(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/assessments/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/assessments/{param}") + public @Nullable T getComplianceAssessmentsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/assessments/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getComplianceAssessmentsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/frameworks}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/frameworks") + public @Nullable T getComplianceFrameworks(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_FRAMEWORKS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/frameworks}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getComplianceFrameworks(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_FRAMEWORKS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/score}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/score") + public @Nullable T getComplianceScore(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_SCORE, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/score}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getComplianceScore(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_SCORE, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/violations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/violations") + public @Nullable T getComplianceViolations(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_VIOLATIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /compliance/violations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getComplianceViolations(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_VIOLATIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /permissions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/permissions") + public @Nullable T getPermissions(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_PERMISSIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /permissions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPermissions(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_PERMISSIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /permissions/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/permissions/{param}") + public @Nullable T getPermissionsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_PERMISSIONS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /permissions/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPermissionsParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_PERMISSIONS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/policies") + public @Nullable T getPolicies(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPolicies(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /policies/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/policies/templates") + public @Nullable T getPoliciesTemplates(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_TEMPLATES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /policies/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPoliciesTemplates(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_TEMPLATES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /policies/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/policies/{param}") + public @Nullable T getPoliciesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /policies/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPoliciesParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /policies/{param}/versions}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/policies/{param}/versions") + public @Nullable T getPoliciesParamVersions(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.GET_POLICIES_PARAM_VERSIONS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /policies/{param}/versions}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPoliciesParamVersions(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.GET_POLICIES_PARAM_VERSIONS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /roles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/roles") + public @Nullable T getRoles(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_ROLES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /roles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getRoles(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_ROLES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /roles/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/roles/{param}") + public @Nullable T getRolesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_ROLES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /roles/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getRolesParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_ROLES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /access/check}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/access/check") + public @Nullable T postAccessCheck(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_ACCESS_CHECK, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /access/check}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postAccessCheck(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_ACCESS_CHECK, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /compliance/assessments}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/compliance/assessments") + public @Nullable T postComplianceAssessments(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_COMPLIANCE_ASSESSMENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /compliance/assessments}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postComplianceAssessments( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_COMPLIANCE_ASSESSMENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /compliance/violations/{param}/resolve}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/compliance/violations/{param}/resolve") + public @Nullable T postComplianceViolationsParamResolve( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /compliance/violations/{param}/resolve}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postComplianceViolationsParamResolve( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /permissions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/permissions") + public @Nullable T postPermissions(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_PERMISSIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /permissions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postPermissions(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_PERMISSIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/policies") + public @Nullable T postPolicies(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postPolicies(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /policies/from-template}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/policies/from-template") + public @Nullable T postPoliciesFromTemplate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES_FROM_TEMPLATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /policies/from-template}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postPoliciesFromTemplate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES_FROM_TEMPLATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /policies/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/policies/validate") + public @Nullable T postPoliciesValidate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /policies/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postPoliciesValidate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /roles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/roles") + public @Nullable T postRoles(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_ROLES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /roles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postRoles(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_ROLES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /policies/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|PUT|/policies/{param}") + public @Nullable T putPoliciesParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.PUT_POLICIES_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /policies/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putPoliciesParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Governance.PUT_POLICIES_PARAM, List.of(pathParam1), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java new file mode 100644 index 0000000..9ff5efc --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java @@ -0,0 +1,45 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the invocations service. Generated by scripts/generate_endpoints.py. */ +public final class InvocationsClient extends ServiceClient { + InvocationsClient(ApiClient client) { + super(ApiService.INVOCATIONS, client); + } + + /** + * Calls the contract route {@code POST /invocations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("invocations|POST|/invocations") + public @Nullable T postInvocations(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Invocations.POST_INVOCATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /invocations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postInvocations(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Invocations.POST_INVOCATIONS, List.of(), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java b/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java new file mode 100644 index 0000000..2fb4111 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java @@ -0,0 +1,226 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the lineage service. Generated by scripts/generate_endpoints.py. */ +public final class LineageClient extends ServiceClient { + LineageClient(ApiClient client) { + super(ApiService.LINEAGE, client); + } + + /** + * Calls the contract route {@code GET /lineage/edges}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/edges") + public @Nullable T getLineageEdges(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_EDGES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/edges}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getLineageEdges(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_EDGES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/edges/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/edges/{param}") + public @Nullable T getLineageEdgesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_EDGES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/edges/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getLineageEdgesParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_EDGES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/graph}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/graph") + public @Nullable T getLineageGraph(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_GRAPH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/graph}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getLineageGraph(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_GRAPH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/nodes}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/nodes") + public @Nullable T getLineageNodes(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/nodes}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getLineageNodes(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/nodes/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/nodes/{param}") + public @Nullable T getLineageNodesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/nodes/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getLineageNodesParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/nodes/{param}/trace}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/nodes/{param}/trace") + public @Nullable T getLineageNodesParamTrace(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM_TRACE, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /lineage/nodes/{param}/trace}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getLineageNodesParamTrace( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM_TRACE, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /lineage/impact}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|POST|/lineage/impact") + public @Nullable T postLineageImpact(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.POST_LINEAGE_IMPACT, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /lineage/impact}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postLineageImpact(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Lineage.POST_LINEAGE_IMPACT, List.of(), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java new file mode 100644 index 0000000..d3cb321 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java @@ -0,0 +1,1114 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.Flow; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the observability service. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityClient extends ServiceClient { + ObservabilityClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** + * Calls the contract route {@code DELETE /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|DELETE|/observability/alerts/rules/{param}") + public @Nullable T deleteObservabilityAlertsRulesRuleId(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteObservabilityAlertsRulesRuleId( + String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /observability/alerts/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|DELETE|/observability/alerts/{param}") + public @Nullable T deleteObservabilityAlertsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /observability/alerts/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteObservabilityAlertsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /observability/dashboards/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|DELETE|/observability/dashboards/{param}") + public @Nullable T deleteObservabilityDashboardsParam( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /observability/dashboards/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteObservabilityDashboardsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/alerts") + public @Nullable T getObservabilityAlerts(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityAlerts(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts/incidents}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/alerts/incidents") + public @Nullable T getObservabilityAlertsIncidents(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts/incidents}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityAlertsIncidents(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/alerts/rules") + public @Nullable T getObservabilityAlertsRules(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityAlertsRules(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/alerts/rules/{param}") + public @Nullable T getObservabilityAlertsRulesRuleId(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityAlertsRulesRuleId( + String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /observability/dashboards}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/dashboards") + public @Nullable T getObservabilityDashboards(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/dashboards}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityDashboards(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/dashboards/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/dashboards/{param}") + public @Nullable T getObservabilityDashboardsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /observability/dashboards/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityDashboardsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /observability/events/stats}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/events/stats") + public @Nullable T getObservabilityEventsStats(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_EVENTS_STATS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/events/stats}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityEventsStats(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_EVENTS_STATS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/metrics}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/metrics") + public @Nullable T getObservabilityMetrics(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/metrics}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityMetrics(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/metrics/list}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/metrics/list") + public @Nullable T getObservabilityMetricsList(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS_LIST, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/metrics/list}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityMetricsList(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS_LIST, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/traces}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/traces") + public @Nullable T getObservabilityTraces(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/traces}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityTraces(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/traces/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/traces/{param}") + public @Nullable T getObservabilityTracesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /observability/traces/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getObservabilityTracesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts") + public @Nullable T postObservabilityAlerts(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityAlerts( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts/rules") + public @Nullable T postObservabilityAlertsRules( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityAlertsRules( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts/rules/{param}/toggle") + public @Nullable T postObservabilityAlertsRulesRuleIdToggle( + String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, + List.of(ruleId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityAlertsRulesRuleIdToggle( + String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, + List.of(ruleId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/{param}/disable}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts/{param}/disable") + public @Nullable T postObservabilityAlertsParamDisable( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/{param}/disable}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityAlertsParamDisable( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/{param}/enable}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts/{param}/enable") + public @Nullable T postObservabilityAlertsParamEnable( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/{param}/enable}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityAlertsParamEnable( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /observability/dashboards}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/dashboards") + public @Nullable T postObservabilityDashboards( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/dashboards}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityDashboards( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/dashboards/{param}/share}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/dashboards/{param}/share") + public @Nullable T postObservabilityDashboardsParamShare( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /observability/dashboards/{param}/share}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityDashboardsParamShare( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /observability/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/events") + public @Nullable T postObservabilityEvents(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityEvents( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/events/batch}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/events/batch") + public @Nullable T postObservabilityEventsBatch( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS_BATCH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/events/batch}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityEventsBatch( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS_BATCH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/logs/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/logs/ingest") + public @Nullable T postObservabilityLogsIngest( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_INGEST, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/logs/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityLogsIngest( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_INGEST, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/logs/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/logs/query") + public @Nullable T postObservabilityLogsQuery(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_QUERY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/logs/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityLogsQuery( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_QUERY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/metrics/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/metrics/ingest") + public @Nullable T postObservabilityMetricsIngest( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_METRICS_INGEST, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/metrics/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityMetricsIngest( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_METRICS_INGEST, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/traces/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/traces/query") + public @Nullable T postObservabilityTracesQuery( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_TRACES_QUERY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/traces/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postObservabilityTracesQuery( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_TRACES_QUERY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|PUT|/observability/alerts/rules/{param}") + public @Nullable T putObservabilityAlertsRulesRuleId( + String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putObservabilityAlertsRulesRuleId( + String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /observability/alerts/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|PUT|/observability/alerts/{param}") + public @Nullable T putObservabilityAlertsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /observability/alerts/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putObservabilityAlertsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /observability/dashboards/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|PUT|/observability/dashboards/{param}") + public @Nullable T putObservabilityDashboardsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /observability/dashboards/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putObservabilityDashboardsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Opens the event stream for {@code STREAM /observability/logs/stream}. + * @param query query supplied to the operation + * @return a publisher that emits event data + */ + @SdkOperation("observability|STREAM|/observability/logs/stream") + public Flow.Publisher streamObservabilityLogsStream(QueryParams query) { + return streamPublisher(Endpoints.Observability.STREAM_OBSERVABILITY_LOGS_STREAM, List.of(), query); + } + + /** + * Opens a blocking event stream for {@code STREAM /observability/logs/stream}. + * @param query query supplied to the operation + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator streamObservabilityLogsStreamBlocking(QueryParams query) + throws IOException, InterruptedException { + return streamEvents(Endpoints.Observability.STREAM_OBSERVABILITY_LOGS_STREAM, List.of(), query); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java new file mode 100644 index 0000000..ea4a7cd --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java @@ -0,0 +1,5698 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the ontology service. Generated by scripts/generate_endpoints.py. */ +public final class OntologyClient extends ServiceClient { + OntologyClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/objects/object-types/{param}") + public @Nullable T deleteOntologyObjectsObjectTypesObjectTypeId( + String objectTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyObjectsObjectTypesObjectTypeId( + String objectTypeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/objects/objects/{param}") + public @Nullable T deleteOntologyObjectsObjectsObjectId( + String objectId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyObjectsObjectsObjectId( + String objectId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/reasoning/rules/{param}") + public @Nullable T deleteOntologyReasoningRulesRuleId(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyReasoningRulesRuleId( + String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}}. + * @param decoded response type + * @param relationshipTypeId relationshipTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/relationships/relationship-types/{param}") + public @Nullable T deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId( + String relationshipTypeId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, + List.of(relationshipTypeId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}}. + * @param decoded response type + * @param relationshipTypeId relationshipTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId( + String relationshipTypeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, + List.of(relationshipTypeId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/relationships/relationships/{param}") + public @Nullable T deleteOntologyRelationshipsRelationshipsRelationshipId( + String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyRelationshipsRelationshipsRelationshipId( + String relationshipId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/rollouts/rollouts/{param}") + public @Nullable T deleteOntologyRolloutsRolloutsRolloutId( + String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, + List.of(rolloutId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyRolloutsRolloutsRolloutId( + String rolloutId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, + List.of(rolloutId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/rollups/rollups/{param}") + public @Nullable T deleteOntologyRollupsRollupsRollupId( + String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyRollupsRollupsRollupId( + String rollupId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/schemas/schemas/{param}") + public @Nullable T deleteOntologySchemasSchemasSchemaId( + String schemaId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologySchemasSchemasSchemaId( + String schemaId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/validation/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/validation/rules/{param}") + public @Nullable T deleteOntologyValidationRulesRuleId(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/validation/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyValidationRulesRuleId( + String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/versions/versions/{param}}. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/versions/versions/{param}") + public @Nullable T deleteOntologyVersionsVersionsVersionId( + String versionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, + List.of(versionId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code DELETE /ontology/versions/versions/{param}}. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteOntologyVersionsVersionsVersionId( + String versionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, + List.of(versionId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/capabilities") + public @Nullable T getOntologyEngineCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEngineCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/health") + public @Nullable T getOntologyEngineHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEngineHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/info") + public @Nullable T getOntologyEngineInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEngineInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/runs") + public @Nullable T getOntologyEngineRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEngineRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/runs/{param}") + public @Nullable T getOntologyEngineRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEngineRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/capabilities") + public @Nullable T getOntologyEventsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEventsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/events") + public @Nullable T getOntologyEventsEvents(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEventsEvents(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}}. + * @param decoded response type + * @param consumer consumer supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/events/checkpoints/{param}") + public @Nullable T getOntologyEventsEventsCheckpointsConsumer( + String consumer, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, + List.of(consumer), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}}. + * @param decoded response type + * @param consumer consumer supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEventsEventsCheckpointsConsumer( + String consumer, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, + List.of(consumer), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/events/{param}}. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/events/{param}") + public @Nullable T getOntologyEventsEventsEventId(String eventId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/events/{param}}. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEventsEventsEventId( + String eventId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/health") + public @Nullable T getOntologyEventsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEventsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/info") + public @Nullable T getOntologyEventsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEventsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/runs") + public @Nullable T getOntologyEventsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEventsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/runs/{param}") + public @Nullable T getOntologyEventsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyEventsRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/capabilities") + public @Nullable T getOntologyExtractCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyExtractCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/health") + public @Nullable T getOntologyExtractHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyExtractHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/info") + public @Nullable T getOntologyExtractInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyExtractInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/runs") + public @Nullable T getOntologyExtractRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyExtractRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/runs/{param}") + public @Nullable T getOntologyExtractRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyExtractRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/capabilities") + public @Nullable T getOntologyGraphCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyGraphCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/entities/{param}") + public @Nullable T getOntologyGraphEntitiesEntityId(String entityId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyGraphEntitiesEntityId( + String entityId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/entities/{param}/provenance") + public @Nullable T getOntologyGraphEntitiesEntityIdProvenance( + String entityId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, + List.of(entityId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyGraphEntitiesEntityIdProvenance( + String entityId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, + List.of(entityId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/health") + public @Nullable T getOntologyGraphHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyGraphHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/info") + public @Nullable T getOntologyGraphInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyGraphInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/relationships/{param}") + public @Nullable T getOntologyGraphRelationshipsRelationshipId( + String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyGraphRelationshipsRelationshipId( + String relationshipId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/runs") + public @Nullable T getOntologyGraphRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyGraphRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/runs/{param}") + public @Nullable T getOntologyGraphRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyGraphRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/capabilities") + public @Nullable T getOntologyObjectsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/health") + public @Nullable T getOntologyObjectsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/info") + public @Nullable T getOntologyObjectsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/object-types}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/object-types") + public @Nullable T getOntologyObjectsObjectTypes(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/object-types}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsObjectTypes(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/object-types/{param}") + public @Nullable T getOntologyObjectsObjectTypesObjectTypeId( + String objectTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsObjectTypesObjectTypeId( + String objectTypeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/objects}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/objects") + public @Nullable T getOntologyObjectsObjects(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/objects}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsObjects(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/objects/{param}") + public @Nullable T getOntologyObjectsObjectsObjectId(String objectId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsObjectsObjectId( + String objectId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/runs") + public @Nullable T getOntologyObjectsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/runs/{param}") + public @Nullable T getOntologyObjectsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyObjectsRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/capabilities") + public @Nullable T getOntologyReasoningCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyReasoningCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/health") + public @Nullable T getOntologyReasoningHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyReasoningHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/info") + public @Nullable T getOntologyReasoningInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyReasoningInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/rules") + public @Nullable T getOntologyReasoningRules(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RULES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyReasoningRules(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RULES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/runs") + public @Nullable T getOntologyReasoningRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyReasoningRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/runs/{param}") + public @Nullable T getOntologyReasoningRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyReasoningRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/capabilities") + public @Nullable T getOntologyRelationshipsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRelationshipsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/health") + public @Nullable T getOntologyRelationshipsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRelationshipsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/info") + public @Nullable T getOntologyRelationshipsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRelationshipsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationship-types}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/relationship-types") + public @Nullable T getOntologyRelationshipsRelationshipTypes(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationship-types}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRelationshipsRelationshipTypes(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationships}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/relationships") + public @Nullable T getOntologyRelationshipsRelationships(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationships}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRelationshipsRelationships(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/relationships/{param}") + public @Nullable T getOntologyRelationshipsRelationshipsRelationshipId( + String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRelationshipsRelationshipsRelationshipId( + String relationshipId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/runs") + public @Nullable T getOntologyRelationshipsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRelationshipsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/runs/{param}") + public @Nullable T getOntologyRelationshipsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRelationshipsRunsRunId( + String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/capabilities") + public @Nullable T getOntologyRolloutsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRolloutsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/health") + public @Nullable T getOntologyRolloutsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRolloutsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/info") + public @Nullable T getOntologyRolloutsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRolloutsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/rollouts") + public @Nullable T getOntologyRolloutsRollouts(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRolloutsRollouts(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/rollouts/{param}") + public @Nullable T getOntologyRolloutsRolloutsRolloutId( + String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRolloutsRolloutsRolloutId( + String rolloutId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/rollouts/{param}/status") + public @Nullable T getOntologyRolloutsRolloutsRolloutIdStatus( + String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, + List.of(rolloutId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRolloutsRolloutsRolloutIdStatus( + String rolloutId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, + List.of(rolloutId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/runs") + public @Nullable T getOntologyRolloutsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRolloutsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/runs/{param}") + public @Nullable T getOntologyRolloutsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRolloutsRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/capabilities") + public @Nullable T getOntologyRollupsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/health") + public @Nullable T getOntologyRollupsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/info") + public @Nullable T getOntologyRollupsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}}. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/rollup-results/{param}") + public @Nullable T getOntologyRollupsRollupResultsExecutionId( + String executionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, + List.of(executionId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}}. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsRollupResultsExecutionId( + String executionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, + List.of(executionId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/rollups") + public @Nullable T getOntologyRollupsRollups(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsRollups(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/rollups/{param}") + public @Nullable T getOntologyRollupsRollupsRollupId(String rollupId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsRollupsRollupId( + String rollupId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/rollups/{param}/result") + public @Nullable T getOntologyRollupsRollupsRollupIdResult( + String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, + List.of(rollupId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsRollupsRollupIdResult( + String rollupId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, + List.of(rollupId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/runs") + public @Nullable T getOntologyRollupsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/runs/{param}") + public @Nullable T getOntologyRollupsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyRollupsRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/capabilities") + public @Nullable T getOntologySchemasCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologySchemasCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/health") + public @Nullable T getOntologySchemasHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologySchemasHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/info") + public @Nullable T getOntologySchemasInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologySchemasInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/runs") + public @Nullable T getOntologySchemasRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologySchemasRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/runs/{param}") + public @Nullable T getOntologySchemasRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologySchemasRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/schemas") + public @Nullable T getOntologySchemasSchemas(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologySchemasSchemas(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/schemas/{param}") + public @Nullable T getOntologySchemasSchemasSchemaId(String schemaId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologySchemasSchemasSchemaId( + String schemaId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/capabilities") + public @Nullable T getOntologyTransformationsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyTransformationsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/health") + public @Nullable T getOntologyTransformationsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyTransformationsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/info") + public @Nullable T getOntologyTransformationsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyTransformationsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/runs") + public @Nullable T getOntologyTransformationsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyTransformationsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/runs/{param}") + public @Nullable T getOntologyTransformationsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyTransformationsRunsRunId( + String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/capabilities") + public @Nullable T getOntologyValidationCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyValidationCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/health") + public @Nullable T getOntologyValidationHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyValidationHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/info") + public @Nullable T getOntologyValidationInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyValidationInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/rules") + public @Nullable T getOntologyValidationRules(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyValidationRules(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/rules/{param}") + public @Nullable T getOntologyValidationRulesRuleId(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyValidationRulesRuleId( + String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/runs") + public @Nullable T getOntologyValidationRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyValidationRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/runs/{param}") + public @Nullable T getOntologyValidationRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyValidationRunsRunId( + String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/capabilities") + public @Nullable T getOntologyVersionsCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyVersionsCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/health") + public @Nullable T getOntologyVersionsHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyVersionsHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/info") + public @Nullable T getOntologyVersionsInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyVersionsInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/release-bundles") + public @Nullable T getOntologyVersionsReleaseBundles(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyVersionsReleaseBundles(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}}. + * @param decoded response type + * @param bundleId bundleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/release-bundles/{param}") + public @Nullable T getOntologyVersionsReleaseBundlesBundleId( + String bundleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, + List.of(bundleId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}}. + * @param decoded response type + * @param bundleId bundleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyVersionsReleaseBundlesBundleId( + String bundleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, + List.of(bundleId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/runs") + public @Nullable T getOntologyVersionsRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyVersionsRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/runs/{param}") + public @Nullable T getOntologyVersionsRunsRunId(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyVersionsRunsRunId(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/versions/{param}}. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/versions/{param}") + public @Nullable T getOntologyVersionsVersionsVersionId( + String versionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/versions/{param}}. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getOntologyVersionsVersionsVersionId( + String versionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/compare-versions") + public @Nullable T postOntologyEngineOntologiesCompareVersions( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, + List.of(), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEngineOntologiesCompareVersions( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, + List.of(), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/export") + public @Nullable T postOntologyEngineOntologiesExport( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEngineOntologiesExport( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/export-shacl") + public @Nullable T postOntologyEngineOntologiesExportShacl( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEngineOntologiesExportShacl( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/generate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/generate") + public @Nullable T postOntologyEngineOntologiesGenerate( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/generate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEngineOntologiesGenerate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/infer-classes") + public @Nullable T postOntologyEngineOntologiesInferClasses( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEngineOntologiesInferClasses( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/infer-properties") + public @Nullable T postOntologyEngineOntologiesInferProperties( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, + List.of(), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEngineOntologiesInferProperties( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, + List.of(), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/validate") + public @Nullable T postOntologyEngineOntologiesValidate( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEngineOntologiesValidate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/runs") + public @Nullable T postOntologyEngineRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEngineRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/events") + public @Nullable T postOntologyEventsEvents(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEventsEvents( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/checkpoints}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/events/checkpoints") + public @Nullable T postOntologyEventsEventsCheckpoints( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/checkpoints}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEventsEventsCheckpoints( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/events/leases/acknowledge") + public @Nullable T postOntologyEventsEventsLeasesAcknowledge( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, + List.of(), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEventsEventsLeasesAcknowledge( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, + List.of(), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acquire}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/events/leases/acquire") + public @Nullable T postOntologyEventsEventsLeasesAcquire( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acquire}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEventsEventsLeasesAcquire( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/runs") + public @Nullable T postOntologyEventsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyEventsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/analyze}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/analyze") + public @Nullable T postOntologyExtractExtractAnalyze( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/analyze}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyExtractExtractAnalyze( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/architecture}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/architecture") + public @Nullable T postOntologyExtractExtractArchitecture( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/architecture}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyExtractExtractArchitecture( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/coreferences}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/coreferences") + public @Nullable T postOntologyExtractExtractCoreferences( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/coreferences}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyExtractExtractCoreferences( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/entities}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/entities") + public @Nullable T postOntologyExtractExtractEntities( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/entities}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyExtractExtractEntities( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/events") + public @Nullable T postOntologyExtractExtractEvents( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyExtractExtractEvents( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/relations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/relations") + public @Nullable T postOntologyExtractExtractRelations( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/relations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyExtractExtractRelations( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/triplets}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/triplets") + public @Nullable T postOntologyExtractExtractTriplets( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/triplets}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyExtractExtractTriplets( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/runs") + public @Nullable T postOntologyExtractRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyExtractRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/analyze}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/analyze") + public @Nullable T postOntologyGraphGraphAnalyze( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/analyze}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyGraphGraphAnalyze( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/build}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/build") + public @Nullable T postOntologyGraphGraphBuild( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BUILD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/build}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyGraphGraphBuild( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BUILD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/bulk-read}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/bulk-read") + public @Nullable T postOntologyGraphGraphBulkRead( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/bulk-read}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyGraphGraphBulkRead( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/neighborhood}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/neighborhood") + public @Nullable T postOntologyGraphGraphNeighborhood( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/neighborhood}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyGraphGraphNeighborhood( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/path}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/path") + public @Nullable T postOntologyGraphGraphPath(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_PATH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/path}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyGraphGraphPath( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_PATH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/query") + public @Nullable T postOntologyGraphGraphQuery( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_QUERY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyGraphGraphQuery( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_QUERY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/runs") + public @Nullable T postOntologyGraphRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyGraphRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/objects/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/objects/runs") + public @Nullable T postOntologyObjectsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_OBJECTS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/objects/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyObjectsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_OBJECTS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/explain}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/explain") + public @Nullable T postOntologyReasoningExplain( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_EXPLAIN, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/explain}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyReasoningExplain( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_EXPLAIN, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/facts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/facts") + public @Nullable T postOntologyReasoningFacts(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/facts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyReasoningFacts( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/facts/load-graph") + public @Nullable T postOntologyReasoningFactsLoadGraph( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyReasoningFactsLoadGraph( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/backward}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/reason/backward") + public @Nullable T postOntologyReasoningReasonBackward( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/backward}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyReasoningReasonBackward( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/forward}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/reason/forward") + public @Nullable T postOntologyReasoningReasonForward( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_FORWARD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/forward}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyReasoningReasonForward( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_FORWARD, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/rules") + public @Nullable T postOntologyReasoningRules(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RULES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyReasoningRules( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RULES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/runs") + public @Nullable T postOntologyReasoningRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyReasoningRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/relationships/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/relationships/runs") + public @Nullable T postOntologyRelationshipsRuns( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/relationships/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRelationshipsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts") + public @Nullable T postOntologyRolloutsRollouts( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRolloutsRollouts( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/pause") + public @Nullable T postOntologyRolloutsRolloutsRolloutIdPause( + String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, + List.of(rolloutId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRolloutsRolloutsRolloutIdPause( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, + List.of(rolloutId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/resume") + public @Nullable T postOntologyRolloutsRolloutsRolloutIdResume( + String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, + List.of(rolloutId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRolloutsRolloutsRolloutIdResume( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, + List.of(rolloutId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/rollback") + public @Nullable T postOntologyRolloutsRolloutsRolloutIdRollback( + String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, + List.of(rolloutId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRolloutsRolloutsRolloutIdRollback( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, + List.of(rolloutId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/start") + public @Nullable T postOntologyRolloutsRolloutsRolloutIdStart( + String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, + List.of(rolloutId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRolloutsRolloutsRolloutIdStart( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, + List.of(rolloutId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/runs") + public @Nullable T postOntologyRolloutsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRolloutsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollups/rollups") + public @Nullable T postOntologyRollupsRollups(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRollupsRollups( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollups/rollups/{param}/execute") + public @Nullable T postOntologyRollupsRollupsRollupIdExecute( + String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, + List.of(rollupId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRollupsRollupsRollupIdExecute( + String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, + List.of(rollupId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollups/rollups/{param}/preview") + public @Nullable T postOntologyRollupsRollupsRollupIdPreview( + String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, + List.of(rollupId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRollupsRollupsRollupIdPreview( + String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, + List.of(rollupId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollups/runs") + public @Nullable T postOntologyRollupsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyRollupsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/schemas/runs") + public @Nullable T postOntologySchemasRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologySchemasRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/schemas/schemas") + public @Nullable T postOntologySchemasSchemas(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologySchemasSchemas( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/schemas/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/schemas/schemas/validate") + public @Nullable T postOntologySchemasSchemasValidate( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/schemas/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologySchemasSchemasValidate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/transformations/runs") + public @Nullable T postOntologyTransformationsRuns( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyTransformationsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/transformations/transformations") + public @Nullable T postOntologyTransformationsTransformations( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyTransformationsTransformations( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/validation/payloads/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/validation/payloads/validate") + public @Nullable T postOntologyValidationPayloadsValidate( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/validation/payloads/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyValidationPayloadsValidate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/validation/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/validation/rules") + public @Nullable T postOntologyValidationRules( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RULES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/validation/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyValidationRules( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RULES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/validation/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/validation/runs") + public @Nullable T postOntologyValidationRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/validation/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyValidationRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/audit/verify}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/audit/verify") + public @Nullable T postOntologyVersionsAuditVerify( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/audit/verify}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyVersionsAuditVerify( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/release-bundles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/release-bundles") + public @Nullable T postOntologyVersionsReleaseBundles( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/release-bundles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyVersionsReleaseBundles( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/runs") + public @Nullable T postOntologyVersionsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyVersionsRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/versions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/versions") + public @Nullable T postOntologyVersionsVersions( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/versions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyVersionsVersions( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/versions/compare}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/versions/compare") + public @Nullable T postOntologyVersionsVersionsCompare( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/versions/compare}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postOntologyVersionsVersionsCompare( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/graph/entities/{param}}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/graph/entities/{param}") + public @Nullable T putOntologyGraphEntitiesEntityId( + String entityId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/graph/entities/{param}}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putOntologyGraphEntitiesEntityId( + String entityId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/graph/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/graph/relationships/{param}") + public @Nullable T putOntologyGraphRelationshipsRelationshipId( + String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/graph/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putOntologyGraphRelationshipsRelationshipId( + String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/objects/object-types/{param}") + public @Nullable T putOntologyObjectsObjectTypesObjectTypeId( + String objectTypeId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putOntologyObjectsObjectTypesObjectTypeId( + String objectTypeId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/objects/objects/{param}") + public @Nullable T putOntologyObjectsObjectsObjectId( + String objectId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putOntologyObjectsObjectsObjectId( + String objectId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/reasoning/rules/{param}") + public @Nullable T putOntologyReasoningRulesRuleId( + String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putOntologyReasoningRulesRuleId( + String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/relationships/relationships/{param}") + public @Nullable T putOntologyRelationshipsRelationshipsRelationshipId( + String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putOntologyRelationshipsRelationshipsRelationshipId( + String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/rollouts/rollouts/{param}") + public @Nullable T putOntologyRolloutsRolloutsRolloutId( + String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putOntologyRolloutsRolloutsRolloutId( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/rollups/rollups/{param}") + public @Nullable T putOntologyRollupsRollupsRollupId( + String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putOntologyRollupsRollupsRollupId( + String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java new file mode 100644 index 0000000..6888fe0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java @@ -0,0 +1,354 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.Flow; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the pipelines service. Generated by scripts/generate_endpoints.py. */ +public final class PipelinesClient extends ServiceClient { + PipelinesClient(ApiClient client) { + super(ApiService.PIPELINES, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/capabilities") + public @Nullable T getDataPipelinesCapabilities(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesCapabilities(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/health") + public @Nullable T getDataPipelinesHealth(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesHealth(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/info") + public @Nullable T getDataPipelinesInfo(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/pipeline-runs") + public @Nullable T getDataPipelinesPipelineRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesPipelineRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/pipeline-runs/{param}") + public @Nullable T getDataPipelinesPipelineRunsParam( + String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request( + Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesPipelineRunsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/pipelines") + public @Nullable T getDataPipelinesPipelines(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesPipelines(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/pipelines/{param}") + public @Nullable T getDataPipelinesPipelinesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesPipelinesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/runs") + public @Nullable T getDataPipelinesRuns(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getDataPipelinesRuns(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|POST|/data/pipelines/pipelines") + public @Nullable T postDataPipelinesPipelines(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataPipelinesPipelines( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|POST|/data/pipelines/runs") + public @Nullable T postDataPipelinesRuns(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postDataPipelinesRuns( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Pipelines.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); + } + + /** + * Opens the event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}}. + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @return a publisher that emits event data + */ + @SdkOperation("pipelines|STREAM|/data/pipelines/pipeline-runs/{param}") + public Flow.Publisher streamDataPipelinesPipelineRunsParam(String pathParam1, QueryParams query) { + return streamPublisher( + Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pathParam1), query); + } + + /** + * Opens a blocking event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}}. + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator streamDataPipelinesPipelineRunsParamBlocking(String pathParam1, QueryParams query) + throws IOException, InterruptedException { + return streamEvents(Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pathParam1), query); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java b/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java new file mode 100644 index 0000000..6139958 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java @@ -0,0 +1,45 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the providers service. Generated by scripts/generate_endpoints.py. */ +public final class ProvidersClient extends ServiceClient { + ProvidersClient(ApiClient client) { + super(ApiService.PROVIDERS, client); + } + + /** + * Calls the contract route {@code GET /providers/{param}}. + * @param decoded response type + * @param providerSlug providerSlug supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("providers|GET|/providers/{param}") + public @Nullable T getProvidersProviderSlug(String providerSlug, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Providers.GET_PROVIDERS_PARAM, List.of(providerSlug), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /providers/{param}}. + * @param decoded response type + * @param providerSlug providerSlug supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getProvidersProviderSlug( + String providerSlug, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Providers.GET_PROVIDERS_PARAM, List.of(providerSlug), query, null, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java b/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java new file mode 100644 index 0000000..9042a8f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java @@ -0,0 +1,8 @@ +package dev.frontal.sdk; + +/** Named contract operations for the react service. Generated by scripts/generate_endpoints.py. */ +public final class ReactClient extends ServiceClient { + ReactClient(ApiClient client) { + super(ApiService.REACT, client); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java b/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java new file mode 100644 index 0000000..95a2480 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java @@ -0,0 +1,106 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the sandbox service. Generated by scripts/generate_endpoints.py. */ +public final class SandboxClient extends ServiceClient { + SandboxClient(ApiClient client) { + super(ApiService.SANDBOX, client); + } + + /** + * Calls the contract route {@code GET /sandbox/languages}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("sandbox|GET|/sandbox/languages") + public @Nullable T getSandboxLanguages(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Sandbox.GET_SANDBOX_LANGUAGES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /sandbox/languages}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getSandboxLanguages(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Sandbox.GET_SANDBOX_LANGUAGES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /sandbox/self-test}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("sandbox|POST|/sandbox/self-test") + public @Nullable T postSandboxSelfTest(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Sandbox.POST_SANDBOX_SELF_TEST, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /sandbox/self-test}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postSandboxSelfTest( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Sandbox.POST_SANDBOX_SELF_TEST, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /sandbox/submit}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("sandbox|POST|/sandbox/submit") + public @Nullable T postSandboxSubmit(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Sandbox.POST_SANDBOX_SUBMIT, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /sandbox/submit}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postSandboxSubmit(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Sandbox.POST_SANDBOX_SUBMIT, List.of(), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java new file mode 100644 index 0000000..bce004c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java @@ -0,0 +1,379 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the schedules service. Generated by scripts/generate_endpoints.py. */ +public final class SchedulesClient extends ServiceClient { + SchedulesClient(ApiClient client) { + super(ApiService.SCHEDULES, client); + } + + /** + * Calls the contract route {@code DELETE /workflows/schedules/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|DELETE|/workflows/schedules/{param}") + public @Nullable T deleteWorkflowsSchedulesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /workflows/schedules/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteWorkflowsSchedulesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/schedules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|GET|/workflows/schedules") + public @Nullable T getWorkflowsSchedules(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/schedules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsSchedules(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/schedules/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|GET|/workflows/schedules/{param}") + public @Nullable T getWorkflowsSchedulesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/schedules/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsSchedulesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code PATCH /workflows/schedules/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|PATCH|/workflows/schedules/{param}") + public @Nullable T patchWorkflowsSchedulesParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PATCH /workflows/schedules/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T patchWorkflowsSchedulesParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/cron/parse}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/cron/parse") + public @Nullable T postWorkflowsCronParse(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_PARSE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/cron/parse}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsCronParse( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_PARSE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/cron/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/cron/validate") + public @Nullable T postWorkflowsCronValidate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/cron/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsCronValidate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_VALIDATE, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/schedules") + public @Nullable T postWorkflowsSchedules(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsSchedules( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/pause}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/schedules/{param}/pause") + public @Nullable T postWorkflowsSchedulesParamPause( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/pause}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsSchedulesParamPause( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/resume}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/schedules/{param}/resume") + public @Nullable T postWorkflowsSchedulesParamResume( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/resume}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsSchedulesParamResume( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/trigger}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/schedules/{param}/trigger") + public @Nullable T postWorkflowsSchedulesParamTrigger( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/trigger}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsSchedulesParamTrigger( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, + List.of(pathParam1), + query, + body, + responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/SdkOperation.java b/services/src/main/java/dev/frontal/sdk/resources/SdkOperation.java new file mode 100644 index 0000000..04b5f8c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/SdkOperation.java @@ -0,0 +1,12 @@ +package dev.frontal.sdk; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +@interface SdkOperation { + String value(); +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/ServiceClient.java index efff509..4013757 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ServiceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ServiceClient.java @@ -1,6 +1,7 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.io.InputStream; import java.nio.file.Path; @@ -29,19 +30,19 @@ protected ApiClient client() { } public @Nullable T request(Endpoint endpoint, Class responseType) throws IOException, InterruptedException { - return request(endpoint, List.of(), Map.of(), null, responseType); + return request(endpoint, List.of(), QueryParams.empty(), null, responseType); } public @Nullable T request(Endpoint endpoint, List pathParams, Class responseType) throws IOException, InterruptedException { - return request(endpoint, pathParams, Map.of(), null, responseType); + return request(endpoint, pathParams, QueryParams.empty(), null, responseType); } public @Nullable T request( Endpoint endpoint, List pathParams, - Map query, - @Nullable Object body, + QueryParams query, + @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { verify(endpoint); @@ -51,30 +52,63 @@ protected ApiClient client() { public @Nullable T request( Endpoint endpoint, List pathParams, - Map query, - @Nullable Object body, + QueryParams query, + @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { verify(endpoint); return client.request(endpoint, pathParams, query, body, responseType); } - public byte[] requestBytes(Endpoint endpoint, List pathParams, Map query, @Nullable Object body) + public byte[] requestBytes(Endpoint endpoint, List pathParams, QueryParams query, @Nullable JsonNode body) throws IOException, InterruptedException { verify(endpoint); return client.requestBytes(endpoint, pathParams, query, body); } - public ApiResponse execute(Endpoint endpoint, List pathParams, Map query, @Nullable Object body) + /** Opens a successful response body without buffering it. The caller must close the result. */ + public ApiStream streamBody(Endpoint endpoint, List pathParams, QueryParams query, @Nullable JsonNode body) + throws IOException, InterruptedException { + verify(endpoint); + return client.streamBody(endpoint, pathParams, query, body); + } + + public ApiResponse execute(Endpoint endpoint, List pathParams, QueryParams query, @Nullable JsonNode body) throws IOException, InterruptedException { verify(endpoint); return client.execute(endpoint, pathParams, query, body); } + public ApiResponse executeRaw(Endpoint endpoint, List pathParams, QueryParams query, byte[] body) + throws IOException, InterruptedException { + verify(endpoint); + return client.executeRaw(endpoint, pathParams, query, body); + } + + public @Nullable T requestRaw( + Endpoint endpoint, List pathParams, QueryParams query, byte[] body, Class responseType) + throws IOException, InterruptedException { + verify(endpoint); + return client.requestRaw(endpoint, pathParams, query, body, responseType); + } + + public @Nullable T requestRaw( + Endpoint endpoint, List pathParams, QueryParams query, byte[] body, TypeReference responseType) + throws IOException, InterruptedException { + verify(endpoint); + return client.requestRaw(endpoint, pathParams, query, body, responseType); + } + + public byte[] requestRawBytes(Endpoint endpoint, List pathParams, QueryParams query, byte[] body) + throws IOException, InterruptedException { + verify(endpoint); + return client.requestRawBytes(endpoint, pathParams, query, body); + } + public @Nullable T requestForm( Endpoint endpoint, List pathParams, - Map query, + QueryParams query, Map fields, Map files, Class responseType) @@ -86,7 +120,7 @@ public ApiResponse execute(Endpoint endpoint, List pathParams, Map @Nullable T requestForm( Endpoint endpoint, List pathParams, - Map query, + QueryParams query, Map fields, Map files, TypeReference responseType) @@ -98,7 +132,7 @@ public ApiResponse execute(Endpoint endpoint, List pathParams, Map pathParams, - Map query, + QueryParams query, Map fields, Map files) throws IOException, InterruptedException { @@ -106,26 +140,26 @@ public ApiResponse executeForm( return client.executeForm(endpoint, pathParams, query, fields, files); } - public InputStream stream(Endpoint endpoint, List pathParams, Map query) + public InputStream stream(Endpoint endpoint, List pathParams, QueryParams query) throws IOException, InterruptedException { verify(endpoint); return client.stream(endpoint, pathParams, query); } - public ApiStream streamResponse(Endpoint endpoint, List pathParams, Map query) + public ApiStream streamResponse(Endpoint endpoint, List pathParams, QueryParams query) throws IOException, InterruptedException { verify(endpoint); return client.streamResponse(endpoint, pathParams, query); } /** Opens a reactive stream of event payloads from a {@code STREAM} endpoint. */ - public Flow.Publisher streamPublisher(Endpoint endpoint, List pathParams, Map query) { + public Flow.Publisher streamPublisher(Endpoint endpoint, List pathParams, QueryParams query) { verify(endpoint); return client.streamPublisher(endpoint, pathParams, query); } /** Opens a blocking iterator of event payloads; close it to release the HTTP connection. */ - public SseEventIterator streamEvents(Endpoint endpoint, List pathParams, Map query) + public SseEventIterator streamEvents(Endpoint endpoint, List pathParams, QueryParams query) throws IOException, InterruptedException { verify(endpoint); return client.streamEvents(endpoint, pathParams, query); diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java new file mode 100644 index 0000000..cedf835 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java @@ -0,0 +1,262 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the webhook-endpoints service. Generated by scripts/generate_endpoints.py. */ +public final class WebhookEndpointsClient extends ServiceClient { + WebhookEndpointsClient(ApiClient client) { + super(ApiService.WEBHOOK_ENDPOINTS, client); + } + + /** + * Calls the contract route {@code DELETE /webhook-endpoints/{param}}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhook-endpoints|DELETE|/webhook-endpoints/{param}") + public @Nullable T deleteWebhookEndpointsId(String id, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /webhook-endpoints/{param}}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteWebhookEndpointsId(String id, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhook-endpoints}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhook-endpoints|GET|/webhook-endpoints") + public @Nullable T getWebhookEndpoints(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhook-endpoints}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWebhookEndpoints(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhook-endpoints/{param}}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhook-endpoints|GET|/webhook-endpoints/{param}") + public @Nullable T getWebhookEndpointsId(String id, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhook-endpoints/{param}}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWebhookEndpointsId(String id, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhook-endpoints|GET|/webhook-endpoints/{param}/deliveries") + public @Nullable T getWebhookEndpointsIdDeliveries(String id, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, + List.of(id), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWebhookEndpointsIdDeliveries(String id, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, + List.of(id), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code PATCH /webhook-endpoints/{param}}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhook-endpoints|PATCH|/webhook-endpoints/{param}") + public @Nullable T patchWebhookEndpointsId( + String id, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); + } + + /** + * Calls the contract route {@code PATCH /webhook-endpoints/{param}}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T patchWebhookEndpointsId( + String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /webhook-endpoints}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhook-endpoints|POST|/webhook-endpoints") + public @Nullable T postWebhookEndpoints(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /webhook-endpoints}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWebhookEndpoints( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhook-endpoints|POST|/webhook-endpoints/{param}/rotate-secret") + public @Nullable T postWebhookEndpointsIdRotateSecret( + String id, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, + List.of(id), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWebhookEndpointsIdRotateSecret( + String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, + List.of(id), + query, + body, + responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java new file mode 100644 index 0000000..0425f90 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java @@ -0,0 +1,345 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the webhooks service. Generated by scripts/generate_endpoints.py. */ +public final class WebhooksClient extends ServiceClient { + WebhooksClient(ApiClient client) { + super(ApiService.WEBHOOKS, client); + } + + /** + * Calls the contract route {@code DELETE /webhooks/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|DELETE|/webhooks/{param}") + public @Nullable T deleteWebhooksParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.DELETE_WEBHOOKS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /webhooks/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteWebhooksParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.DELETE_WEBHOOKS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|GET|/webhooks") + public @Nullable T getWebhooks(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWebhooks(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/deliveries}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|GET|/webhooks/deliveries") + public @Nullable T getWebhooksDeliveries(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/deliveries}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWebhooksDeliveries(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/deliveries/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|GET|/webhooks/deliveries/{param}") + public @Nullable T getWebhooksDeliveriesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/deliveries/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWebhooksDeliveriesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/stats}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|GET|/webhooks/stats") + public @Nullable T getWebhooksStats(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_STATS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/stats}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWebhooksStats(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_STATS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|GET|/webhooks/{param}") + public @Nullable T getWebhooksParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWebhooksParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code POST /webhooks}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|POST|/webhooks") + public @Nullable T postWebhooks(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.POST_WEBHOOKS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /webhooks}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWebhooks(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.POST_WEBHOOKS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|POST|/webhooks/deliveries/{param}/retry") + public @Nullable T postWebhooksDeliveriesParamRetry( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWebhooksDeliveriesParamRetry( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /webhooks/{param}/rotate-secret}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|POST|/webhooks/{param}/rotate-secret") + public @Nullable T postWebhooksParamRotateSecret( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /webhooks/{param}/rotate-secret}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWebhooksParamRotateSecret( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /webhooks/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|PUT|/webhooks/{param}") + public @Nullable T putWebhooksParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.PUT_WEBHOOKS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PUT /webhooks/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T putWebhooksParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Webhooks.PUT_WEBHOOKS_PARAM, List.of(pathParam1), query, body, responseType); + } +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsClient.java index 829a666..5b3c5cf 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsClient.java @@ -4,19 +4,18 @@ import java.io.IOException; import java.time.Duration; import java.util.ArrayList; -import java.util.LinkedHashMap; import java.util.List; -import java.util.Map; import java.util.Objects; +import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Workflow definitions, executions, tasks, templates, and approvals. */ -public final class WorkflowsClient extends ServiceClient { +public final class WorkflowsClient extends WorkflowsServiceClient { WorkflowsClient(ApiClient client) { - super(ApiService.WORKFLOWS, client); + super(client); } - public PageResult list(Map query, Class itemType) throws IOException, InterruptedException { + public PageResult list(QueryParams query, Class itemType) throws IOException, InterruptedException { return fetchPage(query, itemType); } @@ -24,22 +23,28 @@ public PageResult list(Map query, Class itemType) throws IO return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(workflowId), responseType); } - public @Nullable T create(Object definition, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), Map.of(), definition, responseType); + public @Nullable T create(JsonNode definition, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), QueryParams.empty(), definition, responseType); } - public @Nullable T update(String workflowId, Object update, Class responseType) + public @Nullable T update(String workflowId, JsonNode update, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(workflowId), Map.of(), update, responseType); + return request( + Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, + List.of(workflowId), + QueryParams.empty(), + update, + responseType); } public void delete(String workflowId) throws IOException, InterruptedException { - requestBytes(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(workflowId), Map.of(), null); + requestBytes(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(workflowId), QueryParams.empty(), null); } - public @Nullable T createExecution(Object input, Class responseType) + public @Nullable T createExecution(JsonNode input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), Map.of(), input, responseType); + return request( + Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), QueryParams.empty(), input, responseType); } public @Nullable T execution(String executionId, Class responseType) @@ -47,7 +52,8 @@ public void delete(String workflowId) throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(executionId), responseType); } - public JsonNode waitForCompletion(String executionId, Duration interval, Duration timeout) throws Exception { + public JsonNode waitForCompletion(String executionId, Duration interval, Duration timeout) + throws IOException, InterruptedException, TimeoutException { return Poller.pollUntil( () -> Objects.requireNonNull(execution(executionId, JsonNode.class), "Workflow response was empty"), result -> { @@ -59,29 +65,29 @@ public JsonNode waitForCompletion(String executionId, Duration interval, Duratio timeout); } - public @Nullable T approve(String approvalId, Object decision, Class responseType) + public @Nullable T approve(String approvalId, JsonNode decision, Class responseType) throws IOException, InterruptedException { return request( Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, List.of(approvalId), - Map.of(), + QueryParams.empty(), decision, responseType); } - public @Nullable T reject(String approvalId, Object decision, Class responseType) + public @Nullable T reject(String approvalId, JsonNode decision, Class responseType) throws IOException, InterruptedException { return request( Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, List.of(approvalId), - Map.of(), + QueryParams.empty(), decision, responseType); } - private PageResult fetchPage(Map options, Class itemType) + private PageResult fetchPage(QueryParams options, Class itemType) throws IOException, InterruptedException { - Map query = options == null ? Map.of() : Map.copyOf(options); + QueryParams query = Objects.requireNonNull(options, "query"); JsonNode response = Objects.requireNonNull( request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, JsonNode.class), "Workflow list response was empty"); @@ -102,10 +108,9 @@ private PageResult fetchPage(Map options, Class itemType) metadata.path("hasMore").asBoolean(metadata.path("has_more").asBoolean(!cursor.isBlank())); Long total = metadata.has("total") ? metadata.path("total").asLong() : null; return new PageResult<>(data, new Pagination(cursor, more, total), next -> { - Map nextQuery = new LinkedHashMap<>(); - query.forEach(nextQuery::put); - nextQuery.put("cursor", next); - return fetchPage(nextQuery, itemType); + QueryParams.Builder nextQuery = QueryParams.builder(); + query.values().forEach((name, values) -> values.forEach(value -> nextQuery.add(name, value))); + return fetchPage(nextQuery.add("cursor", next).build(), itemType); }); } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java new file mode 100644 index 0000000..58c4288 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java @@ -0,0 +1,1078 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Named contract operations for the workflows service. Generated by scripts/generate_endpoints.py. */ +public class WorkflowsServiceClient extends ServiceClient { + WorkflowsServiceClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** + * Calls the contract route {@code DELETE /workflows/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|DELETE|/workflows/{param}") + public @Nullable T deleteWorkflowsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code DELETE /workflows/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteWorkflowsParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows") + public @Nullable T getWorkflows(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflows(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/approvals}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/approvals") + public @Nullable T getWorkflowsApprovals(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/approvals}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsApprovals(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/approvals/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/approvals/{param}") + public @Nullable T getWorkflowsApprovalsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/approvals/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsApprovalsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/executions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/executions") + public @Nullable T getWorkflowsExecutions(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/executions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsExecutions(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/executions/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/executions/{param}") + public @Nullable T getWorkflowsExecutionsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/executions/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsExecutionsParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/executions/{param}/tasks}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/executions/{param}/tasks") + public @Nullable T getWorkflowsExecutionsParamTasks(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /workflows/executions/{param}/tasks}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsExecutionsParamTasks( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, + List.of(pathParam1), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /workflows/runs/{param}/steps}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/runs/{param}/steps") + public @Nullable T getWorkflowsRunsParamSteps(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_RUNS_PARAM_STEPS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/runs/{param}/steps}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsRunsParamSteps( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_RUNS_PARAM_STEPS, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/tasks/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/tasks/{param}") + public @Nullable T getWorkflowsTasksParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TASKS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/tasks/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsTasksParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TASKS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/templates") + public @Nullable T getWorkflowsTemplates(QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsTemplates(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES, List.of(), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/templates/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/templates/{param}") + public @Nullable T getWorkflowsTemplatesParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/templates/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsTemplatesParam( + String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/{param}") + public @Nullable T getWorkflowsParam(String pathParam1, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsParam(String pathParam1, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(pathParam1), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/{param}/{param}}. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/{param}/{param}") + public @Nullable T getWorkflowsWorkflowIdRunId( + String workflowId, String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/{param}/{param}}. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsWorkflowIdRunId( + String workflowId, String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); + } + + /** + * Calls the contract route {@code GET /workflows/{param}/{param}/summary}. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/{param}/{param}/summary") + public @Nullable T getWorkflowsWorkflowIdRunIdSummary( + String workflowId, String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, + List.of(workflowId, runId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /workflows/{param}/{param}/summary}. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsWorkflowIdRunIdSummary( + String workflowId, String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, + List.of(workflowId, runId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /workflows/{param}/{param}/timeline}. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/{param}/{param}/timeline") + public @Nullable T getWorkflowsWorkflowIdRunIdTimeline( + String workflowId, String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, + List.of(workflowId, runId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code GET /workflows/{param}/{param}/timeline}. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getWorkflowsWorkflowIdRunIdTimeline( + String workflowId, String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, + List.of(workflowId, runId), + query, + null, + responseType); + } + + /** + * Calls the contract route {@code PATCH /workflows/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|PATCH|/workflows/{param}") + public @Nullable T patchWorkflowsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code PATCH /workflows/{param}}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T patchWorkflowsParam( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows") + public @Nullable T postWorkflows(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflows(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/approve}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/approvals/{param}/approve") + public @Nullable T postWorkflowsApprovalsParamApprove( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/approve}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsApprovalsParamApprove( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/reject}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/approvals/{param}/reject") + public @Nullable T postWorkflowsApprovalsParamReject( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/reject}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsApprovalsParamReject( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/batch}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/batch") + public @Nullable T postWorkflowsBatch(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_BATCH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/batch}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsBatch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_BATCH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/executions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/executions") + public @Nullable T postWorkflowsExecutions(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/executions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsExecutions( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/search}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/search") + public @Nullable T postWorkflowsSearch(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_SEARCH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/search}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsSearch( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_SEARCH, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/cancel}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/tasks/{param}/cancel") + public @Nullable T postWorkflowsTasksParamCancel( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/cancel}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsTasksParamCancel( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/retry}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/tasks/{param}/retry") + public @Nullable T postWorkflowsTasksParamRetry( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/retry}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsTasksParamRetry( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/templates") + public @Nullable T postWorkflowsTemplates(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsTemplates( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES, List.of(), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/templates/{param}/instantiate}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/templates/{param}/instantiate") + public @Nullable T postWorkflowsTemplatesParamInstantiate( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/templates/{param}/instantiate}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsTemplatesParamInstantiate( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, + List.of(pathParam1), + query, + body, + responseType); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/archive}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/{param}/archive") + public @Nullable T postWorkflowsParamArchive( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/archive}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsParamArchive( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/publish}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/{param}/publish") + public @Nullable T postWorkflowsParamPublish( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/publish}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsParamPublish( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/restore}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/{param}/restore") + public @Nullable T postWorkflowsParamRestore( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/restore}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsParamRestore( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/versions}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/{param}/versions") + public @Nullable T postWorkflowsParamVersions( + String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(pathParam1), query, body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/versions}. + * @param decoded response type + * @param pathParam1 pathParam1 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T postWorkflowsParamVersions( + String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(pathParam1), query, body, responseType); + } +} diff --git a/skills/frontal-sdk/SKILL.md b/skills/frontal-sdk/SKILL.md index 7dd9b08..2d26166 100644 --- a/skills/frontal-sdk/SKILL.md +++ b/skills/frontal-sdk/SKILL.md @@ -23,7 +23,7 @@ Do not guess operation methods or payload schemas. Use `JsonNode` for a response ## Configuration and lifecycle -Builder options include `baseUrl`, `aiBaseUrl`, `env`, `debug`, `timeout`, `connectTimeout`, `maxRetries`, and custom headers. `fromEnvironment()` reads `FRONTAL_API_KEY`, `FRONTAL_API_URL`, `FRONTAL_AI_URL`, `FRONTAL_ENV`, and `FRONTAL_DEBUG` (the implementation may also support `FRONTAL_TIMEOUT`). Java does not load `.env` files. Close `Frontal` when its lifecycle ends; use try-with-resources in applications and tests. Never log keys or include them in URLs or exception messages. +Builder options include `apiBaseUrl`, `aiBaseUrl`, `environment`, `debug`, `requestTimeout`, `connectTimeout`, `maxRetries`, and custom headers. `fromEnvironment()` reads `FRONTAL_API_KEY`, `FRONTAL_API_URL`, `FRONTAL_AI_URL`, `FRONTAL_ENV`, and `FRONTAL_DEBUG` (the implementation may also support `FRONTAL_TIMEOUT`). Java does not load `.env` files. Close `Frontal` when its lifecycle ends; use try-with-resources in applications and tests. Never log keys or include them in URLs or exception messages. ## Runtime patterns diff --git a/skills/java-mockwebserver-tests/SKILL.md b/skills/java-mockwebserver-tests/SKILL.md index 69d48b2..4c633ff 100644 --- a/skills/java-mockwebserver-tests/SKILL.md +++ b/skills/java-mockwebserver-tests/SKILL.md @@ -8,7 +8,7 @@ description: Write deterministic JUnit and MockWebServer tests for the Frontal J Use this skill when testing Java client transport, service, error, pagination, or streaming behavior. - Use JUnit 5 and OkHttp `MockWebServer`; do not call a live Frontal backend or require a real key. -- Point `Frontal.builder().baseUrl(...)` at the server URL. Close both `Frontal` and `MockWebServer` in structured cleanup. +- Point `Frontal.builder().apiBaseUrl(...)` at the server URL. Close both `Frontal` and `MockWebServer` in structured cleanup. - Assert the recorded HTTP method, encoded path/query, auth and environment headers, and serialized request body, then exercise the actual SDK response parser. - Cover typed API/network exceptions, request IDs, pagination continuation, and SSE publisher/iterator completion or cleanup where applicable. - Prefer focused behavior assertions over internal call-count assertions. Keep tests in the owning module's `src/test/java` and use the same Java package only when package access is needed. diff --git a/templates/README.md b/templates/README.md index 0165267..435efb5 100644 --- a/templates/README.md +++ b/templates/README.md @@ -1,6 +1,6 @@ # Java application templates -Each directory is a standalone Java 17 Maven application that uses `dev.frontal:frontal-sdk:1.0.0`. To build a template against this checkout, publish the SDK modules to your local Maven repository from the repository root: +Each directory is a standalone Java 17 Maven application that uses `dev.frontal:frontal-sdk:2.0.0`. To build a template against this checkout, publish the SDK modules to your local Maven repository from the repository root: ```bash ./gradlew :core:publishToMavenLocal :services:publishToMavenLocal :sdk:publishToMavenLocal diff --git a/templates/agent-approval/pom.xml b/templates/agent-approval/pom.xml index 7dadcbf..e717e5a 100644 --- a/templates/agent-approval/pom.xml +++ b/templates/agent-approval/pom.xml @@ -6,7 +6,7 @@ 17 UTF-8 - 1.0.0 + 2.0.0 2.18.2 diff --git a/templates/agent-approval/src/main/java/dev/frontal/examples/agentapproval/Main.java b/templates/agent-approval/src/main/java/dev/frontal/examples/agentapproval/Main.java index 407bbe0..ff70e8b 100644 --- a/templates/agent-approval/src/main/java/dev/frontal/examples/agentapproval/Main.java +++ b/templates/agent-approval/src/main/java/dev/frontal/examples/agentapproval/Main.java @@ -7,7 +7,6 @@ import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; -import java.util.Map; import java.util.Objects; /** Lists pending workflow approvals and submits only an operator-confirmed approval. */ @@ -57,7 +56,7 @@ private static void run() throws IOException, InterruptedException { } JsonNode result = Objects.requireNonNull( - client.workflows().approve(approvalId, Map.of(), JsonNode.class), + client.workflows().approve(approvalId, client.apiClient().objectMapper().createObjectNode(), JsonNode.class), "Workflow approval response was empty"); LOGGER.log(System.Logger.Level.INFO, "Workflow approval submitted"); System.out.println( diff --git a/templates/cron-export/pom.xml b/templates/cron-export/pom.xml index 955ed2c..5541216 100644 --- a/templates/cron-export/pom.xml +++ b/templates/cron-export/pom.xml @@ -6,7 +6,7 @@ 17 UTF-8 - 1.0.0 + 2.0.0 2.18.2 diff --git a/templates/cron-export/src/main/java/dev/frontal/examples/cronexport/Main.java b/templates/cron-export/src/main/java/dev/frontal/examples/cronexport/Main.java index 74fdb06..440bc07 100644 --- a/templates/cron-export/src/main/java/dev/frontal/examples/cronexport/Main.java +++ b/templates/cron-export/src/main/java/dev/frontal/examples/cronexport/Main.java @@ -11,7 +11,6 @@ import java.time.ZoneOffset; import java.time.format.DateTimeFormatter; import java.util.List; -import java.util.Map; /** Exports the current agent collection as a timestamped JSON snapshot. */ public final class Main { @@ -47,7 +46,7 @@ private static void run(String[] args) throws IOException, InterruptedException throw new IllegalArgumentException("Output file must not be blank"); } try (Frontal client = Frontal.fromEnvironment()) { - List agents = client.agents().list(Map.of(), JsonNode.class).all(); + List agents = client.agents().list(QueryParams.empty(), JsonNode.class).all(); Path absoluteOutput = output.toAbsolutePath().normalize(); if (absoluteOutput.getFileName() == null) { diff --git a/templates/pipeline-monitor/pom.xml b/templates/pipeline-monitor/pom.xml index 7c21da1..3e45308 100644 --- a/templates/pipeline-monitor/pom.xml +++ b/templates/pipeline-monitor/pom.xml @@ -6,7 +6,7 @@ 17 UTF-8 - 1.0.0 + 2.0.0 2.18.2 diff --git a/templates/pipeline-monitor/src/main/java/dev/frontal/examples/pipelinemonitor/Main.java b/templates/pipeline-monitor/src/main/java/dev/frontal/examples/pipelinemonitor/Main.java index 25d5486..2e1a5bd 100644 --- a/templates/pipeline-monitor/src/main/java/dev/frontal/examples/pipelinemonitor/Main.java +++ b/templates/pipeline-monitor/src/main/java/dev/frontal/examples/pipelinemonitor/Main.java @@ -9,7 +9,6 @@ import java.io.UncheckedIOException; import java.time.Duration; import java.util.List; -import java.util.Map; /** Prints events from a Frontal pipeline run stream until the server closes it. */ public final class Main { @@ -72,7 +71,7 @@ private static void readEvents(Frontal client, String runId) .streamEvents( Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), - Map.of())) { + QueryParams.empty())) { LOGGER.log(System.Logger.Level.INFO, "Connected to pipeline event stream"); try { while (events.hasNext()) { From 5fffcd996f1d42a6619a3708288a759e01c0ceb5 Mon Sep 17 00:00:00 2001 From: Gabriel Fonseca Date: Fri, 9 Oct 2026 11:08:57 +0100 Subject: [PATCH 2/6] chore(git): ignore Python cache files --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 5d6a15d..19bdf62 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,7 @@ *.class /out/ /coverage/ + +# Python cache files +__pycache__/ +*.py[cod] From 28c9a37193ad4701c5a76b7faa22d79f8dcd1953 Mon Sep 17 00:00:00 2001 From: Gabriel Fonseca Date: Fri, 9 Oct 2026 11:53:31 +0100 Subject: [PATCH 3/6] docs: update API and project documentation --- README.md | 18 +- docs/ARCHITECTURE.md | 4 +- docs/api/README.md | 2 +- docs/api/agents.md | 85 ++- docs/api/ai.md | 57 +- docs/api/audit.md | 27 +- docs/api/auth.md | 399 ++++++---- docs/api/billing.md | 141 ++-- docs/api/blob.md | 51 +- docs/api/connection-tests.md | 9 +- docs/api/connectors.md | 75 +- docs/api/data.md | 909 +++++++++++++++-------- docs/api/events.md | 105 ++- docs/api/governance.md | 147 ++-- docs/api/invocations.md | 9 +- docs/api/lineage.md | 45 +- docs/api/methods-as-code.md | 1279 ++++++++++++++++----------------- docs/api/observability.md | 189 +++-- docs/api/ontology.md | 1029 +++++++++++++++++--------- docs/api/pipelines.md | 69 +- docs/api/providers.md | 9 +- docs/api/react.md | 3 +- docs/api/sandbox.md | 21 +- docs/api/schedules.md | 63 +- docs/api/webhook-endpoints.md | 45 +- docs/api/webhooks.md | 63 +- docs/api/workflows.md | 183 +++-- examples/README.md | 4 +- scripts/README.md | 2 +- 29 files changed, 3107 insertions(+), 1935 deletions(-) diff --git a/README.md b/README.md index e0afcd3..e75e70d 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,22 @@ try (Frontal quickstartClient = Frontal.builder().apiKey("frt_test_key").apiBase } ``` -The production default API base URL is `https://api.frontal.dev/v1`; `apiBaseUrl(...)` configures test servers and compatible gateways. `Frontal` exposes a typed client for every API service, with named operation methods generated from the route catalog. Each service shares one transport; `Endpoints` and generic `request` methods remain available for advanced use. +The production default API base URL is `https://api.frontal.dev/v1`; `apiBaseUrl(...)` configures test servers and compatible gateways. `Frontal` exposes a client for every API service, with nested resource clients and concise methods generated from the route catalog. Collection methods use names such as `list()` and `create()`, item methods use `get(id)`, `update(id, body)`, and `delete(id)`, and custom actions keep their action names. Each resource shares one transport; `Endpoints` and generic `request` methods remain available for advanced use. -For routes whose contracts do not define a payload schema, named methods accept `JsonNode` request bodies, typed query parameters, and caller-selected response types. Use `JsonNode` for flexible responses or `TypeReference` for generic collections: +Nested routes follow their resource path: ```java - JsonNode health = f.agents().getAgentsHealth(QueryParams.empty(), JsonNode.class); +JsonNode run = f.agents().runs().get("run_123", JsonNode.class); +``` + +```java +JsonNode dataset = f.data().ingest().datasets().get("dataset_123", JsonNode.class); +``` + +For routes whose contracts do not define a payload schema, named methods accept `JsonNode` request bodies and caller-selected response types. Use `QueryParams` when you need to add query values and `TypeReference` for generic collections: + +```java + JsonNode health = f.agents().health(JsonNode.class); ``` ## Configuration @@ -64,7 +74,7 @@ Paginated list operations return `PageResult` with `nextPage()`, `all()`, and Iterate pages lazily when the result may be large: ```java -for (JsonNode agent : f.agents().list(QueryParams.empty(), JsonNode.class)) { +for (JsonNode agent : f.agents().listPages(QueryParams.empty(), JsonNode.class)) { System.out.println(agent.path("id").asText()); } ``` diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index ebe67f5..c12d7a2 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -10,7 +10,7 @@ The SDK is a Gradle multi-module project with one public artifact, `dev.frontal: - `examples/` verifies the consumer experience with MockWebServer. - Production classes remain in `dev.frontal.sdk`. The `api/`, `auth/`, `config/`, `models/`, `resources/`, and `utils/` folders organize types by role and do not create Java subpackages. -`Endpoints` and named service operation methods are derived from `contracts/sdk-endpoints.json` and operation metadata in the committed OpenAPI snapshots. The snapshots remain unchanged and feed the contract gate. Named methods accept immutable typed query values, use `JsonNode` for request bodies without a usable contract schema, and let callers choose the response type. +`Endpoints`, nested resource clients, and concise operations are derived from `contracts/sdk-endpoints.json` and operation metadata in the committed OpenAPI snapshots. The snapshots remain unchanged and feed the contract gate. Resource clients follow route segments and expose conventional `list`, `get`, `create`, `update`, and `delete` methods plus named actions. Calls can omit `QueryParams` when they do not need query values. Request bodies without a usable schema use `JsonNode`, and callers choose response types where no model is available. ## Request flow @@ -20,4 +20,4 @@ The SDK is a Gradle multi-module project with one public artifact, `dev.frontal: ## Service APIs -The route inventory generates endpoint constants and named methods for the SDK’s 611 supported routes. Agent run lookup is grouped under agents. AI, agents, and workflows retain their higher-level convenience methods. The contract gate verifies SDK routes against the committed inventory and maps supported operations in the public and AI OpenAPI snapshots. Caller-provided classes, `TypeReference`, or Jackson `JsonNode` types handle payloads that the current snapshots do not fully model. Generated references for service clients live in `docs/api/`. +The route inventory generates endpoint constants and named methods for the SDK’s 611 supported routes. Agent runs live under `agents().runs()`, while other nested paths follow their route resources. The contract gate verifies SDK routes against the committed inventory and maps supported operations in the public and AI OpenAPI snapshots. Caller-provided classes, `TypeReference`, or Jackson `JsonNode` types handle payloads that the current snapshots do not fully model. Generated references for service and resource clients live in `docs/api/`. diff --git a/docs/api/README.md b/docs/api/README.md index 0d5c3c7..8e9215f 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -2,7 +2,7 @@ Generated from the committed route catalog for SDK service clients. -Call-shaped listing of every method: [methods as code](./methods-as-code.md). +Call-shaped listing of every operation: [methods as code](./methods-as-code.md). | Service | Routes | Reference | | --- | ---: | --- | diff --git a/docs/api/agents.md b/docs/api/agents.md index 4b63a28..314cafa 100644 --- a/docs/api/agents.md +++ b/docs/api/agents.md @@ -2,36 +2,65 @@ Service accessor: `frontal.agents()` (`AgentsServiceClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteAgentsParam(...)` | `DELETE` | `/agents/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteAgentsParam(...)` | `DELETE` | `/agents/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAgents(...)` | `GET` | `/agents` | `query, Class responseType` | `@Nullable T` | -| `getAgents(...)` | `GET` | `/agents` | `query, TypeReference responseType` | `@Nullable T` | -| `getAgentsHealth(...)` | `GET` | `/agents/health` | `query, Class responseType` | `@Nullable T` | -| `getAgentsHealth(...)` | `GET` | `/agents/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getAgentsRunsParam(...)` | `GET` | `/agents/runs/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAgentsRunsParam(...)` | `GET` | `/agents/runs/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAgentsRunsParamConversation(...)` | `GET` | `/agents/runs/{param}/conversation` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAgentsRunsParamConversation(...)` | `GET` | `/agents/runs/{param}/conversation` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAgentsParam(...)` | `GET` | `/agents/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAgentsParam(...)` | `GET` | `/agents/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAgentsParamRuns(...)` | `GET` | `/agents/{param}/runs` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAgentsParamRuns(...)` | `GET` | `/agents/{param}/runs` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAgentsParamVersions(...)` | `GET` | `/agents/{param}/versions` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAgentsParamVersions(...)` | `GET` | `/agents/{param}/versions` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `postAgents(...)` | `POST` | `/agents` | `query, body, Class responseType` | `@Nullable T` | -| `postAgents(...)` | `POST` | `/agents` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAgentsParamRollback(...)` | `POST` | `/agents/{param}/rollback` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postAgentsParamRollback(...)` | `POST` | `/agents/{param}/rollback` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postAgentsParamRuns(...)` | `POST` | `/agents/{param}/runs` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postAgentsParamRuns(...)` | `POST` | `/agents/{param}/runs` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `putAgentsParam(...)` | `PUT` | `/agents/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `putAgentsParam(...)` | `PUT` | `/agents/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `streamAgentsRunsParamStream(...)` | `STREAM` | `/agents/runs/{param}/stream` | `pathParam1, query` | `Flow.Publisher` | -| `streamAgentsRunsParamStreamBlocking(...)` | `STREAM` | `/agents/runs/{param}/stream` | `pathParam1, query` | `SseEventIterator` | -| `getActionRun(...)` | `GET` | `/action-runs/{param}` | `actionRunId, query, Class or TypeReference responseType` | `@Nullable T` | +| `agents().delete(...)` | `DELETE` | `/agents/{param}` | `String agentId, QueryParams query, Class responseType` | `@Nullable T` | +| `agents().delete(...)` | `DELETE` | `/agents/{param}` | `String agentId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().delete(...)` | `DELETE` | `/agents/{param}` | `String agentId, Class responseType` | `@Nullable T` | +| `agents().delete(...)` | `DELETE` | `/agents/{param}` | `String agentId, TypeReference responseType` | `@Nullable T` | +| `agents().list(...)` | `GET` | `/agents` | `QueryParams query, Class responseType` | `@Nullable T` | +| `agents().list(...)` | `GET` | `/agents` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().list(...)` | `GET` | `/agents` | `Class responseType` | `@Nullable T` | +| `agents().list(...)` | `GET` | `/agents` | `TypeReference responseType` | `@Nullable T` | +| `agents().health(...)` | `GET` | `/agents/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `agents().health(...)` | `GET` | `/agents/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().health(...)` | `GET` | `/agents/health` | `Class responseType` | `@Nullable T` | +| `agents().health(...)` | `GET` | `/agents/health` | `TypeReference responseType` | `@Nullable T` | +| `agents().get(...)` | `GET` | `/agents/{param}` | `String agentId, QueryParams query, Class responseType` | `@Nullable T` | +| `agents().get(...)` | `GET` | `/agents/{param}` | `String agentId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().get(...)` | `GET` | `/agents/{param}` | `String agentId, Class responseType` | `@Nullable T` | +| `agents().get(...)` | `GET` | `/agents/{param}` | `String agentId, TypeReference responseType` | `@Nullable T` | +| `agents().create(...)` | `POST` | `/agents` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `agents().create(...)` | `POST` | `/agents` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `agents().create(...)` | `POST` | `/agents` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `agents().create(...)` | `POST` | `/agents` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `agents().rollback(...)` | `POST` | `/agents/{param}/rollback` | `String agentId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `agents().rollback(...)` | `POST` | `/agents/{param}/rollback` | `String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `agents().rollback(...)` | `POST` | `/agents/{param}/rollback` | `String agentId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `agents().rollback(...)` | `POST` | `/agents/{param}/rollback` | `String agentId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `agents().update(...)` | `PUT` | `/agents/{param}` | `String agentId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `agents().update(...)` | `PUT` | `/agents/{param}` | `String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `agents().update(...)` | `PUT` | `/agents/{param}` | `String agentId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `agents().update(...)` | `PUT` | `/agents/{param}` | `String agentId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `agents().runs().getByActionRunId(...)` | `GET` | `/action-runs/{param}` | `String actionRunId, QueryParams query, Class responseType` | `@Nullable T` | +| `agents().runs().getByActionRunId(...)` | `GET` | `/action-runs/{param}` | `String actionRunId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().runs().getByActionRunId(...)` | `GET` | `/action-runs/{param}` | `String actionRunId, Class responseType` | `@Nullable T` | +| `agents().runs().getByActionRunId(...)` | `GET` | `/action-runs/{param}` | `String actionRunId, TypeReference responseType` | `@Nullable T` | +| `agents().runs().get(...)` | `GET` | `/agents/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `agents().runs().get(...)` | `GET` | `/agents/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().runs().get(...)` | `GET` | `/agents/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `agents().runs().get(...)` | `GET` | `/agents/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `agents().runs().conversation(...)` | `GET` | `/agents/runs/{param}/conversation` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `agents().runs().conversation(...)` | `GET` | `/agents/runs/{param}/conversation` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().runs().conversation(...)` | `GET` | `/agents/runs/{param}/conversation` | `String runId, Class responseType` | `@Nullable T` | +| `agents().runs().conversation(...)` | `GET` | `/agents/runs/{param}/conversation` | `String runId, TypeReference responseType` | `@Nullable T` | +| `agents().runs().list(...)` | `GET` | `/agents/{param}/runs` | `String agentId, QueryParams query, Class responseType` | `@Nullable T` | +| `agents().runs().list(...)` | `GET` | `/agents/{param}/runs` | `String agentId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().runs().list(...)` | `GET` | `/agents/{param}/runs` | `String agentId, Class responseType` | `@Nullable T` | +| `agents().runs().list(...)` | `GET` | `/agents/{param}/runs` | `String agentId, TypeReference responseType` | `@Nullable T` | +| `agents().runs().create(...)` | `POST` | `/agents/{param}/runs` | `String agentId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `agents().runs().create(...)` | `POST` | `/agents/{param}/runs` | `String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `agents().runs().create(...)` | `POST` | `/agents/{param}/runs` | `String agentId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `agents().runs().create(...)` | `POST` | `/agents/{param}/runs` | `String agentId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `agents().runs().stream(...)` | `STREAM` | `/agents/runs/{param}/stream` | `String runId, QueryParams query` | `Flow.Publisher` | +| `agents().runs().stream(...)` | `STREAM` | `/agents/runs/{param}/stream` | `String runId` | `Flow.Publisher` | +| `agents().runs().streamBlocking(...)` | `STREAM` | `/agents/runs/{param}/stream` | `String runId, QueryParams query` | `SseEventIterator` | +| `agents().runs().streamBlocking(...)` | `STREAM` | `/agents/runs/{param}/stream` | `String runId` | `SseEventIterator` | +| `agents().versions().list(...)` | `GET` | `/agents/{param}/versions` | `String agentId, QueryParams query, Class responseType` | `@Nullable T` | +| `agents().versions().list(...)` | `GET` | `/agents/{param}/versions` | `String agentId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `agents().versions().list(...)` | `GET` | `/agents/{param}/versions` | `String agentId, Class responseType` | `@Nullable T` | +| `agents().versions().list(...)` | `GET` | `/agents/{param}/versions` | `String agentId, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/ai.md b/docs/api/ai.md index e33d60c..8213353 100644 --- a/docs/api/ai.md +++ b/docs/api/ai.md @@ -2,28 +2,45 @@ Service accessor: `frontal.ai()` (`AiServiceClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getHealth(...)` | `GET` | `/health` | `query, Class responseType` | `@Nullable T` | -| `getHealth(...)` | `GET` | `/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getInternalModels(...)` | `GET` | `/internal/models` | `query, Class responseType` | `@Nullable T` | -| `getInternalModels(...)` | `GET` | `/internal/models` | `query, TypeReference responseType` | `@Nullable T` | -| `getInternalModelsDefaults(...)` | `GET` | `/internal/models/defaults` | `query, Class responseType` | `@Nullable T` | -| `getInternalModelsDefaults(...)` | `GET` | `/internal/models/defaults` | `query, TypeReference responseType` | `@Nullable T` | -| `postAiChatCompletions(...)` | `POST` | `/ai/chat/completions` | `query, body, Class responseType` | `@Nullable T` | -| `postAiChatCompletions(...)` | `POST` | `/ai/chat/completions` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postInternalEmbeddings(...)` | `POST` | `/internal/embeddings` | `query, body, Class responseType` | `@Nullable T` | -| `postInternalEmbeddings(...)` | `POST` | `/internal/embeddings` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postInternalPredictions(...)` | `POST` | `/internal/predictions` | `query, body, Class responseType` | `@Nullable T` | -| `postInternalPredictions(...)` | `POST` | `/internal/predictions` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postInternalRerank(...)` | `POST` | `/internal/rerank` | `query, body, Class responseType` | `@Nullable T` | -| `postInternalRerank(...)` | `POST` | `/internal/rerank` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postformdataInternalPredictions(...)` | `POSTFORMDATA` | `/internal/predictions` | `query, fields, files, Class responseType` | `@Nullable T` | -| `postformdataInternalPredictions(...)` | `POSTFORMDATA` | `/internal/predictions` | `query, fields, files, TypeReference responseType` | `@Nullable T` | -| `postrawInternalPredictions(...)` | `POSTRAW` | `/internal/predictions` | `query, body, Class responseType` | `@Nullable T` | -| `postrawInternalPredictions(...)` | `POSTRAW` | `/internal/predictions` | `query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `ai().health(...)` | `GET` | `/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ai().health(...)` | `GET` | `/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ai().health(...)` | `GET` | `/health` | `Class responseType` | `@Nullable T` | +| `ai().health(...)` | `GET` | `/health` | `TypeReference responseType` | `@Nullable T` | +| `ai().internal().embed(...)` | `POST` | `/internal/embeddings` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ai().internal().embed(...)` | `POST` | `/internal/embeddings` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ai().internal().embed(...)` | `POST` | `/internal/embeddings` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ai().internal().embed(...)` | `POST` | `/internal/embeddings` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ai().internal().predict(...)` | `POST` | `/internal/predictions` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ai().internal().predict(...)` | `POST` | `/internal/predictions` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ai().internal().predict(...)` | `POST` | `/internal/predictions` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ai().internal().predict(...)` | `POST` | `/internal/predictions` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ai().internal().rerank(...)` | `POST` | `/internal/rerank` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ai().internal().rerank(...)` | `POST` | `/internal/rerank` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ai().internal().rerank(...)` | `POST` | `/internal/rerank` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ai().internal().rerank(...)` | `POST` | `/internal/rerank` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ai().internal().predictForm(...)` | `POSTFORMDATA` | `/internal/predictions` | `QueryParams query, Map fields, Map files, Class responseType` | `@Nullable T` | +| `ai().internal().predictForm(...)` | `POSTFORMDATA` | `/internal/predictions` | `QueryParams query, Map fields, Map files, TypeReference responseType` | `@Nullable T` | +| `ai().internal().predictForm(...)` | `POSTFORMDATA` | `/internal/predictions` | `Map fields, Map files, Class responseType` | `@Nullable T` | +| `ai().internal().predictForm(...)` | `POSTFORMDATA` | `/internal/predictions` | `Map fields, Map files, TypeReference responseType` | `@Nullable T` | +| `ai().internal().predictRaw(...)` | `POSTRAW` | `/internal/predictions` | `QueryParams query, byte[] body, Class responseType` | `@Nullable T` | +| `ai().internal().predictRaw(...)` | `POSTRAW` | `/internal/predictions` | `QueryParams query, byte[] body, TypeReference responseType` | `@Nullable T` | +| `ai().internal().predictRaw(...)` | `POSTRAW` | `/internal/predictions` | `byte[] body, Class responseType` | `@Nullable T` | +| `ai().internal().predictRaw(...)` | `POSTRAW` | `/internal/predictions` | `byte[] body, TypeReference responseType` | `@Nullable T` | +| `ai().chat().completions().create(...)` | `POST` | `/ai/chat/completions` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ai().chat().completions().create(...)` | `POST` | `/ai/chat/completions` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ai().chat().completions().create(...)` | `POST` | `/ai/chat/completions` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ai().chat().completions().create(...)` | `POST` | `/ai/chat/completions` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ai().internal().models().list(...)` | `GET` | `/internal/models` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ai().internal().models().list(...)` | `GET` | `/internal/models` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ai().internal().models().list(...)` | `GET` | `/internal/models` | `Class responseType` | `@Nullable T` | +| `ai().internal().models().list(...)` | `GET` | `/internal/models` | `TypeReference responseType` | `@Nullable T` | +| `ai().internal().models().defaults(...)` | `GET` | `/internal/models/defaults` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ai().internal().models().defaults(...)` | `GET` | `/internal/models/defaults` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ai().internal().models().defaults(...)` | `GET` | `/internal/models/defaults` | `Class responseType` | `@Nullable T` | +| `ai().internal().models().defaults(...)` | `GET` | `/internal/models/defaults` | `TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/audit.md b/docs/api/audit.md index 307b99e..3a8584b 100644 --- a/docs/api/audit.md +++ b/docs/api/audit.md @@ -2,18 +2,25 @@ Service accessor: `frontal.audit()` (`AuditClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getAuditEvents(...)` | `GET` | `/audit/events` | `query, Class responseType` | `@Nullable T` | -| `getAuditEvents(...)` | `GET` | `/audit/events` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuditEventsParam(...)` | `GET` | `/audit/events/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAuditEventsParam(...)` | `GET` | `/audit/events/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `postAuditEvents(...)` | `POST` | `/audit/events` | `query, body, Class responseType` | `@Nullable T` | -| `postAuditEvents(...)` | `POST` | `/audit/events` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuditEventsBatch(...)` | `POST` | `/audit/events/batch` | `query, body, Class responseType` | `@Nullable T` | -| `postAuditEventsBatch(...)` | `POST` | `/audit/events/batch` | `query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `audit().events().list(...)` | `GET` | `/audit/events` | `QueryParams query, Class responseType` | `@Nullable T` | +| `audit().events().list(...)` | `GET` | `/audit/events` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `audit().events().list(...)` | `GET` | `/audit/events` | `Class responseType` | `@Nullable T` | +| `audit().events().list(...)` | `GET` | `/audit/events` | `TypeReference responseType` | `@Nullable T` | +| `audit().events().get(...)` | `GET` | `/audit/events/{param}` | `String eventId, QueryParams query, Class responseType` | `@Nullable T` | +| `audit().events().get(...)` | `GET` | `/audit/events/{param}` | `String eventId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `audit().events().get(...)` | `GET` | `/audit/events/{param}` | `String eventId, Class responseType` | `@Nullable T` | +| `audit().events().get(...)` | `GET` | `/audit/events/{param}` | `String eventId, TypeReference responseType` | `@Nullable T` | +| `audit().events().create(...)` | `POST` | `/audit/events` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `audit().events().create(...)` | `POST` | `/audit/events` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `audit().events().create(...)` | `POST` | `/audit/events` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `audit().events().create(...)` | `POST` | `/audit/events` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `audit().events().batch(...)` | `POST` | `/audit/events/batch` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `audit().events().batch(...)` | `POST` | `/audit/events/batch` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `audit().events().batch(...)` | `POST` | `/audit/events/batch` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `audit().events().batch(...)` | `POST` | `/audit/events/batch` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/auth.md b/docs/api/auth.md index efe4a60..bf9e443 100644 --- a/docs/api/auth.md +++ b/docs/api/auth.md @@ -2,142 +2,273 @@ Service accessor: `frontal.auth()` (`AuthClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteAuthAccountMfaParam(...)` | `DELETE` | `/auth/account/mfa/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteAuthAccountMfaParam(...)` | `DELETE` | `/auth/account/mfa/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `deleteAuthAccountProfile(...)` | `DELETE` | `/auth/account/profile` | `query, Class responseType` | `@Nullable T` | -| `deleteAuthAccountProfile(...)` | `DELETE` | `/auth/account/profile` | `query, TypeReference responseType` | `@Nullable T` | -| `deleteAuthAccountSecurityApiKeysParam(...)` | `DELETE` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteAuthAccountSecurityApiKeysParam(...)` | `DELETE` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `deleteAuthAccountSecurityDevicesParam(...)` | `DELETE` | `/auth/account/security/devices/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteAuthAccountSecurityDevicesParam(...)` | `DELETE` | `/auth/account/security/devices/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `deleteAuthAccountSessionsParam(...)` | `DELETE` | `/auth/account/sessions/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteAuthAccountSessionsParam(...)` | `DELETE` | `/auth/account/sessions/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `deleteAuthAdminUsersParam(...)` | `DELETE` | `/auth/admin/users/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteAuthAdminUsersParam(...)` | `DELETE` | `/auth/admin/users/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `deleteAuthAdminUsersParamFactorsParam(...)` | `DELETE` | `/auth/admin/users/{param}/factors/{param}` | `pathParam1, pathParam2, query, Class responseType` | `@Nullable T` | -| `deleteAuthAdminUsersParamFactorsParam(...)` | `DELETE` | `/auth/admin/users/{param}/factors/{param}` | `pathParam1, pathParam2, query, TypeReference responseType` | `@Nullable T` | -| `deleteAuthFactorsParam(...)` | `DELETE` | `/auth/factors/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteAuthFactorsParam(...)` | `DELETE` | `/auth/factors/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `deleteAuthUserIdentitiesParam(...)` | `DELETE` | `/auth/user/identities/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteAuthUserIdentitiesParam(...)` | `DELETE` | `/auth/user/identities/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountAuditLog(...)` | `GET` | `/auth/account/audit-log` | `query, Class responseType` | `@Nullable T` | -| `getAuthAccountAuditLog(...)` | `GET` | `/auth/account/audit-log` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountMfa(...)` | `GET` | `/auth/account/mfa` | `query, Class responseType` | `@Nullable T` | -| `getAuthAccountMfa(...)` | `GET` | `/auth/account/mfa` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountMfaParam(...)` | `GET` | `/auth/account/mfa/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAuthAccountMfaParam(...)` | `GET` | `/auth/account/mfa/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountProfile(...)` | `GET` | `/auth/account/profile` | `query, Class responseType` | `@Nullable T` | -| `getAuthAccountProfile(...)` | `GET` | `/auth/account/profile` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountSecurityApiKeys(...)` | `GET` | `/auth/account/security/api-keys` | `query, Class responseType` | `@Nullable T` | -| `getAuthAccountSecurityApiKeys(...)` | `GET` | `/auth/account/security/api-keys` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountSecurityApiKeysParam(...)` | `GET` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAuthAccountSecurityApiKeysParam(...)` | `GET` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountSecurityDevices(...)` | `GET` | `/auth/account/security/devices` | `query, Class responseType` | `@Nullable T` | -| `getAuthAccountSecurityDevices(...)` | `GET` | `/auth/account/security/devices` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountSecurityDevicesParam(...)` | `GET` | `/auth/account/security/devices/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAuthAccountSecurityDevicesParam(...)` | `GET` | `/auth/account/security/devices/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAuthAccountSessions(...)` | `GET` | `/auth/account/sessions` | `query, Class responseType` | `@Nullable T` | -| `getAuthAccountSessions(...)` | `GET` | `/auth/account/sessions` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthAdminUsers(...)` | `GET` | `/auth/admin/users` | `query, Class responseType` | `@Nullable T` | -| `getAuthAdminUsers(...)` | `GET` | `/auth/admin/users` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthAdminUsersParam(...)` | `GET` | `/auth/admin/users/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAuthAdminUsersParam(...)` | `GET` | `/auth/admin/users/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAuthAdminUsersParamFactors(...)` | `GET` | `/auth/admin/users/{param}/factors` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getAuthAdminUsersParamFactors(...)` | `GET` | `/auth/admin/users/{param}/factors` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getAuthAuthSession(...)` | `GET` | `/auth/auth/session` | `query, Class responseType` | `@Nullable T` | -| `getAuthAuthSession(...)` | `GET` | `/auth/auth/session` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthFactors(...)` | `GET` | `/auth/factors` | `query, Class responseType` | `@Nullable T` | -| `getAuthFactors(...)` | `GET` | `/auth/factors` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthMfaStatus(...)` | `GET` | `/auth/mfa/status` | `query, Class responseType` | `@Nullable T` | -| `getAuthMfaStatus(...)` | `GET` | `/auth/mfa/status` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthUser(...)` | `GET` | `/auth/user` | `query, Class responseType` | `@Nullable T` | -| `getAuthUser(...)` | `GET` | `/auth/user` | `query, TypeReference responseType` | `@Nullable T` | -| `getAuthUserIdentities(...)` | `GET` | `/auth/user/identities` | `query, Class responseType` | `@Nullable T` | -| `getAuthUserIdentities(...)` | `GET` | `/auth/user/identities` | `query, TypeReference responseType` | `@Nullable T` | -| `postAuthAccountMfa(...)` | `POST` | `/auth/account/mfa` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAccountMfa(...)` | `POST` | `/auth/account/mfa` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAccountMfaParamChallenge(...)` | `POST` | `/auth/account/mfa/{param}/challenge` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postAuthAccountMfaParamChallenge(...)` | `POST` | `/auth/account/mfa/{param}/challenge` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAccountMfaParamVerify(...)` | `POST` | `/auth/account/mfa/{param}/verify` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postAuthAccountMfaParamVerify(...)` | `POST` | `/auth/account/mfa/{param}/verify` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAccountPassword(...)` | `POST` | `/auth/account/password` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAccountPassword(...)` | `POST` | `/auth/account/password` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAccountSecurityApiKeys(...)` | `POST` | `/auth/account/security/api-keys` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAccountSecurityApiKeys(...)` | `POST` | `/auth/account/security/api-keys` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAccountSecurityDevices(...)` | `POST` | `/auth/account/security/devices` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAccountSecurityDevices(...)` | `POST` | `/auth/account/security/devices` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAccountSecurityDevicesParamTrust(...)` | `POST` | `/auth/account/security/devices/{param}/trust` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postAuthAccountSecurityDevicesParamTrust(...)` | `POST` | `/auth/account/security/devices/{param}/trust` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAccountSessionsParamExtend(...)` | `POST` | `/auth/account/sessions/{param}/extend` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postAuthAccountSessionsParamExtend(...)` | `POST` | `/auth/account/sessions/{param}/extend` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAdminGenerateLink(...)` | `POST` | `/auth/admin/generate_link` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAdminGenerateLink(...)` | `POST` | `/auth/admin/generate_link` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAdminLogout(...)` | `POST` | `/auth/admin/logout` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAdminLogout(...)` | `POST` | `/auth/admin/logout` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAdminUsers(...)` | `POST` | `/auth/admin/users` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAdminUsers(...)` | `POST` | `/auth/admin/users` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAuthSession(...)` | `POST` | `/auth/auth/session` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAuthSession(...)` | `POST` | `/auth/auth/session` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthAuthorize(...)` | `POST` | `/auth/authorize` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthAuthorize(...)` | `POST` | `/auth/authorize` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthFactors(...)` | `POST` | `/auth/factors` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthFactors(...)` | `POST` | `/auth/factors` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthFactorsParamChallenge(...)` | `POST` | `/auth/factors/{param}/challenge` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postAuthFactorsParamChallenge(...)` | `POST` | `/auth/factors/{param}/challenge` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthFactorsParamVerify(...)` | `POST` | `/auth/factors/{param}/verify` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postAuthFactorsParamVerify(...)` | `POST` | `/auth/factors/{param}/verify` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthInvite(...)` | `POST` | `/auth/invite` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthInvite(...)` | `POST` | `/auth/invite` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthLogin(...)` | `POST` | `/auth/login` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthLogin(...)` | `POST` | `/auth/login` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthLogout(...)` | `POST` | `/auth/logout` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthLogout(...)` | `POST` | `/auth/logout` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthMfaBackupCodesRegenerate(...)` | `POST` | `/auth/mfa/backup-codes/regenerate` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthMfaBackupCodesRegenerate(...)` | `POST` | `/auth/mfa/backup-codes/regenerate` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthMfaDisable(...)` | `POST` | `/auth/mfa/disable` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthMfaDisable(...)` | `POST` | `/auth/mfa/disable` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthMfaEnable(...)` | `POST` | `/auth/mfa/enable` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthMfaEnable(...)` | `POST` | `/auth/mfa/enable` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthMfaSetup(...)` | `POST` | `/auth/mfa/setup` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthMfaSetup(...)` | `POST` | `/auth/mfa/setup` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthMfaVerify(...)` | `POST` | `/auth/mfa/verify` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthMfaVerify(...)` | `POST` | `/auth/mfa/verify` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthOtp(...)` | `POST` | `/auth/otp` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthOtp(...)` | `POST` | `/auth/otp` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthReauthenticate(...)` | `POST` | `/auth/reauthenticate` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthReauthenticate(...)` | `POST` | `/auth/reauthenticate` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthRecover(...)` | `POST` | `/auth/recover` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthRecover(...)` | `POST` | `/auth/recover` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthResend(...)` | `POST` | `/auth/resend` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthResend(...)` | `POST` | `/auth/resend` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthSignup(...)` | `POST` | `/auth/signup` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthSignup(...)` | `POST` | `/auth/signup` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthSso(...)` | `POST` | `/auth/sso` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthSso(...)` | `POST` | `/auth/sso` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthTokenGrantTypeIdToken(...)` | `POST` | `/auth/token?grant_type=id_token` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthTokenGrantTypeIdToken(...)` | `POST` | `/auth/token?grant_type=id_token` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthTokenGrantTypePassword(...)` | `POST` | `/auth/token?grant_type=password` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthTokenGrantTypePassword(...)` | `POST` | `/auth/token?grant_type=password` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthTokenGrantTypePkce(...)` | `POST` | `/auth/token?grant_type=pkce` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthTokenGrantTypePkce(...)` | `POST` | `/auth/token?grant_type=pkce` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthTokenGrantTypeRefreshToken(...)` | `POST` | `/auth/token?grant_type=refresh_token` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthTokenGrantTypeRefreshToken(...)` | `POST` | `/auth/token?grant_type=refresh_token` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthUserIdentities(...)` | `POST` | `/auth/user/identities` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthUserIdentities(...)` | `POST` | `/auth/user/identities` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postAuthVerify(...)` | `POST` | `/auth/verify` | `query, body, Class responseType` | `@Nullable T` | -| `postAuthVerify(...)` | `POST` | `/auth/verify` | `query, body, TypeReference responseType` | `@Nullable T` | -| `putAuthAccountProfile(...)` | `PUT` | `/auth/account/profile` | `query, body, Class responseType` | `@Nullable T` | -| `putAuthAccountProfile(...)` | `PUT` | `/auth/account/profile` | `query, body, TypeReference responseType` | `@Nullable T` | -| `putAuthAccountSecurityApiKeysParam(...)` | `PUT` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `putAuthAccountSecurityApiKeysParam(...)` | `PUT` | `/auth/account/security/api-keys/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `putAuthAdminUsersParam(...)` | `PUT` | `/auth/admin/users/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `putAuthAdminUsersParam(...)` | `PUT` | `/auth/admin/users/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `putAuthUser(...)` | `PUT` | `/auth/user` | `query, body, Class responseType` | `@Nullable T` | -| `putAuthUser(...)` | `PUT` | `/auth/user` | `query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `auth().getUser(...)` | `GET` | `/auth/user` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().getUser(...)` | `GET` | `/auth/user` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().getUser(...)` | `GET` | `/auth/user` | `Class responseType` | `@Nullable T` | +| `auth().getUser(...)` | `GET` | `/auth/user` | `TypeReference responseType` | `@Nullable T` | +| `auth().createAuthorize(...)` | `POST` | `/auth/authorize` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createAuthorize(...)` | `POST` | `/auth/authorize` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createAuthorize(...)` | `POST` | `/auth/authorize` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createAuthorize(...)` | `POST` | `/auth/authorize` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createInvite(...)` | `POST` | `/auth/invite` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createInvite(...)` | `POST` | `/auth/invite` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createInvite(...)` | `POST` | `/auth/invite` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createInvite(...)` | `POST` | `/auth/invite` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().login(...)` | `POST` | `/auth/login` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().login(...)` | `POST` | `/auth/login` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().login(...)` | `POST` | `/auth/login` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().login(...)` | `POST` | `/auth/login` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().logout(...)` | `POST` | `/auth/logout` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().logout(...)` | `POST` | `/auth/logout` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().logout(...)` | `POST` | `/auth/logout` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().logout(...)` | `POST` | `/auth/logout` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createOtp(...)` | `POST` | `/auth/otp` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createOtp(...)` | `POST` | `/auth/otp` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createOtp(...)` | `POST` | `/auth/otp` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createOtp(...)` | `POST` | `/auth/otp` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createReauthenticate(...)` | `POST` | `/auth/reauthenticate` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createReauthenticate(...)` | `POST` | `/auth/reauthenticate` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createReauthenticate(...)` | `POST` | `/auth/reauthenticate` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createReauthenticate(...)` | `POST` | `/auth/reauthenticate` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createRecover(...)` | `POST` | `/auth/recover` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createRecover(...)` | `POST` | `/auth/recover` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createRecover(...)` | `POST` | `/auth/recover` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createRecover(...)` | `POST` | `/auth/recover` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createResend(...)` | `POST` | `/auth/resend` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createResend(...)` | `POST` | `/auth/resend` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createResend(...)` | `POST` | `/auth/resend` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createResend(...)` | `POST` | `/auth/resend` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createSignup(...)` | `POST` | `/auth/signup` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createSignup(...)` | `POST` | `/auth/signup` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createSignup(...)` | `POST` | `/auth/signup` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createSignup(...)` | `POST` | `/auth/signup` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createSso(...)` | `POST` | `/auth/sso` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createSso(...)` | `POST` | `/auth/sso` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createSso(...)` | `POST` | `/auth/sso` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createSso(...)` | `POST` | `/auth/sso` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createTokenGrantTypeIdToken(...)` | `POST` | `/auth/token?grant_type=id_token` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createTokenGrantTypeIdToken(...)` | `POST` | `/auth/token?grant_type=id_token` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createTokenGrantTypeIdToken(...)` | `POST` | `/auth/token?grant_type=id_token` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createTokenGrantTypeIdToken(...)` | `POST` | `/auth/token?grant_type=id_token` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createTokenGrantTypePassword(...)` | `POST` | `/auth/token?grant_type=password` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createTokenGrantTypePassword(...)` | `POST` | `/auth/token?grant_type=password` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createTokenGrantTypePassword(...)` | `POST` | `/auth/token?grant_type=password` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createTokenGrantTypePassword(...)` | `POST` | `/auth/token?grant_type=password` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createTokenGrantTypePkce(...)` | `POST` | `/auth/token?grant_type=pkce` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createTokenGrantTypePkce(...)` | `POST` | `/auth/token?grant_type=pkce` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createTokenGrantTypePkce(...)` | `POST` | `/auth/token?grant_type=pkce` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createTokenGrantTypePkce(...)` | `POST` | `/auth/token?grant_type=pkce` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createTokenGrantTypeRefreshToken(...)` | `POST` | `/auth/token?grant_type=refresh_token` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createTokenGrantTypeRefreshToken(...)` | `POST` | `/auth/token?grant_type=refresh_token` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().createTokenGrantTypeRefreshToken(...)` | `POST` | `/auth/token?grant_type=refresh_token` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().createTokenGrantTypeRefreshToken(...)` | `POST` | `/auth/token?grant_type=refresh_token` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().verify(...)` | `POST` | `/auth/verify` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().verify(...)` | `POST` | `/auth/verify` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().verify(...)` | `POST` | `/auth/verify` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().verify(...)` | `POST` | `/auth/verify` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().updateUser(...)` | `PUT` | `/auth/user` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().updateUser(...)` | `PUT` | `/auth/user` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().updateUser(...)` | `PUT` | `/auth/user` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().updateUser(...)` | `PUT` | `/auth/user` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().deleteProfile(...)` | `DELETE` | `/auth/account/profile` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().deleteProfile(...)` | `DELETE` | `/auth/account/profile` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().deleteProfile(...)` | `DELETE` | `/auth/account/profile` | `Class responseType` | `@Nullable T` | +| `auth().account().deleteProfile(...)` | `DELETE` | `/auth/account/profile` | `TypeReference responseType` | `@Nullable T` | +| `auth().account().getAuditLog(...)` | `GET` | `/auth/account/audit-log` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().getAuditLog(...)` | `GET` | `/auth/account/audit-log` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().getAuditLog(...)` | `GET` | `/auth/account/audit-log` | `Class responseType` | `@Nullable T` | +| `auth().account().getAuditLog(...)` | `GET` | `/auth/account/audit-log` | `TypeReference responseType` | `@Nullable T` | +| `auth().account().getMfa(...)` | `GET` | `/auth/account/mfa` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().getMfa(...)` | `GET` | `/auth/account/mfa` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().getMfa(...)` | `GET` | `/auth/account/mfa` | `Class responseType` | `@Nullable T` | +| `auth().account().getMfa(...)` | `GET` | `/auth/account/mfa` | `TypeReference responseType` | `@Nullable T` | +| `auth().account().getProfile(...)` | `GET` | `/auth/account/profile` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().getProfile(...)` | `GET` | `/auth/account/profile` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().getProfile(...)` | `GET` | `/auth/account/profile` | `Class responseType` | `@Nullable T` | +| `auth().account().getProfile(...)` | `GET` | `/auth/account/profile` | `TypeReference responseType` | `@Nullable T` | +| `auth().account().createMfa(...)` | `POST` | `/auth/account/mfa` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().createMfa(...)` | `POST` | `/auth/account/mfa` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().createMfa(...)` | `POST` | `/auth/account/mfa` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().createMfa(...)` | `POST` | `/auth/account/mfa` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().createPassword(...)` | `POST` | `/auth/account/password` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().createPassword(...)` | `POST` | `/auth/account/password` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().createPassword(...)` | `POST` | `/auth/account/password` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().createPassword(...)` | `POST` | `/auth/account/password` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().updateProfile(...)` | `PUT` | `/auth/account/profile` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().updateProfile(...)` | `PUT` | `/auth/account/profile` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().updateProfile(...)` | `PUT` | `/auth/account/profile` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().updateProfile(...)` | `PUT` | `/auth/account/profile` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().createGenerateLink(...)` | `POST` | `/auth/admin/generate_link` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().admin().createGenerateLink(...)` | `POST` | `/auth/admin/generate_link` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().createGenerateLink(...)` | `POST` | `/auth/admin/generate_link` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().admin().createGenerateLink(...)` | `POST` | `/auth/admin/generate_link` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().logout(...)` | `POST` | `/auth/admin/logout` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().admin().logout(...)` | `POST` | `/auth/admin/logout` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().logout(...)` | `POST` | `/auth/admin/logout` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().admin().logout(...)` | `POST` | `/auth/admin/logout` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().auth().getSession(...)` | `GET` | `/auth/auth/session` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().auth().getSession(...)` | `GET` | `/auth/auth/session` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().auth().getSession(...)` | `GET` | `/auth/auth/session` | `Class responseType` | `@Nullable T` | +| `auth().auth().getSession(...)` | `GET` | `/auth/auth/session` | `TypeReference responseType` | `@Nullable T` | +| `auth().auth().createSession(...)` | `POST` | `/auth/auth/session` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().auth().createSession(...)` | `POST` | `/auth/auth/session` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().auth().createSession(...)` | `POST` | `/auth/auth/session` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().auth().createSession(...)` | `POST` | `/auth/auth/session` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().factors().delete(...)` | `DELETE` | `/auth/factors/{param}` | `String factorId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().factors().delete(...)` | `DELETE` | `/auth/factors/{param}` | `String factorId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().factors().delete(...)` | `DELETE` | `/auth/factors/{param}` | `String factorId, Class responseType` | `@Nullable T` | +| `auth().factors().delete(...)` | `DELETE` | `/auth/factors/{param}` | `String factorId, TypeReference responseType` | `@Nullable T` | +| `auth().factors().list(...)` | `GET` | `/auth/factors` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().factors().list(...)` | `GET` | `/auth/factors` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().factors().list(...)` | `GET` | `/auth/factors` | `Class responseType` | `@Nullable T` | +| `auth().factors().list(...)` | `GET` | `/auth/factors` | `TypeReference responseType` | `@Nullable T` | +| `auth().factors().create(...)` | `POST` | `/auth/factors` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().factors().create(...)` | `POST` | `/auth/factors` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().factors().create(...)` | `POST` | `/auth/factors` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().factors().create(...)` | `POST` | `/auth/factors` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().factors().createChallenge(...)` | `POST` | `/auth/factors/{param}/challenge` | `String factorId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().factors().createChallenge(...)` | `POST` | `/auth/factors/{param}/challenge` | `String factorId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().factors().createChallenge(...)` | `POST` | `/auth/factors/{param}/challenge` | `String factorId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().factors().createChallenge(...)` | `POST` | `/auth/factors/{param}/challenge` | `String factorId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().factors().verify(...)` | `POST` | `/auth/factors/{param}/verify` | `String factorId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().factors().verify(...)` | `POST` | `/auth/factors/{param}/verify` | `String factorId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().factors().verify(...)` | `POST` | `/auth/factors/{param}/verify` | `String factorId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().factors().verify(...)` | `POST` | `/auth/factors/{param}/verify` | `String factorId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().status(...)` | `GET` | `/auth/mfa/status` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().mfa().status(...)` | `GET` | `/auth/mfa/status` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().status(...)` | `GET` | `/auth/mfa/status` | `Class responseType` | `@Nullable T` | +| `auth().mfa().status(...)` | `GET` | `/auth/mfa/status` | `TypeReference responseType` | `@Nullable T` | +| `auth().mfa().disable(...)` | `POST` | `/auth/mfa/disable` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().disable(...)` | `POST` | `/auth/mfa/disable` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().disable(...)` | `POST` | `/auth/mfa/disable` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().disable(...)` | `POST` | `/auth/mfa/disable` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().enable(...)` | `POST` | `/auth/mfa/enable` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().enable(...)` | `POST` | `/auth/mfa/enable` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().enable(...)` | `POST` | `/auth/mfa/enable` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().enable(...)` | `POST` | `/auth/mfa/enable` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().setup(...)` | `POST` | `/auth/mfa/setup` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().setup(...)` | `POST` | `/auth/mfa/setup` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().setup(...)` | `POST` | `/auth/mfa/setup` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().setup(...)` | `POST` | `/auth/mfa/setup` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().verify(...)` | `POST` | `/auth/mfa/verify` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().verify(...)` | `POST` | `/auth/mfa/verify` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().verify(...)` | `POST` | `/auth/mfa/verify` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().verify(...)` | `POST` | `/auth/mfa/verify` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().mfa().delete(...)` | `DELETE` | `/auth/account/mfa/{param}` | `String mfaId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().mfa().delete(...)` | `DELETE` | `/auth/account/mfa/{param}` | `String mfaId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().mfa().delete(...)` | `DELETE` | `/auth/account/mfa/{param}` | `String mfaId, Class responseType` | `@Nullable T` | +| `auth().account().mfa().delete(...)` | `DELETE` | `/auth/account/mfa/{param}` | `String mfaId, TypeReference responseType` | `@Nullable T` | +| `auth().account().mfa().get(...)` | `GET` | `/auth/account/mfa/{param}` | `String mfaId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().mfa().get(...)` | `GET` | `/auth/account/mfa/{param}` | `String mfaId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().mfa().get(...)` | `GET` | `/auth/account/mfa/{param}` | `String mfaId, Class responseType` | `@Nullable T` | +| `auth().account().mfa().get(...)` | `GET` | `/auth/account/mfa/{param}` | `String mfaId, TypeReference responseType` | `@Nullable T` | +| `auth().account().mfa().createChallenge(...)` | `POST` | `/auth/account/mfa/{param}/challenge` | `String mfaId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().mfa().createChallenge(...)` | `POST` | `/auth/account/mfa/{param}/challenge` | `String mfaId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().mfa().createChallenge(...)` | `POST` | `/auth/account/mfa/{param}/challenge` | `String mfaId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().mfa().createChallenge(...)` | `POST` | `/auth/account/mfa/{param}/challenge` | `String mfaId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().mfa().verify(...)` | `POST` | `/auth/account/mfa/{param}/verify` | `String mfaId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().mfa().verify(...)` | `POST` | `/auth/account/mfa/{param}/verify` | `String mfaId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().mfa().verify(...)` | `POST` | `/auth/account/mfa/{param}/verify` | `String mfaId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().mfa().verify(...)` | `POST` | `/auth/account/mfa/{param}/verify` | `String mfaId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().sessions().delete(...)` | `DELETE` | `/auth/account/sessions/{param}` | `String sessionId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().sessions().delete(...)` | `DELETE` | `/auth/account/sessions/{param}` | `String sessionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().sessions().delete(...)` | `DELETE` | `/auth/account/sessions/{param}` | `String sessionId, Class responseType` | `@Nullable T` | +| `auth().account().sessions().delete(...)` | `DELETE` | `/auth/account/sessions/{param}` | `String sessionId, TypeReference responseType` | `@Nullable T` | +| `auth().account().sessions().list(...)` | `GET` | `/auth/account/sessions` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().sessions().list(...)` | `GET` | `/auth/account/sessions` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().sessions().list(...)` | `GET` | `/auth/account/sessions` | `Class responseType` | `@Nullable T` | +| `auth().account().sessions().list(...)` | `GET` | `/auth/account/sessions` | `TypeReference responseType` | `@Nullable T` | +| `auth().account().sessions().extend(...)` | `POST` | `/auth/account/sessions/{param}/extend` | `String sessionId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().sessions().extend(...)` | `POST` | `/auth/account/sessions/{param}/extend` | `String sessionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().sessions().extend(...)` | `POST` | `/auth/account/sessions/{param}/extend` | `String sessionId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().sessions().extend(...)` | `POST` | `/auth/account/sessions/{param}/extend` | `String sessionId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().delete(...)` | `DELETE` | `/auth/admin/users/{param}` | `String userId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().admin().users().delete(...)` | `DELETE` | `/auth/admin/users/{param}` | `String userId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().delete(...)` | `DELETE` | `/auth/admin/users/{param}` | `String userId, Class responseType` | `@Nullable T` | +| `auth().admin().users().delete(...)` | `DELETE` | `/auth/admin/users/{param}` | `String userId, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().list(...)` | `GET` | `/auth/admin/users` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().admin().users().list(...)` | `GET` | `/auth/admin/users` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().list(...)` | `GET` | `/auth/admin/users` | `Class responseType` | `@Nullable T` | +| `auth().admin().users().list(...)` | `GET` | `/auth/admin/users` | `TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().get(...)` | `GET` | `/auth/admin/users/{param}` | `String userId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().admin().users().get(...)` | `GET` | `/auth/admin/users/{param}` | `String userId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().get(...)` | `GET` | `/auth/admin/users/{param}` | `String userId, Class responseType` | `@Nullable T` | +| `auth().admin().users().get(...)` | `GET` | `/auth/admin/users/{param}` | `String userId, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().create(...)` | `POST` | `/auth/admin/users` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().admin().users().create(...)` | `POST` | `/auth/admin/users` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().create(...)` | `POST` | `/auth/admin/users` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().admin().users().create(...)` | `POST` | `/auth/admin/users` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().update(...)` | `PUT` | `/auth/admin/users/{param}` | `String userId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().admin().users().update(...)` | `PUT` | `/auth/admin/users/{param}` | `String userId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().update(...)` | `PUT` | `/auth/admin/users/{param}` | `String userId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().admin().users().update(...)` | `PUT` | `/auth/admin/users/{param}` | `String userId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().backupCodes().createRegenerate(...)` | `POST` | `/auth/mfa/backup-codes/regenerate` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().backupCodes().createRegenerate(...)` | `POST` | `/auth/mfa/backup-codes/regenerate` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().mfa().backupCodes().createRegenerate(...)` | `POST` | `/auth/mfa/backup-codes/regenerate` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().mfa().backupCodes().createRegenerate(...)` | `POST` | `/auth/mfa/backup-codes/regenerate` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().user().identities().delete(...)` | `DELETE` | `/auth/user/identities/{param}` | `String identityId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().user().identities().delete(...)` | `DELETE` | `/auth/user/identities/{param}` | `String identityId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().user().identities().delete(...)` | `DELETE` | `/auth/user/identities/{param}` | `String identityId, Class responseType` | `@Nullable T` | +| `auth().user().identities().delete(...)` | `DELETE` | `/auth/user/identities/{param}` | `String identityId, TypeReference responseType` | `@Nullable T` | +| `auth().user().identities().list(...)` | `GET` | `/auth/user/identities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().user().identities().list(...)` | `GET` | `/auth/user/identities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().user().identities().list(...)` | `GET` | `/auth/user/identities` | `Class responseType` | `@Nullable T` | +| `auth().user().identities().list(...)` | `GET` | `/auth/user/identities` | `TypeReference responseType` | `@Nullable T` | +| `auth().user().identities().create(...)` | `POST` | `/auth/user/identities` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().user().identities().create(...)` | `POST` | `/auth/user/identities` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().user().identities().create(...)` | `POST` | `/auth/user/identities` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().user().identities().create(...)` | `POST` | `/auth/user/identities` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().delete(...)` | `DELETE` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().delete(...)` | `DELETE` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().delete(...)` | `DELETE` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().delete(...)` | `DELETE` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().list(...)` | `GET` | `/auth/account/security/api-keys` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().list(...)` | `GET` | `/auth/account/security/api-keys` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().list(...)` | `GET` | `/auth/account/security/api-keys` | `Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().list(...)` | `GET` | `/auth/account/security/api-keys` | `TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().get(...)` | `GET` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().get(...)` | `GET` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().get(...)` | `GET` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().get(...)` | `GET` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().create(...)` | `POST` | `/auth/account/security/api-keys` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().create(...)` | `POST` | `/auth/account/security/api-keys` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().create(...)` | `POST` | `/auth/account/security/api-keys` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().create(...)` | `POST` | `/auth/account/security/api-keys` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().update(...)` | `PUT` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().update(...)` | `PUT` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().update(...)` | `PUT` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().security().apiKeys().update(...)` | `PUT` | `/auth/account/security/api-keys/{param}` | `String apiKeyId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().delete(...)` | `DELETE` | `/auth/account/security/devices/{param}` | `String deviceId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().delete(...)` | `DELETE` | `/auth/account/security/devices/{param}` | `String deviceId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().delete(...)` | `DELETE` | `/auth/account/security/devices/{param}` | `String deviceId, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().delete(...)` | `DELETE` | `/auth/account/security/devices/{param}` | `String deviceId, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().list(...)` | `GET` | `/auth/account/security/devices` | `QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().list(...)` | `GET` | `/auth/account/security/devices` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().list(...)` | `GET` | `/auth/account/security/devices` | `Class responseType` | `@Nullable T` | +| `auth().account().security().devices().list(...)` | `GET` | `/auth/account/security/devices` | `TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().get(...)` | `GET` | `/auth/account/security/devices/{param}` | `String deviceId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().get(...)` | `GET` | `/auth/account/security/devices/{param}` | `String deviceId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().get(...)` | `GET` | `/auth/account/security/devices/{param}` | `String deviceId, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().get(...)` | `GET` | `/auth/account/security/devices/{param}` | `String deviceId, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().create(...)` | `POST` | `/auth/account/security/devices` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().create(...)` | `POST` | `/auth/account/security/devices` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().create(...)` | `POST` | `/auth/account/security/devices` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().create(...)` | `POST` | `/auth/account/security/devices` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().trust(...)` | `POST` | `/auth/account/security/devices/{param}/trust` | `String deviceId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().trust(...)` | `POST` | `/auth/account/security/devices/{param}/trust` | `String deviceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().account().security().devices().trust(...)` | `POST` | `/auth/account/security/devices/{param}/trust` | `String deviceId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `auth().account().security().devices().trust(...)` | `POST` | `/auth/account/security/devices/{param}/trust` | `String deviceId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().factors().delete(...)` | `DELETE` | `/auth/admin/users/{param}/factors/{param}` | `String userId, String factorId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().admin().users().factors().delete(...)` | `DELETE` | `/auth/admin/users/{param}/factors/{param}` | `String userId, String factorId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().factors().delete(...)` | `DELETE` | `/auth/admin/users/{param}/factors/{param}` | `String userId, String factorId, Class responseType` | `@Nullable T` | +| `auth().admin().users().factors().delete(...)` | `DELETE` | `/auth/admin/users/{param}/factors/{param}` | `String userId, String factorId, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().factors().list(...)` | `GET` | `/auth/admin/users/{param}/factors` | `String userId, QueryParams query, Class responseType` | `@Nullable T` | +| `auth().admin().users().factors().list(...)` | `GET` | `/auth/admin/users/{param}/factors` | `String userId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `auth().admin().users().factors().list(...)` | `GET` | `/auth/admin/users/{param}/factors` | `String userId, Class responseType` | `@Nullable T` | +| `auth().admin().users().factors().list(...)` | `GET` | `/auth/admin/users/{param}/factors` | `String userId, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/billing.md b/docs/api/billing.md index 10ad210..c9b8b06 100644 --- a/docs/api/billing.md +++ b/docs/api/billing.md @@ -2,56 +2,101 @@ Service accessor: `frontal.billing()` (`BillingClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getBillingAddonsParamEntitlements(...)` | `GET` | `/billing/addons/{param}/entitlements` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingAddonsParamEntitlements(...)` | `GET` | `/billing/addons/{param}/entitlements` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingCustomersPortalParam(...)` | `GET` | `/billing/customers/portal/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingCustomersPortalParam(...)` | `GET` | `/billing/customers/portal/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingCustomersParamEntitlements(...)` | `GET` | `/billing/customers/{param}/entitlements` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingCustomersParamEntitlements(...)` | `GET` | `/billing/customers/{param}/entitlements` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingCustomersParamInvoicesSummary(...)` | `GET` | `/billing/customers/{param}/invoices/summary` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingCustomersParamInvoicesSummary(...)` | `GET` | `/billing/customers/{param}/invoices/summary` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingCustomersParamUsage(...)` | `GET` | `/billing/customers/{param}/usage` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingCustomersParamUsage(...)` | `GET` | `/billing/customers/{param}/usage` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingCustomersParamWallets(...)` | `GET` | `/billing/customers/{param}/wallets` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingCustomersParamWallets(...)` | `GET` | `/billing/customers/{param}/wallets` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingPlansParamEntitlements(...)` | `GET` | `/billing/plans/{param}/entitlements` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingPlansParamEntitlements(...)` | `GET` | `/billing/plans/{param}/entitlements` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingPricesLookupParam(...)` | `GET` | `/billing/prices/lookup/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingPricesLookupParam(...)` | `GET` | `/billing/prices/lookup/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingSubscriptionsParamEntitlements(...)` | `GET` | `/billing/subscriptions/{param}/entitlements` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingSubscriptionsParamEntitlements(...)` | `GET` | `/billing/subscriptions/{param}/entitlements` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingWalletsParamBalanceRealTime(...)` | `GET` | `/billing/wallets/{param}/balance/real-time` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingWalletsParamBalanceRealTime(...)` | `GET` | `/billing/wallets/{param}/balance/real-time` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getBillingWalletsParamTransactions(...)` | `GET` | `/billing/wallets/{param}/transactions` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getBillingWalletsParamTransactions(...)` | `GET` | `/billing/wallets/{param}/transactions` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getrawBillingInvoicesParamPdf(...)` | `GETRAW` | `/billing/invoices/{param}/pdf` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getrawBillingInvoicesParamPdf(...)` | `GETRAW` | `/billing/invoices/{param}/pdf` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `postBillingInvoicesPreview(...)` | `POST` | `/billing/invoices/preview` | `query, body, Class responseType` | `@Nullable T` | -| `postBillingInvoicesPreview(...)` | `POST` | `/billing/invoices/preview` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingInvoicesParamFinalize(...)` | `POST` | `/billing/invoices/{param}/finalize` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingInvoicesParamFinalize(...)` | `POST` | `/billing/invoices/{param}/finalize` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingInvoicesParamVoid(...)` | `POST` | `/billing/invoices/{param}/void` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingInvoicesParamVoid(...)` | `POST` | `/billing/invoices/{param}/void` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingMetersParamDisable(...)` | `POST` | `/billing/meters/{param}/disable` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingMetersParamDisable(...)` | `POST` | `/billing/meters/{param}/disable` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingPlansParamClone(...)` | `POST` | `/billing/plans/{param}/clone` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingPlansParamClone(...)` | `POST` | `/billing/plans/{param}/clone` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingSubscriptionsParamActivate(...)` | `POST` | `/billing/subscriptions/{param}/activate` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingSubscriptionsParamActivate(...)` | `POST` | `/billing/subscriptions/{param}/activate` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingSubscriptionsParamCancel(...)` | `POST` | `/billing/subscriptions/{param}/cancel` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingSubscriptionsParamCancel(...)` | `POST` | `/billing/subscriptions/{param}/cancel` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingSubscriptionsParamPause(...)` | `POST` | `/billing/subscriptions/{param}/pause` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingSubscriptionsParamPause(...)` | `POST` | `/billing/subscriptions/{param}/pause` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingSubscriptionsParamResume(...)` | `POST` | `/billing/subscriptions/{param}/resume` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingSubscriptionsParamResume(...)` | `POST` | `/billing/subscriptions/{param}/resume` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingWalletsParamTerminate(...)` | `POST` | `/billing/wallets/{param}/terminate` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingWalletsParamTerminate(...)` | `POST` | `/billing/wallets/{param}/terminate` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBillingWalletsParamTopUp(...)` | `POST` | `/billing/wallets/{param}/top-up` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBillingWalletsParamTopUp(...)` | `POST` | `/billing/wallets/{param}/top-up` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `billing().customers().usage(...)` | `GET` | `/billing/customers/{param}/usage` | `String customerId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().customers().usage(...)` | `GET` | `/billing/customers/{param}/usage` | `String customerId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().customers().usage(...)` | `GET` | `/billing/customers/{param}/usage` | `String customerId, Class responseType` | `@Nullable T` | +| `billing().customers().usage(...)` | `GET` | `/billing/customers/{param}/usage` | `String customerId, TypeReference responseType` | `@Nullable T` | +| `billing().invoices().getPdf(...)` | `GETRAW` | `/billing/invoices/{param}/pdf` | `String invoiceId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().invoices().getPdf(...)` | `GETRAW` | `/billing/invoices/{param}/pdf` | `String invoiceId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().invoices().getPdf(...)` | `GETRAW` | `/billing/invoices/{param}/pdf` | `String invoiceId, Class responseType` | `@Nullable T` | +| `billing().invoices().getPdf(...)` | `GETRAW` | `/billing/invoices/{param}/pdf` | `String invoiceId, TypeReference responseType` | `@Nullable T` | +| `billing().invoices().preview(...)` | `POST` | `/billing/invoices/preview` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().invoices().preview(...)` | `POST` | `/billing/invoices/preview` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().invoices().preview(...)` | `POST` | `/billing/invoices/preview` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().invoices().preview(...)` | `POST` | `/billing/invoices/preview` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().invoices().finalize(...)` | `POST` | `/billing/invoices/{param}/finalize` | `String invoiceId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().invoices().finalize(...)` | `POST` | `/billing/invoices/{param}/finalize` | `String invoiceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().invoices().finalize(...)` | `POST` | `/billing/invoices/{param}/finalize` | `String invoiceId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().invoices().finalize(...)` | `POST` | `/billing/invoices/{param}/finalize` | `String invoiceId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().invoices().resourceVoid(...)` | `POST` | `/billing/invoices/{param}/void` | `String invoiceId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().invoices().resourceVoid(...)` | `POST` | `/billing/invoices/{param}/void` | `String invoiceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().invoices().resourceVoid(...)` | `POST` | `/billing/invoices/{param}/void` | `String invoiceId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().invoices().resourceVoid(...)` | `POST` | `/billing/invoices/{param}/void` | `String invoiceId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().meters().disable(...)` | `POST` | `/billing/meters/{param}/disable` | `String meterId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().meters().disable(...)` | `POST` | `/billing/meters/{param}/disable` | `String meterId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().meters().disable(...)` | `POST` | `/billing/meters/{param}/disable` | `String meterId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().meters().disable(...)` | `POST` | `/billing/meters/{param}/disable` | `String meterId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().plans().clone(...)` | `POST` | `/billing/plans/{param}/clone` | `String planId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().plans().clone(...)` | `POST` | `/billing/plans/{param}/clone` | `String planId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().plans().clone(...)` | `POST` | `/billing/plans/{param}/clone` | `String planId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().plans().clone(...)` | `POST` | `/billing/plans/{param}/clone` | `String planId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().activate(...)` | `POST` | `/billing/subscriptions/{param}/activate` | `String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().subscriptions().activate(...)` | `POST` | `/billing/subscriptions/{param}/activate` | `String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().activate(...)` | `POST` | `/billing/subscriptions/{param}/activate` | `String subscriptionId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().subscriptions().activate(...)` | `POST` | `/billing/subscriptions/{param}/activate` | `String subscriptionId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().cancel(...)` | `POST` | `/billing/subscriptions/{param}/cancel` | `String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().subscriptions().cancel(...)` | `POST` | `/billing/subscriptions/{param}/cancel` | `String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().cancel(...)` | `POST` | `/billing/subscriptions/{param}/cancel` | `String subscriptionId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().subscriptions().cancel(...)` | `POST` | `/billing/subscriptions/{param}/cancel` | `String subscriptionId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().pause(...)` | `POST` | `/billing/subscriptions/{param}/pause` | `String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().subscriptions().pause(...)` | `POST` | `/billing/subscriptions/{param}/pause` | `String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().pause(...)` | `POST` | `/billing/subscriptions/{param}/pause` | `String subscriptionId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().subscriptions().pause(...)` | `POST` | `/billing/subscriptions/{param}/pause` | `String subscriptionId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().resume(...)` | `POST` | `/billing/subscriptions/{param}/resume` | `String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().subscriptions().resume(...)` | `POST` | `/billing/subscriptions/{param}/resume` | `String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().resume(...)` | `POST` | `/billing/subscriptions/{param}/resume` | `String subscriptionId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().subscriptions().resume(...)` | `POST` | `/billing/subscriptions/{param}/resume` | `String subscriptionId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().wallets().createTerminate(...)` | `POST` | `/billing/wallets/{param}/terminate` | `String walletId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().wallets().createTerminate(...)` | `POST` | `/billing/wallets/{param}/terminate` | `String walletId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().wallets().createTerminate(...)` | `POST` | `/billing/wallets/{param}/terminate` | `String walletId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().wallets().createTerminate(...)` | `POST` | `/billing/wallets/{param}/terminate` | `String walletId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().wallets().topUp(...)` | `POST` | `/billing/wallets/{param}/top-up` | `String walletId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().wallets().topUp(...)` | `POST` | `/billing/wallets/{param}/top-up` | `String walletId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().wallets().topUp(...)` | `POST` | `/billing/wallets/{param}/top-up` | `String walletId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `billing().wallets().topUp(...)` | `POST` | `/billing/wallets/{param}/top-up` | `String walletId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `billing().addons().entitlements().list(...)` | `GET` | `/billing/addons/{param}/entitlements` | `String addonId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().addons().entitlements().list(...)` | `GET` | `/billing/addons/{param}/entitlements` | `String addonId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().addons().entitlements().list(...)` | `GET` | `/billing/addons/{param}/entitlements` | `String addonId, Class responseType` | `@Nullable T` | +| `billing().addons().entitlements().list(...)` | `GET` | `/billing/addons/{param}/entitlements` | `String addonId, TypeReference responseType` | `@Nullable T` | +| `billing().customers().entitlements().list(...)` | `GET` | `/billing/customers/{param}/entitlements` | `String customerId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().customers().entitlements().list(...)` | `GET` | `/billing/customers/{param}/entitlements` | `String customerId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().customers().entitlements().list(...)` | `GET` | `/billing/customers/{param}/entitlements` | `String customerId, Class responseType` | `@Nullable T` | +| `billing().customers().entitlements().list(...)` | `GET` | `/billing/customers/{param}/entitlements` | `String customerId, TypeReference responseType` | `@Nullable T` | +| `billing().customers().invoices().summary(...)` | `GET` | `/billing/customers/{param}/invoices/summary` | `String customerId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().customers().invoices().summary(...)` | `GET` | `/billing/customers/{param}/invoices/summary` | `String customerId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().customers().invoices().summary(...)` | `GET` | `/billing/customers/{param}/invoices/summary` | `String customerId, Class responseType` | `@Nullable T` | +| `billing().customers().invoices().summary(...)` | `GET` | `/billing/customers/{param}/invoices/summary` | `String customerId, TypeReference responseType` | `@Nullable T` | +| `billing().customers().portal().get(...)` | `GET` | `/billing/customers/portal/{param}` | `String portalId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().customers().portal().get(...)` | `GET` | `/billing/customers/portal/{param}` | `String portalId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().customers().portal().get(...)` | `GET` | `/billing/customers/portal/{param}` | `String portalId, Class responseType` | `@Nullable T` | +| `billing().customers().portal().get(...)` | `GET` | `/billing/customers/portal/{param}` | `String portalId, TypeReference responseType` | `@Nullable T` | +| `billing().customers().wallets().list(...)` | `GET` | `/billing/customers/{param}/wallets` | `String customerId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().customers().wallets().list(...)` | `GET` | `/billing/customers/{param}/wallets` | `String customerId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().customers().wallets().list(...)` | `GET` | `/billing/customers/{param}/wallets` | `String customerId, Class responseType` | `@Nullable T` | +| `billing().customers().wallets().list(...)` | `GET` | `/billing/customers/{param}/wallets` | `String customerId, TypeReference responseType` | `@Nullable T` | +| `billing().plans().entitlements().list(...)` | `GET` | `/billing/plans/{param}/entitlements` | `String planId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().plans().entitlements().list(...)` | `GET` | `/billing/plans/{param}/entitlements` | `String planId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().plans().entitlements().list(...)` | `GET` | `/billing/plans/{param}/entitlements` | `String planId, Class responseType` | `@Nullable T` | +| `billing().plans().entitlements().list(...)` | `GET` | `/billing/plans/{param}/entitlements` | `String planId, TypeReference responseType` | `@Nullable T` | +| `billing().prices().lookup().get(...)` | `GET` | `/billing/prices/lookup/{param}` | `String lookupId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().prices().lookup().get(...)` | `GET` | `/billing/prices/lookup/{param}` | `String lookupId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().prices().lookup().get(...)` | `GET` | `/billing/prices/lookup/{param}` | `String lookupId, Class responseType` | `@Nullable T` | +| `billing().prices().lookup().get(...)` | `GET` | `/billing/prices/lookup/{param}` | `String lookupId, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().entitlements().list(...)` | `GET` | `/billing/subscriptions/{param}/entitlements` | `String subscriptionId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().subscriptions().entitlements().list(...)` | `GET` | `/billing/subscriptions/{param}/entitlements` | `String subscriptionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().subscriptions().entitlements().list(...)` | `GET` | `/billing/subscriptions/{param}/entitlements` | `String subscriptionId, Class responseType` | `@Nullable T` | +| `billing().subscriptions().entitlements().list(...)` | `GET` | `/billing/subscriptions/{param}/entitlements` | `String subscriptionId, TypeReference responseType` | `@Nullable T` | +| `billing().wallets().balance().getRealTime(...)` | `GET` | `/billing/wallets/{param}/balance/real-time` | `String walletId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().wallets().balance().getRealTime(...)` | `GET` | `/billing/wallets/{param}/balance/real-time` | `String walletId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().wallets().balance().getRealTime(...)` | `GET` | `/billing/wallets/{param}/balance/real-time` | `String walletId, Class responseType` | `@Nullable T` | +| `billing().wallets().balance().getRealTime(...)` | `GET` | `/billing/wallets/{param}/balance/real-time` | `String walletId, TypeReference responseType` | `@Nullable T` | +| `billing().wallets().transactions().list(...)` | `GET` | `/billing/wallets/{param}/transactions` | `String walletId, QueryParams query, Class responseType` | `@Nullable T` | +| `billing().wallets().transactions().list(...)` | `GET` | `/billing/wallets/{param}/transactions` | `String walletId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `billing().wallets().transactions().list(...)` | `GET` | `/billing/wallets/{param}/transactions` | `String walletId, Class responseType` | `@Nullable T` | +| `billing().wallets().transactions().list(...)` | `GET` | `/billing/wallets/{param}/transactions` | `String walletId, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/blob.md b/docs/api/blob.md index 6cdb8a3..17251f0 100644 --- a/docs/api/blob.md +++ b/docs/api/blob.md @@ -2,26 +2,41 @@ Service accessor: `frontal.blob()` (`BlobClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteBlobObjectParamParam(...)` | `DELETE` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, Class responseType` | `@Nullable T` | -| `deleteBlobObjectParamParam(...)` | `DELETE` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, TypeReference responseType` | `@Nullable T` | -| `getBlobObjectInfoParamParam(...)` | `GET` | `/blob/object/info/{param}/{param}` | `pathParam1, pathParam2, query, Class responseType` | `@Nullable T` | -| `getBlobObjectInfoParamParam(...)` | `GET` | `/blob/object/info/{param}/{param}` | `pathParam1, pathParam2, query, TypeReference responseType` | `@Nullable T` | -| `getBlobObjectParamParam(...)` | `GET` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, Class responseType` | `@Nullable T` | -| `getBlobObjectParamParam(...)` | `GET` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, TypeReference responseType` | `@Nullable T` | -| `postBlobObjectCopy(...)` | `POST` | `/blob/object/copy` | `query, body, Class responseType` | `@Nullable T` | -| `postBlobObjectCopy(...)` | `POST` | `/blob/object/copy` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postBlobObjectListParam(...)` | `POST` | `/blob/object/list/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postBlobObjectListParam(...)` | `POST` | `/blob/object/list/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postBlobObjectMove(...)` | `POST` | `/blob/object/move` | `query, body, Class responseType` | `@Nullable T` | -| `postBlobObjectMove(...)` | `POST` | `/blob/object/move` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postBlobObjectSignParamParam(...)` | `POST` | `/blob/object/sign/{param}/{param}` | `pathParam1, pathParam2, query, body, Class responseType` | `@Nullable T` | -| `postBlobObjectSignParamParam(...)` | `POST` | `/blob/object/sign/{param}/{param}` | `pathParam1, pathParam2, query, body, TypeReference responseType` | `@Nullable T` | -| `postformdataBlobObjectParamParam(...)` | `POSTFORMDATA` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, fields, files, Class responseType` | `@Nullable T` | -| `postformdataBlobObjectParamParam(...)` | `POSTFORMDATA` | `/blob/object/{param}/{param}` | `pathParam1, pathParam2, query, fields, files, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `blob().object().delete(...)` | `DELETE` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, QueryParams query, Class responseType` | `@Nullable T` | +| `blob().object().delete(...)` | `DELETE` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `blob().object().delete(...)` | `DELETE` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, Class responseType` | `@Nullable T` | +| `blob().object().delete(...)` | `DELETE` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, TypeReference responseType` | `@Nullable T` | +| `blob().object().get(...)` | `GET` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, QueryParams query, Class responseType` | `@Nullable T` | +| `blob().object().get(...)` | `GET` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `blob().object().get(...)` | `GET` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, Class responseType` | `@Nullable T` | +| `blob().object().get(...)` | `GET` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, TypeReference responseType` | `@Nullable T` | +| `blob().object().copy(...)` | `POST` | `/blob/object/copy` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `blob().object().copy(...)` | `POST` | `/blob/object/copy` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `blob().object().copy(...)` | `POST` | `/blob/object/copy` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `blob().object().copy(...)` | `POST` | `/blob/object/copy` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `blob().object().move(...)` | `POST` | `/blob/object/move` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `blob().object().move(...)` | `POST` | `/blob/object/move` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `blob().object().move(...)` | `POST` | `/blob/object/move` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `blob().object().move(...)` | `POST` | `/blob/object/move` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `blob().object().get2(...)` | `POSTFORMDATA` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, QueryParams query, Map fields, Map files, Class responseType` | `@Nullable T` | +| `blob().object().get2(...)` | `POSTFORMDATA` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, QueryParams query, Map fields, Map files, TypeReference responseType` | `@Nullable T` | +| `blob().object().get2(...)` | `POSTFORMDATA` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, Map fields, Map files, Class responseType` | `@Nullable T` | +| `blob().object().get2(...)` | `POSTFORMDATA` | `/blob/object/{param}/{param}` | `String objectId, String objectId2, Map fields, Map files, TypeReference responseType` | `@Nullable T` | +| `blob().object().info().get(...)` | `GET` | `/blob/object/info/{param}/{param}` | `String infoId, String infoId2, QueryParams query, Class responseType` | `@Nullable T` | +| `blob().object().info().get(...)` | `GET` | `/blob/object/info/{param}/{param}` | `String infoId, String infoId2, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `blob().object().info().get(...)` | `GET` | `/blob/object/info/{param}/{param}` | `String infoId, String infoId2, Class responseType` | `@Nullable T` | +| `blob().object().info().get(...)` | `GET` | `/blob/object/info/{param}/{param}` | `String infoId, String infoId2, TypeReference responseType` | `@Nullable T` | +| `blob().object().list().get(...)` | `POST` | `/blob/object/list/{param}` | `String listId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `blob().object().list().get(...)` | `POST` | `/blob/object/list/{param}` | `String listId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `blob().object().list().get(...)` | `POST` | `/blob/object/list/{param}` | `String listId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `blob().object().list().get(...)` | `POST` | `/blob/object/list/{param}` | `String listId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `blob().object().sign().get(...)` | `POST` | `/blob/object/sign/{param}/{param}` | `String signId, String signId2, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `blob().object().sign().get(...)` | `POST` | `/blob/object/sign/{param}/{param}` | `String signId, String signId2, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `blob().object().sign().get(...)` | `POST` | `/blob/object/sign/{param}/{param}` | `String signId, String signId2, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `blob().object().sign().get(...)` | `POST` | `/blob/object/sign/{param}/{param}` | `String signId, String signId2, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/connection-tests.md b/docs/api/connection-tests.md index 2eabe7b..f5fd7a1 100644 --- a/docs/api/connection-tests.md +++ b/docs/api/connection-tests.md @@ -2,12 +2,13 @@ Service accessor: `frontal.connectionTests()` (`ConnectionTestsClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getConnectionTestsConnectionTestId(...)` | `GET` | `/connection-tests/{param}` | `connectionTestId, query, Class responseType` | `@Nullable T` | -| `getConnectionTestsConnectionTestId(...)` | `GET` | `/connection-tests/{param}` | `connectionTestId, query, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `connectionTests().get(...)` | `GET` | `/connection-tests/{param}` | `String connectionTestId, QueryParams query, Class responseType` | `@Nullable T` | +| `connectionTests().get(...)` | `GET` | `/connection-tests/{param}` | `String connectionTestId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `connectionTests().get(...)` | `GET` | `/connection-tests/{param}` | `String connectionTestId, Class responseType` | `@Nullable T` | +| `connectionTests().get(...)` | `GET` | `/connection-tests/{param}` | `String connectionTestId, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/connectors.md b/docs/api/connectors.md index d034913..d640857 100644 --- a/docs/api/connectors.md +++ b/docs/api/connectors.md @@ -2,34 +2,57 @@ Service accessor: `frontal.connectors()` (`ConnectorsClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteConnectorsInstallationsParam(...)` | `DELETE` | `/connectors/installations/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteConnectorsInstallationsParam(...)` | `DELETE` | `/connectors/installations/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getConnectorsCatalog(...)` | `GET` | `/connectors/catalog` | `query, Class responseType` | `@Nullable T` | -| `getConnectorsCatalog(...)` | `GET` | `/connectors/catalog` | `query, TypeReference responseType` | `@Nullable T` | -| `getConnectorsCatalogParam(...)` | `GET` | `/connectors/catalog/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getConnectorsCatalogParam(...)` | `GET` | `/connectors/catalog/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getConnectorsConnectionTestsParam(...)` | `GET` | `/connectors/connection-tests/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getConnectorsConnectionTestsParam(...)` | `GET` | `/connectors/connection-tests/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getConnectorsInstallations(...)` | `GET` | `/connectors/installations` | `query, Class responseType` | `@Nullable T` | -| `getConnectorsInstallations(...)` | `GET` | `/connectors/installations` | `query, TypeReference responseType` | `@Nullable T` | -| `getConnectorsInstallationsParam(...)` | `GET` | `/connectors/installations/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getConnectorsInstallationsParam(...)` | `GET` | `/connectors/installations/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getDiagnostics(...)` | `GET` | `/diagnostics` | `query, Class responseType` | `@Nullable T` | -| `getDiagnostics(...)` | `GET` | `/diagnostics` | `query, TypeReference responseType` | `@Nullable T` | -| `patchConnectorsInstallationsParam(...)` | `PATCH` | `/connectors/installations/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `patchConnectorsInstallationsParam(...)` | `PATCH` | `/connectors/installations/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postConnectorsInstallations(...)` | `POST` | `/connectors/installations` | `query, body, Class responseType` | `@Nullable T` | -| `postConnectorsInstallations(...)` | `POST` | `/connectors/installations` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postConnectorsInstallationsParamPause(...)` | `POST` | `/connectors/installations/{param}/pause` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postConnectorsInstallationsParamPause(...)` | `POST` | `/connectors/installations/{param}/pause` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postConnectorsInstallationsParamResume(...)` | `POST` | `/connectors/installations/{param}/resume` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postConnectorsInstallationsParamResume(...)` | `POST` | `/connectors/installations/{param}/resume` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postConnectorsSyncRunsParamReplay(...)` | `POST` | `/connectors/sync-runs/{param}/replay` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postConnectorsSyncRunsParamReplay(...)` | `POST` | `/connectors/sync-runs/{param}/replay` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `connectors().getCatalog(...)` | `GET` | `/connectors/catalog` | `QueryParams query, Class responseType` | `@Nullable T` | +| `connectors().getCatalog(...)` | `GET` | `/connectors/catalog` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `connectors().getCatalog(...)` | `GET` | `/connectors/catalog` | `Class responseType` | `@Nullable T` | +| `connectors().getCatalog(...)` | `GET` | `/connectors/catalog` | `TypeReference responseType` | `@Nullable T` | +| `connectors().catalog().get(...)` | `GET` | `/connectors/catalog/{param}` | `String catalogId, QueryParams query, Class responseType` | `@Nullable T` | +| `connectors().catalog().get(...)` | `GET` | `/connectors/catalog/{param}` | `String catalogId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `connectors().catalog().get(...)` | `GET` | `/connectors/catalog/{param}` | `String catalogId, Class responseType` | `@Nullable T` | +| `connectors().catalog().get(...)` | `GET` | `/connectors/catalog/{param}` | `String catalogId, TypeReference responseType` | `@Nullable T` | +| `connectors().connectionTests().get(...)` | `GET` | `/connectors/connection-tests/{param}` | `String connectionTestId, QueryParams query, Class responseType` | `@Nullable T` | +| `connectors().connectionTests().get(...)` | `GET` | `/connectors/connection-tests/{param}` | `String connectionTestId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `connectors().connectionTests().get(...)` | `GET` | `/connectors/connection-tests/{param}` | `String connectionTestId, Class responseType` | `@Nullable T` | +| `connectors().connectionTests().get(...)` | `GET` | `/connectors/connection-tests/{param}` | `String connectionTestId, TypeReference responseType` | `@Nullable T` | +| `connectors().diagnostics().list(...)` | `GET` | `/diagnostics` | `QueryParams query, Class responseType` | `@Nullable T` | +| `connectors().diagnostics().list(...)` | `GET` | `/diagnostics` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `connectors().diagnostics().list(...)` | `GET` | `/diagnostics` | `Class responseType` | `@Nullable T` | +| `connectors().diagnostics().list(...)` | `GET` | `/diagnostics` | `TypeReference responseType` | `@Nullable T` | +| `connectors().installations().delete(...)` | `DELETE` | `/connectors/installations/{param}` | `String installationId, QueryParams query, Class responseType` | `@Nullable T` | +| `connectors().installations().delete(...)` | `DELETE` | `/connectors/installations/{param}` | `String installationId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().delete(...)` | `DELETE` | `/connectors/installations/{param}` | `String installationId, Class responseType` | `@Nullable T` | +| `connectors().installations().delete(...)` | `DELETE` | `/connectors/installations/{param}` | `String installationId, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().list(...)` | `GET` | `/connectors/installations` | `QueryParams query, Class responseType` | `@Nullable T` | +| `connectors().installations().list(...)` | `GET` | `/connectors/installations` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().list(...)` | `GET` | `/connectors/installations` | `Class responseType` | `@Nullable T` | +| `connectors().installations().list(...)` | `GET` | `/connectors/installations` | `TypeReference responseType` | `@Nullable T` | +| `connectors().installations().get(...)` | `GET` | `/connectors/installations/{param}` | `String installationId, QueryParams query, Class responseType` | `@Nullable T` | +| `connectors().installations().get(...)` | `GET` | `/connectors/installations/{param}` | `String installationId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().get(...)` | `GET` | `/connectors/installations/{param}` | `String installationId, Class responseType` | `@Nullable T` | +| `connectors().installations().get(...)` | `GET` | `/connectors/installations/{param}` | `String installationId, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().update(...)` | `PATCH` | `/connectors/installations/{param}` | `String installationId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().installations().update(...)` | `PATCH` | `/connectors/installations/{param}` | `String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().update(...)` | `PATCH` | `/connectors/installations/{param}` | `String installationId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().installations().update(...)` | `PATCH` | `/connectors/installations/{param}` | `String installationId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().create(...)` | `POST` | `/connectors/installations` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().installations().create(...)` | `POST` | `/connectors/installations` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().create(...)` | `POST` | `/connectors/installations` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().installations().create(...)` | `POST` | `/connectors/installations` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().pause(...)` | `POST` | `/connectors/installations/{param}/pause` | `String installationId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().installations().pause(...)` | `POST` | `/connectors/installations/{param}/pause` | `String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().pause(...)` | `POST` | `/connectors/installations/{param}/pause` | `String installationId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().installations().pause(...)` | `POST` | `/connectors/installations/{param}/pause` | `String installationId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().resume(...)` | `POST` | `/connectors/installations/{param}/resume` | `String installationId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().installations().resume(...)` | `POST` | `/connectors/installations/{param}/resume` | `String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().installations().resume(...)` | `POST` | `/connectors/installations/{param}/resume` | `String installationId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().installations().resume(...)` | `POST` | `/connectors/installations/{param}/resume` | `String installationId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().syncRuns().replay(...)` | `POST` | `/connectors/sync-runs/{param}/replay` | `String syncRunId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().syncRuns().replay(...)` | `POST` | `/connectors/sync-runs/{param}/replay` | `String syncRunId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `connectors().syncRuns().replay(...)` | `POST` | `/connectors/sync-runs/{param}/replay` | `String syncRunId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `connectors().syncRuns().replay(...)` | `POST` | `/connectors/sync-runs/{param}/replay` | `String syncRunId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/data.md b/docs/api/data.md index e19e5d1..c3a2e49 100644 --- a/docs/api/data.md +++ b/docs/api/data.md @@ -2,312 +2,613 @@ Service accessor: `frontal.data()` (`DataClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getDataAggregationsAggregations(...)` | `GET` | `/data/aggregations/aggregations` | `query, Class responseType` | `@Nullable T` | -| `getDataAggregationsAggregations(...)` | `GET` | `/data/aggregations/aggregations` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataAggregationsAggregationsAggregationId(...)` | `GET` | `/data/aggregations/aggregations/{param}` | `aggregationId, query, Class responseType` | `@Nullable T` | -| `getDataAggregationsAggregationsAggregationId(...)` | `GET` | `/data/aggregations/aggregations/{param}` | `aggregationId, query, TypeReference responseType` | `@Nullable T` | -| `getDataAggregationsCapabilities(...)` | `GET` | `/data/aggregations/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataAggregationsCapabilities(...)` | `GET` | `/data/aggregations/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataAggregationsHealth(...)` | `GET` | `/data/aggregations/health` | `query, Class responseType` | `@Nullable T` | -| `getDataAggregationsHealth(...)` | `GET` | `/data/aggregations/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataAggregationsInfo(...)` | `GET` | `/data/aggregations/info` | `query, Class responseType` | `@Nullable T` | -| `getDataAggregationsInfo(...)` | `GET` | `/data/aggregations/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataAggregationsRuns(...)` | `GET` | `/data/aggregations/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataAggregationsRuns(...)` | `GET` | `/data/aggregations/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataAggregationsRunsRunId(...)` | `GET` | `/data/aggregations/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataAggregationsRunsRunId(...)` | `GET` | `/data/aggregations/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataArchivalArchivalPolicies(...)` | `GET` | `/data/archival/archival/policies` | `query, Class responseType` | `@Nullable T` | -| `getDataArchivalArchivalPolicies(...)` | `GET` | `/data/archival/archival/policies` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataArchivalArchivalPoliciesPolicyId(...)` | `GET` | `/data/archival/archival/policies/{param}` | `policyId, query, Class responseType` | `@Nullable T` | -| `getDataArchivalArchivalPoliciesPolicyId(...)` | `GET` | `/data/archival/archival/policies/{param}` | `policyId, query, TypeReference responseType` | `@Nullable T` | -| `getDataArchivalCapabilities(...)` | `GET` | `/data/archival/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataArchivalCapabilities(...)` | `GET` | `/data/archival/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataArchivalHealth(...)` | `GET` | `/data/archival/health` | `query, Class responseType` | `@Nullable T` | -| `getDataArchivalHealth(...)` | `GET` | `/data/archival/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataArchivalInfo(...)` | `GET` | `/data/archival/info` | `query, Class responseType` | `@Nullable T` | -| `getDataArchivalInfo(...)` | `GET` | `/data/archival/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataArchivalRuns(...)` | `GET` | `/data/archival/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataArchivalRuns(...)` | `GET` | `/data/archival/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataArchivalRunsRunId(...)` | `GET` | `/data/archival/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataArchivalRunsRunId(...)` | `GET` | `/data/archival/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogCapabilities(...)` | `GET` | `/data/catalog/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataCatalogCapabilities(...)` | `GET` | `/data/catalog/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogCatalogDatasets(...)` | `GET` | `/data/catalog/catalog/datasets` | `query, Class responseType` | `@Nullable T` | -| `getDataCatalogCatalogDatasets(...)` | `GET` | `/data/catalog/catalog/datasets` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogCatalogDatasetsDatasetId(...)` | `GET` | `/data/catalog/catalog/datasets/{param}` | `datasetId, query, Class responseType` | `@Nullable T` | -| `getDataCatalogCatalogDatasetsDatasetId(...)` | `GET` | `/data/catalog/catalog/datasets/{param}` | `datasetId, query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent(...)` | `GET` | `/data/catalog/catalog/datasets/{param}/artifacts/{param}/content` | `datasetId, manifestId, query, Class responseType` | `@Nullable T` | -| `getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent(...)` | `GET` | `/data/catalog/catalog/datasets/{param}/artifacts/{param}/content` | `datasetId, manifestId, query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogCatalogSources(...)` | `GET` | `/data/catalog/catalog/sources` | `query, Class responseType` | `@Nullable T` | -| `getDataCatalogCatalogSources(...)` | `GET` | `/data/catalog/catalog/sources` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogCatalogSourcesSourceId(...)` | `GET` | `/data/catalog/catalog/sources/{param}` | `sourceId, query, Class responseType` | `@Nullable T` | -| `getDataCatalogCatalogSourcesSourceId(...)` | `GET` | `/data/catalog/catalog/sources/{param}` | `sourceId, query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogHealth(...)` | `GET` | `/data/catalog/health` | `query, Class responseType` | `@Nullable T` | -| `getDataCatalogHealth(...)` | `GET` | `/data/catalog/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogInfo(...)` | `GET` | `/data/catalog/info` | `query, Class responseType` | `@Nullable T` | -| `getDataCatalogInfo(...)` | `GET` | `/data/catalog/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogRuns(...)` | `GET` | `/data/catalog/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataCatalogRuns(...)` | `GET` | `/data/catalog/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataCatalogRunsRunId(...)` | `GET` | `/data/catalog/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataCatalogRunsRunId(...)` | `GET` | `/data/catalog/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataEnrichmentCapabilities(...)` | `GET` | `/data/enrichment/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataEnrichmentCapabilities(...)` | `GET` | `/data/enrichment/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataEnrichmentEnrichmentProfiles(...)` | `GET` | `/data/enrichment/enrichment/profiles` | `query, Class responseType` | `@Nullable T` | -| `getDataEnrichmentEnrichmentProfiles(...)` | `GET` | `/data/enrichment/enrichment/profiles` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataEnrichmentEnrichmentProfilesProfileId(...)` | `GET` | `/data/enrichment/enrichment/profiles/{param}` | `profileId, query, Class responseType` | `@Nullable T` | -| `getDataEnrichmentEnrichmentProfilesProfileId(...)` | `GET` | `/data/enrichment/enrichment/profiles/{param}` | `profileId, query, TypeReference responseType` | `@Nullable T` | -| `getDataEnrichmentHealth(...)` | `GET` | `/data/enrichment/health` | `query, Class responseType` | `@Nullable T` | -| `getDataEnrichmentHealth(...)` | `GET` | `/data/enrichment/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataEnrichmentInfo(...)` | `GET` | `/data/enrichment/info` | `query, Class responseType` | `@Nullable T` | -| `getDataEnrichmentInfo(...)` | `GET` | `/data/enrichment/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataEnrichmentRuns(...)` | `GET` | `/data/enrichment/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataEnrichmentRuns(...)` | `GET` | `/data/enrichment/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataEnrichmentRunsRunId(...)` | `GET` | `/data/enrichment/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataEnrichmentRunsRunId(...)` | `GET` | `/data/enrichment/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataExportsCapabilities(...)` | `GET` | `/data/exports/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataExportsCapabilities(...)` | `GET` | `/data/exports/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataExportsExports(...)` | `GET` | `/data/exports/exports` | `query, Class responseType` | `@Nullable T` | -| `getDataExportsExports(...)` | `GET` | `/data/exports/exports` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataExportsExportsExportId(...)` | `GET` | `/data/exports/exports/{param}` | `exportId, query, Class responseType` | `@Nullable T` | -| `getDataExportsExportsExportId(...)` | `GET` | `/data/exports/exports/{param}` | `exportId, query, TypeReference responseType` | `@Nullable T` | -| `getDataExportsHealth(...)` | `GET` | `/data/exports/health` | `query, Class responseType` | `@Nullable T` | -| `getDataExportsHealth(...)` | `GET` | `/data/exports/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataExportsInfo(...)` | `GET` | `/data/exports/info` | `query, Class responseType` | `@Nullable T` | -| `getDataExportsInfo(...)` | `GET` | `/data/exports/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataExportsRuns(...)` | `GET` | `/data/exports/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataExportsRuns(...)` | `GET` | `/data/exports/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataExportsRunsRunId(...)` | `GET` | `/data/exports/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataExportsRunsRunId(...)` | `GET` | `/data/exports/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestCapabilities(...)` | `GET` | `/data/ingest/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataIngestCapabilities(...)` | `GET` | `/data/ingest/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestDatasets(...)` | `GET` | `/data/ingest/datasets` | `query, Class responseType` | `@Nullable T` | -| `getDataIngestDatasets(...)` | `GET` | `/data/ingest/datasets` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestDatasetsDatasetId(...)` | `GET` | `/data/ingest/datasets/{param}` | `datasetId, query, Class responseType` | `@Nullable T` | -| `getDataIngestDatasetsDatasetId(...)` | `GET` | `/data/ingest/datasets/{param}` | `datasetId, query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestDatasetsDatasetIdArtifactsManifestIdContent(...)` | `GET` | `/data/ingest/datasets/{param}/artifacts/{param}/content` | `datasetId, manifestId, query, Class responseType` | `@Nullable T` | -| `getDataIngestDatasetsDatasetIdArtifactsManifestIdContent(...)` | `GET` | `/data/ingest/datasets/{param}/artifacts/{param}/content` | `datasetId, manifestId, query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestHealth(...)` | `GET` | `/data/ingest/health` | `query, Class responseType` | `@Nullable T` | -| `getDataIngestHealth(...)` | `GET` | `/data/ingest/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestInfo(...)` | `GET` | `/data/ingest/info` | `query, Class responseType` | `@Nullable T` | -| `getDataIngestInfo(...)` | `GET` | `/data/ingest/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestRuns(...)` | `GET` | `/data/ingest/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataIngestRuns(...)` | `GET` | `/data/ingest/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestRunsRunId(...)` | `GET` | `/data/ingest/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataIngestRunsRunId(...)` | `GET` | `/data/ingest/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestSchemas(...)` | `GET` | `/data/ingest/schemas` | `query, Class responseType` | `@Nullable T` | -| `getDataIngestSchemas(...)` | `GET` | `/data/ingest/schemas` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataIngestSchemasSchemaRef(...)` | `GET` | `/data/ingest/schemas/{param}` | `schemaRef, query, Class responseType` | `@Nullable T` | -| `getDataIngestSchemasSchemaRef(...)` | `GET` | `/data/ingest/schemas/{param}` | `schemaRef, query, TypeReference responseType` | `@Nullable T` | -| `getDataNormalizationCapabilities(...)` | `GET` | `/data/normalization/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataNormalizationCapabilities(...)` | `GET` | `/data/normalization/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataNormalizationHealth(...)` | `GET` | `/data/normalization/health` | `query, Class responseType` | `@Nullable T` | -| `getDataNormalizationHealth(...)` | `GET` | `/data/normalization/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataNormalizationInfo(...)` | `GET` | `/data/normalization/info` | `query, Class responseType` | `@Nullable T` | -| `getDataNormalizationInfo(...)` | `GET` | `/data/normalization/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataNormalizationNormalizationProfiles(...)` | `GET` | `/data/normalization/normalization/profiles` | `query, Class responseType` | `@Nullable T` | -| `getDataNormalizationNormalizationProfiles(...)` | `GET` | `/data/normalization/normalization/profiles` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataNormalizationNormalizationProfilesProfileId(...)` | `GET` | `/data/normalization/normalization/profiles/{param}` | `profileId, query, Class responseType` | `@Nullable T` | -| `getDataNormalizationNormalizationProfilesProfileId(...)` | `GET` | `/data/normalization/normalization/profiles/{param}` | `profileId, query, TypeReference responseType` | `@Nullable T` | -| `getDataNormalizationRuns(...)` | `GET` | `/data/normalization/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataNormalizationRuns(...)` | `GET` | `/data/normalization/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataNormalizationRunsRunId(...)` | `GET` | `/data/normalization/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataNormalizationRunsRunId(...)` | `GET` | `/data/normalization/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesCapabilities(...)` | `GET` | `/data/pipelines/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesCapabilities(...)` | `GET` | `/data/pipelines/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesHealth(...)` | `GET` | `/data/pipelines/health` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesHealth(...)` | `GET` | `/data/pipelines/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesInfo(...)` | `GET` | `/data/pipelines/info` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesInfo(...)` | `GET` | `/data/pipelines/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesPipelineRuns(...)` | `GET` | `/data/pipelines/pipeline-runs` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesPipelineRuns(...)` | `GET` | `/data/pipelines/pipeline-runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesPipelineRunsRunId(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataPipelinesPipelineRunsRunId(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesPipelines(...)` | `GET` | `/data/pipelines/pipelines` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesPipelines(...)` | `GET` | `/data/pipelines/pipelines` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesPipelinesDefinitionId(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `definitionId, query, Class responseType` | `@Nullable T` | -| `getDataPipelinesPipelinesDefinitionId(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `definitionId, query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesRuns(...)` | `GET` | `/data/pipelines/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesRuns(...)` | `GET` | `/data/pipelines/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesRunsRunId(...)` | `GET` | `/data/pipelines/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataPipelinesRunsRunId(...)` | `GET` | `/data/pipelines/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataQualityCapabilities(...)` | `GET` | `/data/quality/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataQualityCapabilities(...)` | `GET` | `/data/quality/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQualityHealth(...)` | `GET` | `/data/quality/health` | `query, Class responseType` | `@Nullable T` | -| `getDataQualityHealth(...)` | `GET` | `/data/quality/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQualityInfo(...)` | `GET` | `/data/quality/info` | `query, Class responseType` | `@Nullable T` | -| `getDataQualityInfo(...)` | `GET` | `/data/quality/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQualityQualityRulesets(...)` | `GET` | `/data/quality/quality/rulesets` | `query, Class responseType` | `@Nullable T` | -| `getDataQualityQualityRulesets(...)` | `GET` | `/data/quality/quality/rulesets` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQualityQualityRulesetsRulesetId(...)` | `GET` | `/data/quality/quality/rulesets/{param}` | `rulesetId, query, Class responseType` | `@Nullable T` | -| `getDataQualityQualityRulesetsRulesetId(...)` | `GET` | `/data/quality/quality/rulesets/{param}` | `rulesetId, query, TypeReference responseType` | `@Nullable T` | -| `getDataQualityRuns(...)` | `GET` | `/data/quality/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataQualityRuns(...)` | `GET` | `/data/quality/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQualityRunsRunId(...)` | `GET` | `/data/quality/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataQualityRunsRunId(...)` | `GET` | `/data/quality/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataQueryCapabilities(...)` | `GET` | `/data/query/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataQueryCapabilities(...)` | `GET` | `/data/query/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQueryHealth(...)` | `GET` | `/data/query/health` | `query, Class responseType` | `@Nullable T` | -| `getDataQueryHealth(...)` | `GET` | `/data/query/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQueryInfo(...)` | `GET` | `/data/query/info` | `query, Class responseType` | `@Nullable T` | -| `getDataQueryInfo(...)` | `GET` | `/data/query/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQueryRuns(...)` | `GET` | `/data/query/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataQueryRuns(...)` | `GET` | `/data/query/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataQueryRunsRunId(...)` | `GET` | `/data/query/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataQueryRunsRunId(...)` | `GET` | `/data/query/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataSchemasCapabilities(...)` | `GET` | `/data/schemas/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataSchemasCapabilities(...)` | `GET` | `/data/schemas/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSchemasHealth(...)` | `GET` | `/data/schemas/health` | `query, Class responseType` | `@Nullable T` | -| `getDataSchemasHealth(...)` | `GET` | `/data/schemas/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSchemasInfo(...)` | `GET` | `/data/schemas/info` | `query, Class responseType` | `@Nullable T` | -| `getDataSchemasInfo(...)` | `GET` | `/data/schemas/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSchemasRuns(...)` | `GET` | `/data/schemas/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataSchemasRuns(...)` | `GET` | `/data/schemas/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSchemasRunsRunId(...)` | `GET` | `/data/schemas/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataSchemasRunsRunId(...)` | `GET` | `/data/schemas/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataSchemasSchemas(...)` | `GET` | `/data/schemas/schemas` | `query, Class responseType` | `@Nullable T` | -| `getDataSchemasSchemas(...)` | `GET` | `/data/schemas/schemas` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSchemasSchemasSchemaRef(...)` | `GET` | `/data/schemas/schemas/{param}` | `schemaRef, query, Class responseType` | `@Nullable T` | -| `getDataSchemasSchemasSchemaRef(...)` | `GET` | `/data/schemas/schemas/{param}` | `schemaRef, query, TypeReference responseType` | `@Nullable T` | -| `getDataServingCapabilities(...)` | `GET` | `/data/serving/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataServingCapabilities(...)` | `GET` | `/data/serving/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataServingHealth(...)` | `GET` | `/data/serving/health` | `query, Class responseType` | `@Nullable T` | -| `getDataServingHealth(...)` | `GET` | `/data/serving/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataServingInfo(...)` | `GET` | `/data/serving/info` | `query, Class responseType` | `@Nullable T` | -| `getDataServingInfo(...)` | `GET` | `/data/serving/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataServingRuns(...)` | `GET` | `/data/serving/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataServingRuns(...)` | `GET` | `/data/serving/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataServingRunsRunId(...)` | `GET` | `/data/serving/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataServingRunsRunId(...)` | `GET` | `/data/serving/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataServingServingProducts(...)` | `GET` | `/data/serving/serving/products` | `query, Class responseType` | `@Nullable T` | -| `getDataServingServingProducts(...)` | `GET` | `/data/serving/serving/products` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataServingServingProductsProductId(...)` | `GET` | `/data/serving/serving/products/{param}` | `productId, query, Class responseType` | `@Nullable T` | -| `getDataServingServingProductsProductId(...)` | `GET` | `/data/serving/serving/products/{param}` | `productId, query, TypeReference responseType` | `@Nullable T` | -| `getDataStreamsCapabilities(...)` | `GET` | `/data/streams/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataStreamsCapabilities(...)` | `GET` | `/data/streams/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataStreamsHealth(...)` | `GET` | `/data/streams/health` | `query, Class responseType` | `@Nullable T` | -| `getDataStreamsHealth(...)` | `GET` | `/data/streams/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataStreamsInfo(...)` | `GET` | `/data/streams/info` | `query, Class responseType` | `@Nullable T` | -| `getDataStreamsInfo(...)` | `GET` | `/data/streams/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataStreamsRuns(...)` | `GET` | `/data/streams/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataStreamsRuns(...)` | `GET` | `/data/streams/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataStreamsRunsRunId(...)` | `GET` | `/data/streams/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataStreamsRunsRunId(...)` | `GET` | `/data/streams/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataStreamsStreams(...)` | `GET` | `/data/streams/streams` | `query, Class responseType` | `@Nullable T` | -| `getDataStreamsStreams(...)` | `GET` | `/data/streams/streams` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataStreamsStreamsStreamId(...)` | `GET` | `/data/streams/streams/{param}` | `streamId, query, Class responseType` | `@Nullable T` | -| `getDataStreamsStreamsStreamId(...)` | `GET` | `/data/streams/streams/{param}` | `streamId, query, TypeReference responseType` | `@Nullable T` | -| `getDataSyncCapabilities(...)` | `GET` | `/data/sync/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataSyncCapabilities(...)` | `GET` | `/data/sync/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSyncHealth(...)` | `GET` | `/data/sync/health` | `query, Class responseType` | `@Nullable T` | -| `getDataSyncHealth(...)` | `GET` | `/data/sync/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSyncInfo(...)` | `GET` | `/data/sync/info` | `query, Class responseType` | `@Nullable T` | -| `getDataSyncInfo(...)` | `GET` | `/data/sync/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSyncRuns(...)` | `GET` | `/data/sync/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataSyncRuns(...)` | `GET` | `/data/sync/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSyncRunsRunId(...)` | `GET` | `/data/sync/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataSyncRunsRunId(...)` | `GET` | `/data/sync/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataSyncSyncJobs(...)` | `GET` | `/data/sync/sync/jobs` | `query, Class responseType` | `@Nullable T` | -| `getDataSyncSyncJobs(...)` | `GET` | `/data/sync/sync/jobs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataSyncSyncJobsJobId(...)` | `GET` | `/data/sync/sync/jobs/{param}` | `jobId, query, Class responseType` | `@Nullable T` | -| `getDataSyncSyncJobsJobId(...)` | `GET` | `/data/sync/sync/jobs/{param}` | `jobId, query, TypeReference responseType` | `@Nullable T` | -| `getDataTransformationsCapabilities(...)` | `GET` | `/data/transformations/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataTransformationsCapabilities(...)` | `GET` | `/data/transformations/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataTransformationsHealth(...)` | `GET` | `/data/transformations/health` | `query, Class responseType` | `@Nullable T` | -| `getDataTransformationsHealth(...)` | `GET` | `/data/transformations/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataTransformationsInfo(...)` | `GET` | `/data/transformations/info` | `query, Class responseType` | `@Nullable T` | -| `getDataTransformationsInfo(...)` | `GET` | `/data/transformations/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataTransformationsRuns(...)` | `GET` | `/data/transformations/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataTransformationsRuns(...)` | `GET` | `/data/transformations/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataTransformationsRunsRunId(...)` | `GET` | `/data/transformations/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getDataTransformationsRunsRunId(...)` | `GET` | `/data/transformations/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getDataTransformationsTransformations(...)` | `GET` | `/data/transformations/transformations` | `query, Class responseType` | `@Nullable T` | -| `getDataTransformationsTransformations(...)` | `GET` | `/data/transformations/transformations` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataTransformationsTransformationsTransformationId(...)` | `GET` | `/data/transformations/transformations/{param}` | `transformationId, query, Class responseType` | `@Nullable T` | -| `getDataTransformationsTransformationsTransformationId(...)` | `GET` | `/data/transformations/transformations/{param}` | `transformationId, query, TypeReference responseType` | `@Nullable T` | -| `postDataAggregationsAggregations(...)` | `POST` | `/data/aggregations/aggregations` | `query, body, Class responseType` | `@Nullable T` | -| `postDataAggregationsAggregations(...)` | `POST` | `/data/aggregations/aggregations` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataAggregationsAggregationsAggregationIdExecutions(...)` | `POST` | `/data/aggregations/aggregations/{param}/executions` | `aggregationId, query, body, Class responseType` | `@Nullable T` | -| `postDataAggregationsAggregationsAggregationIdExecutions(...)` | `POST` | `/data/aggregations/aggregations/{param}/executions` | `aggregationId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataAggregationsRuns(...)` | `POST` | `/data/aggregations/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataAggregationsRuns(...)` | `POST` | `/data/aggregations/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataArchivalArchivalPolicies(...)` | `POST` | `/data/archival/archival/policies` | `query, body, Class responseType` | `@Nullable T` | -| `postDataArchivalArchivalPolicies(...)` | `POST` | `/data/archival/archival/policies` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataArchivalArchivalPoliciesPolicyIdExecutions(...)` | `POST` | `/data/archival/archival/policies/{param}/executions` | `policyId, query, body, Class responseType` | `@Nullable T` | -| `postDataArchivalArchivalPoliciesPolicyIdExecutions(...)` | `POST` | `/data/archival/archival/policies/{param}/executions` | `policyId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataArchivalRuns(...)` | `POST` | `/data/archival/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataArchivalRuns(...)` | `POST` | `/data/archival/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataCatalogRuns(...)` | `POST` | `/data/catalog/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataCatalogRuns(...)` | `POST` | `/data/catalog/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataEnrichmentEnrichmentProfiles(...)` | `POST` | `/data/enrichment/enrichment/profiles` | `query, body, Class responseType` | `@Nullable T` | -| `postDataEnrichmentEnrichmentProfiles(...)` | `POST` | `/data/enrichment/enrichment/profiles` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataEnrichmentEnrichmentProfilesProfileIdExecutions(...)` | `POST` | `/data/enrichment/enrichment/profiles/{param}/executions` | `profileId, query, body, Class responseType` | `@Nullable T` | -| `postDataEnrichmentEnrichmentProfilesProfileIdExecutions(...)` | `POST` | `/data/enrichment/enrichment/profiles/{param}/executions` | `profileId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataEnrichmentRuns(...)` | `POST` | `/data/enrichment/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataEnrichmentRuns(...)` | `POST` | `/data/enrichment/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataExportsExports(...)` | `POST` | `/data/exports/exports` | `query, body, Class responseType` | `@Nullable T` | -| `postDataExportsExports(...)` | `POST` | `/data/exports/exports` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataExportsExportsExportIdExecutions(...)` | `POST` | `/data/exports/exports/{param}/executions` | `exportId, query, body, Class responseType` | `@Nullable T` | -| `postDataExportsExportsExportIdExecutions(...)` | `POST` | `/data/exports/exports/{param}/executions` | `exportId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataExportsRuns(...)` | `POST` | `/data/exports/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataExportsRuns(...)` | `POST` | `/data/exports/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataIngestDatasetsIngest(...)` | `POST` | `/data/ingest/datasets/ingest` | `query, body, Class responseType` | `@Nullable T` | -| `postDataIngestDatasetsIngest(...)` | `POST` | `/data/ingest/datasets/ingest` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataIngestRuns(...)` | `POST` | `/data/ingest/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataIngestRuns(...)` | `POST` | `/data/ingest/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataNormalizationNormalizationProfiles(...)` | `POST` | `/data/normalization/normalization/profiles` | `query, body, Class responseType` | `@Nullable T` | -| `postDataNormalizationNormalizationProfiles(...)` | `POST` | `/data/normalization/normalization/profiles` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataNormalizationNormalizationProfilesProfileIdExecutions(...)` | `POST` | `/data/normalization/normalization/profiles/{param}/executions` | `profileId, query, body, Class responseType` | `@Nullable T` | -| `postDataNormalizationNormalizationProfilesProfileIdExecutions(...)` | `POST` | `/data/normalization/normalization/profiles/{param}/executions` | `profileId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataNormalizationRuns(...)` | `POST` | `/data/normalization/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataNormalizationRuns(...)` | `POST` | `/data/normalization/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataPipelinesPipelines(...)` | `POST` | `/data/pipelines/pipelines` | `query, body, Class responseType` | `@Nullable T` | -| `postDataPipelinesPipelines(...)` | `POST` | `/data/pipelines/pipelines` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataPipelinesRuns(...)` | `POST` | `/data/pipelines/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataPipelinesRuns(...)` | `POST` | `/data/pipelines/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataQualityQualityRulesets(...)` | `POST` | `/data/quality/quality/rulesets` | `query, body, Class responseType` | `@Nullable T` | -| `postDataQualityQualityRulesets(...)` | `POST` | `/data/quality/quality/rulesets` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataQualityQualityRulesetsRulesetIdEvaluations(...)` | `POST` | `/data/quality/quality/rulesets/{param}/evaluations` | `rulesetId, query, body, Class responseType` | `@Nullable T` | -| `postDataQualityQualityRulesetsRulesetIdEvaluations(...)` | `POST` | `/data/quality/quality/rulesets/{param}/evaluations` | `rulesetId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataQualityRuns(...)` | `POST` | `/data/quality/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataQualityRuns(...)` | `POST` | `/data/quality/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataQueryQueryFederated(...)` | `POST` | `/data/query/query/federated` | `query, body, Class responseType` | `@Nullable T` | -| `postDataQueryQueryFederated(...)` | `POST` | `/data/query/query/federated` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataQueryRuns(...)` | `POST` | `/data/query/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataQueryRuns(...)` | `POST` | `/data/query/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataSchemasRuns(...)` | `POST` | `/data/schemas/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataSchemasRuns(...)` | `POST` | `/data/schemas/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataSchemasSchemas(...)` | `POST` | `/data/schemas/schemas` | `query, body, Class responseType` | `@Nullable T` | -| `postDataSchemasSchemas(...)` | `POST` | `/data/schemas/schemas` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataSchemasSchemasResolve(...)` | `POST` | `/data/schemas/schemas/resolve` | `query, body, Class responseType` | `@Nullable T` | -| `postDataSchemasSchemasResolve(...)` | `POST` | `/data/schemas/schemas/resolve` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataServingRuns(...)` | `POST` | `/data/serving/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataServingRuns(...)` | `POST` | `/data/serving/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataServingServingProducts(...)` | `POST` | `/data/serving/serving/products` | `query, body, Class responseType` | `@Nullable T` | -| `postDataServingServingProducts(...)` | `POST` | `/data/serving/serving/products` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataServingServingProductsProductIdRefreshes(...)` | `POST` | `/data/serving/serving/products/{param}/refreshes` | `productId, query, body, Class responseType` | `@Nullable T` | -| `postDataServingServingProductsProductIdRefreshes(...)` | `POST` | `/data/serving/serving/products/{param}/refreshes` | `productId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataStreamsRuns(...)` | `POST` | `/data/streams/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataStreamsRuns(...)` | `POST` | `/data/streams/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataStreamsStreams(...)` | `POST` | `/data/streams/streams` | `query, body, Class responseType` | `@Nullable T` | -| `postDataStreamsStreams(...)` | `POST` | `/data/streams/streams` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataStreamsStreamsStreamIdDeliveries(...)` | `POST` | `/data/streams/streams/{param}/deliveries` | `streamId, query, body, Class responseType` | `@Nullable T` | -| `postDataStreamsStreamsStreamIdDeliveries(...)` | `POST` | `/data/streams/streams/{param}/deliveries` | `streamId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataSyncRuns(...)` | `POST` | `/data/sync/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataSyncRuns(...)` | `POST` | `/data/sync/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataSyncSyncJobs(...)` | `POST` | `/data/sync/sync/jobs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataSyncSyncJobs(...)` | `POST` | `/data/sync/sync/jobs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataSyncSyncJobsJobIdExecutions(...)` | `POST` | `/data/sync/sync/jobs/{param}/executions` | `jobId, query, body, Class responseType` | `@Nullable T` | -| `postDataSyncSyncJobsJobIdExecutions(...)` | `POST` | `/data/sync/sync/jobs/{param}/executions` | `jobId, query, body, TypeReference responseType` | `@Nullable T` | -| `postDataTransformationsRuns(...)` | `POST` | `/data/transformations/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataTransformationsRuns(...)` | `POST` | `/data/transformations/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataTransformationsTransformations(...)` | `POST` | `/data/transformations/transformations` | `query, body, Class responseType` | `@Nullable T` | -| `postDataTransformationsTransformations(...)` | `POST` | `/data/transformations/transformations` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataTransformationsTransformationsTransformationIdExecutions(...)` | `POST` | `/data/transformations/transformations/{param}/executions` | `transformationId, query, body, Class responseType` | `@Nullable T` | -| `postDataTransformationsTransformationsTransformationIdExecutions(...)` | `POST` | `/data/transformations/transformations/{param}/executions` | `transformationId, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `data().aggregations().health(...)` | `GET` | `/data/aggregations/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().aggregations().health(...)` | `GET` | `/data/aggregations/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().health(...)` | `GET` | `/data/aggregations/health` | `Class responseType` | `@Nullable T` | +| `data().aggregations().health(...)` | `GET` | `/data/aggregations/health` | `TypeReference responseType` | `@Nullable T` | +| `data().aggregations().getInfo(...)` | `GET` | `/data/aggregations/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().aggregations().getInfo(...)` | `GET` | `/data/aggregations/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().getInfo(...)` | `GET` | `/data/aggregations/info` | `Class responseType` | `@Nullable T` | +| `data().aggregations().getInfo(...)` | `GET` | `/data/aggregations/info` | `TypeReference responseType` | `@Nullable T` | +| `data().archival().health(...)` | `GET` | `/data/archival/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().archival().health(...)` | `GET` | `/data/archival/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().archival().health(...)` | `GET` | `/data/archival/health` | `Class responseType` | `@Nullable T` | +| `data().archival().health(...)` | `GET` | `/data/archival/health` | `TypeReference responseType` | `@Nullable T` | +| `data().archival().getInfo(...)` | `GET` | `/data/archival/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().archival().getInfo(...)` | `GET` | `/data/archival/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().archival().getInfo(...)` | `GET` | `/data/archival/info` | `Class responseType` | `@Nullable T` | +| `data().archival().getInfo(...)` | `GET` | `/data/archival/info` | `TypeReference responseType` | `@Nullable T` | +| `data().catalog().health(...)` | `GET` | `/data/catalog/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().health(...)` | `GET` | `/data/catalog/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().health(...)` | `GET` | `/data/catalog/health` | `Class responseType` | `@Nullable T` | +| `data().catalog().health(...)` | `GET` | `/data/catalog/health` | `TypeReference responseType` | `@Nullable T` | +| `data().catalog().getInfo(...)` | `GET` | `/data/catalog/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().getInfo(...)` | `GET` | `/data/catalog/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().getInfo(...)` | `GET` | `/data/catalog/info` | `Class responseType` | `@Nullable T` | +| `data().catalog().getInfo(...)` | `GET` | `/data/catalog/info` | `TypeReference responseType` | `@Nullable T` | +| `data().enrichment().health(...)` | `GET` | `/data/enrichment/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().enrichment().health(...)` | `GET` | `/data/enrichment/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().health(...)` | `GET` | `/data/enrichment/health` | `Class responseType` | `@Nullable T` | +| `data().enrichment().health(...)` | `GET` | `/data/enrichment/health` | `TypeReference responseType` | `@Nullable T` | +| `data().enrichment().getInfo(...)` | `GET` | `/data/enrichment/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().enrichment().getInfo(...)` | `GET` | `/data/enrichment/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().getInfo(...)` | `GET` | `/data/enrichment/info` | `Class responseType` | `@Nullable T` | +| `data().enrichment().getInfo(...)` | `GET` | `/data/enrichment/info` | `TypeReference responseType` | `@Nullable T` | +| `data().exports().health(...)` | `GET` | `/data/exports/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().exports().health(...)` | `GET` | `/data/exports/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().exports().health(...)` | `GET` | `/data/exports/health` | `Class responseType` | `@Nullable T` | +| `data().exports().health(...)` | `GET` | `/data/exports/health` | `TypeReference responseType` | `@Nullable T` | +| `data().exports().getInfo(...)` | `GET` | `/data/exports/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().exports().getInfo(...)` | `GET` | `/data/exports/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().exports().getInfo(...)` | `GET` | `/data/exports/info` | `Class responseType` | `@Nullable T` | +| `data().exports().getInfo(...)` | `GET` | `/data/exports/info` | `TypeReference responseType` | `@Nullable T` | +| `data().ingest().health(...)` | `GET` | `/data/ingest/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().health(...)` | `GET` | `/data/ingest/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().health(...)` | `GET` | `/data/ingest/health` | `Class responseType` | `@Nullable T` | +| `data().ingest().health(...)` | `GET` | `/data/ingest/health` | `TypeReference responseType` | `@Nullable T` | +| `data().ingest().getInfo(...)` | `GET` | `/data/ingest/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().getInfo(...)` | `GET` | `/data/ingest/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().getInfo(...)` | `GET` | `/data/ingest/info` | `Class responseType` | `@Nullable T` | +| `data().ingest().getInfo(...)` | `GET` | `/data/ingest/info` | `TypeReference responseType` | `@Nullable T` | +| `data().normalization().health(...)` | `GET` | `/data/normalization/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().normalization().health(...)` | `GET` | `/data/normalization/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().normalization().health(...)` | `GET` | `/data/normalization/health` | `Class responseType` | `@Nullable T` | +| `data().normalization().health(...)` | `GET` | `/data/normalization/health` | `TypeReference responseType` | `@Nullable T` | +| `data().normalization().getInfo(...)` | `GET` | `/data/normalization/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().normalization().getInfo(...)` | `GET` | `/data/normalization/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().normalization().getInfo(...)` | `GET` | `/data/normalization/info` | `Class responseType` | `@Nullable T` | +| `data().normalization().getInfo(...)` | `GET` | `/data/normalization/info` | `TypeReference responseType` | `@Nullable T` | +| `data().pipelines().health(...)` | `GET` | `/data/pipelines/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().health(...)` | `GET` | `/data/pipelines/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().health(...)` | `GET` | `/data/pipelines/health` | `Class responseType` | `@Nullable T` | +| `data().pipelines().health(...)` | `GET` | `/data/pipelines/health` | `TypeReference responseType` | `@Nullable T` | +| `data().pipelines().getInfo(...)` | `GET` | `/data/pipelines/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().getInfo(...)` | `GET` | `/data/pipelines/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().getInfo(...)` | `GET` | `/data/pipelines/info` | `Class responseType` | `@Nullable T` | +| `data().pipelines().getInfo(...)` | `GET` | `/data/pipelines/info` | `TypeReference responseType` | `@Nullable T` | +| `data().quality().health(...)` | `GET` | `/data/quality/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().quality().health(...)` | `GET` | `/data/quality/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().quality().health(...)` | `GET` | `/data/quality/health` | `Class responseType` | `@Nullable T` | +| `data().quality().health(...)` | `GET` | `/data/quality/health` | `TypeReference responseType` | `@Nullable T` | +| `data().quality().getInfo(...)` | `GET` | `/data/quality/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().quality().getInfo(...)` | `GET` | `/data/quality/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().quality().getInfo(...)` | `GET` | `/data/quality/info` | `Class responseType` | `@Nullable T` | +| `data().quality().getInfo(...)` | `GET` | `/data/quality/info` | `TypeReference responseType` | `@Nullable T` | +| `data().query().health(...)` | `GET` | `/data/query/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().query().health(...)` | `GET` | `/data/query/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().query().health(...)` | `GET` | `/data/query/health` | `Class responseType` | `@Nullable T` | +| `data().query().health(...)` | `GET` | `/data/query/health` | `TypeReference responseType` | `@Nullable T` | +| `data().query().getInfo(...)` | `GET` | `/data/query/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().query().getInfo(...)` | `GET` | `/data/query/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().query().getInfo(...)` | `GET` | `/data/query/info` | `Class responseType` | `@Nullable T` | +| `data().query().getInfo(...)` | `GET` | `/data/query/info` | `TypeReference responseType` | `@Nullable T` | +| `data().schemas().health(...)` | `GET` | `/data/schemas/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().schemas().health(...)` | `GET` | `/data/schemas/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().schemas().health(...)` | `GET` | `/data/schemas/health` | `Class responseType` | `@Nullable T` | +| `data().schemas().health(...)` | `GET` | `/data/schemas/health` | `TypeReference responseType` | `@Nullable T` | +| `data().schemas().getInfo(...)` | `GET` | `/data/schemas/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().schemas().getInfo(...)` | `GET` | `/data/schemas/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().schemas().getInfo(...)` | `GET` | `/data/schemas/info` | `Class responseType` | `@Nullable T` | +| `data().schemas().getInfo(...)` | `GET` | `/data/schemas/info` | `TypeReference responseType` | `@Nullable T` | +| `data().serving().health(...)` | `GET` | `/data/serving/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().serving().health(...)` | `GET` | `/data/serving/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().serving().health(...)` | `GET` | `/data/serving/health` | `Class responseType` | `@Nullable T` | +| `data().serving().health(...)` | `GET` | `/data/serving/health` | `TypeReference responseType` | `@Nullable T` | +| `data().serving().getInfo(...)` | `GET` | `/data/serving/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().serving().getInfo(...)` | `GET` | `/data/serving/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().serving().getInfo(...)` | `GET` | `/data/serving/info` | `Class responseType` | `@Nullable T` | +| `data().serving().getInfo(...)` | `GET` | `/data/serving/info` | `TypeReference responseType` | `@Nullable T` | +| `data().streams().health(...)` | `GET` | `/data/streams/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().streams().health(...)` | `GET` | `/data/streams/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().streams().health(...)` | `GET` | `/data/streams/health` | `Class responseType` | `@Nullable T` | +| `data().streams().health(...)` | `GET` | `/data/streams/health` | `TypeReference responseType` | `@Nullable T` | +| `data().streams().getInfo(...)` | `GET` | `/data/streams/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().streams().getInfo(...)` | `GET` | `/data/streams/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().streams().getInfo(...)` | `GET` | `/data/streams/info` | `Class responseType` | `@Nullable T` | +| `data().streams().getInfo(...)` | `GET` | `/data/streams/info` | `TypeReference responseType` | `@Nullable T` | +| `data().sync().health(...)` | `GET` | `/data/sync/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().sync().health(...)` | `GET` | `/data/sync/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().sync().health(...)` | `GET` | `/data/sync/health` | `Class responseType` | `@Nullable T` | +| `data().sync().health(...)` | `GET` | `/data/sync/health` | `TypeReference responseType` | `@Nullable T` | +| `data().sync().getInfo(...)` | `GET` | `/data/sync/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().sync().getInfo(...)` | `GET` | `/data/sync/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().sync().getInfo(...)` | `GET` | `/data/sync/info` | `Class responseType` | `@Nullable T` | +| `data().sync().getInfo(...)` | `GET` | `/data/sync/info` | `TypeReference responseType` | `@Nullable T` | +| `data().transformations().health(...)` | `GET` | `/data/transformations/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().transformations().health(...)` | `GET` | `/data/transformations/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().transformations().health(...)` | `GET` | `/data/transformations/health` | `Class responseType` | `@Nullable T` | +| `data().transformations().health(...)` | `GET` | `/data/transformations/health` | `TypeReference responseType` | `@Nullable T` | +| `data().transformations().getInfo(...)` | `GET` | `/data/transformations/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().transformations().getInfo(...)` | `GET` | `/data/transformations/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().transformations().getInfo(...)` | `GET` | `/data/transformations/info` | `Class responseType` | `@Nullable T` | +| `data().transformations().getInfo(...)` | `GET` | `/data/transformations/info` | `TypeReference responseType` | `@Nullable T` | +| `data().aggregations().aggregations().list(...)` | `GET` | `/data/aggregations/aggregations` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().aggregations().aggregations().list(...)` | `GET` | `/data/aggregations/aggregations` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().aggregations().list(...)` | `GET` | `/data/aggregations/aggregations` | `Class responseType` | `@Nullable T` | +| `data().aggregations().aggregations().list(...)` | `GET` | `/data/aggregations/aggregations` | `TypeReference responseType` | `@Nullable T` | +| `data().aggregations().aggregations().get(...)` | `GET` | `/data/aggregations/aggregations/{param}` | `String aggregationId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().aggregations().aggregations().get(...)` | `GET` | `/data/aggregations/aggregations/{param}` | `String aggregationId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().aggregations().get(...)` | `GET` | `/data/aggregations/aggregations/{param}` | `String aggregationId, Class responseType` | `@Nullable T` | +| `data().aggregations().aggregations().get(...)` | `GET` | `/data/aggregations/aggregations/{param}` | `String aggregationId, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().aggregations().create(...)` | `POST` | `/data/aggregations/aggregations` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().aggregations().aggregations().create(...)` | `POST` | `/data/aggregations/aggregations` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().aggregations().create(...)` | `POST` | `/data/aggregations/aggregations` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().aggregations().aggregations().create(...)` | `POST` | `/data/aggregations/aggregations` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().capabilities().list(...)` | `GET` | `/data/aggregations/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().aggregations().capabilities().list(...)` | `GET` | `/data/aggregations/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().capabilities().list(...)` | `GET` | `/data/aggregations/capabilities` | `Class responseType` | `@Nullable T` | +| `data().aggregations().capabilities().list(...)` | `GET` | `/data/aggregations/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().aggregations().runs().list(...)` | `GET` | `/data/aggregations/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().aggregations().runs().list(...)` | `GET` | `/data/aggregations/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().runs().list(...)` | `GET` | `/data/aggregations/runs` | `Class responseType` | `@Nullable T` | +| `data().aggregations().runs().list(...)` | `GET` | `/data/aggregations/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().aggregations().runs().get(...)` | `GET` | `/data/aggregations/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().aggregations().runs().get(...)` | `GET` | `/data/aggregations/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().runs().get(...)` | `GET` | `/data/aggregations/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().aggregations().runs().get(...)` | `GET` | `/data/aggregations/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().runs().create(...)` | `POST` | `/data/aggregations/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().aggregations().runs().create(...)` | `POST` | `/data/aggregations/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().runs().create(...)` | `POST` | `/data/aggregations/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().aggregations().runs().create(...)` | `POST` | `/data/aggregations/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().archival().capabilities().list(...)` | `GET` | `/data/archival/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().archival().capabilities().list(...)` | `GET` | `/data/archival/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().archival().capabilities().list(...)` | `GET` | `/data/archival/capabilities` | `Class responseType` | `@Nullable T` | +| `data().archival().capabilities().list(...)` | `GET` | `/data/archival/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().archival().runs().list(...)` | `GET` | `/data/archival/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().archival().runs().list(...)` | `GET` | `/data/archival/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().archival().runs().list(...)` | `GET` | `/data/archival/runs` | `Class responseType` | `@Nullable T` | +| `data().archival().runs().list(...)` | `GET` | `/data/archival/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().archival().runs().get(...)` | `GET` | `/data/archival/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().archival().runs().get(...)` | `GET` | `/data/archival/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().archival().runs().get(...)` | `GET` | `/data/archival/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().archival().runs().get(...)` | `GET` | `/data/archival/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().archival().runs().create(...)` | `POST` | `/data/archival/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().archival().runs().create(...)` | `POST` | `/data/archival/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().archival().runs().create(...)` | `POST` | `/data/archival/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().archival().runs().create(...)` | `POST` | `/data/archival/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().catalog().capabilities().list(...)` | `GET` | `/data/catalog/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().capabilities().list(...)` | `GET` | `/data/catalog/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().capabilities().list(...)` | `GET` | `/data/catalog/capabilities` | `Class responseType` | `@Nullable T` | +| `data().catalog().capabilities().list(...)` | `GET` | `/data/catalog/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().catalog().runs().list(...)` | `GET` | `/data/catalog/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().runs().list(...)` | `GET` | `/data/catalog/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().runs().list(...)` | `GET` | `/data/catalog/runs` | `Class responseType` | `@Nullable T` | +| `data().catalog().runs().list(...)` | `GET` | `/data/catalog/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().catalog().runs().get(...)` | `GET` | `/data/catalog/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().runs().get(...)` | `GET` | `/data/catalog/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().runs().get(...)` | `GET` | `/data/catalog/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().catalog().runs().get(...)` | `GET` | `/data/catalog/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().catalog().runs().create(...)` | `POST` | `/data/catalog/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().catalog().runs().create(...)` | `POST` | `/data/catalog/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().catalog().runs().create(...)` | `POST` | `/data/catalog/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().catalog().runs().create(...)` | `POST` | `/data/catalog/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().capabilities().list(...)` | `GET` | `/data/enrichment/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().enrichment().capabilities().list(...)` | `GET` | `/data/enrichment/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().capabilities().list(...)` | `GET` | `/data/enrichment/capabilities` | `Class responseType` | `@Nullable T` | +| `data().enrichment().capabilities().list(...)` | `GET` | `/data/enrichment/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().enrichment().runs().list(...)` | `GET` | `/data/enrichment/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().enrichment().runs().list(...)` | `GET` | `/data/enrichment/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().runs().list(...)` | `GET` | `/data/enrichment/runs` | `Class responseType` | `@Nullable T` | +| `data().enrichment().runs().list(...)` | `GET` | `/data/enrichment/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().enrichment().runs().get(...)` | `GET` | `/data/enrichment/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().enrichment().runs().get(...)` | `GET` | `/data/enrichment/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().runs().get(...)` | `GET` | `/data/enrichment/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().enrichment().runs().get(...)` | `GET` | `/data/enrichment/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().runs().create(...)` | `POST` | `/data/enrichment/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().enrichment().runs().create(...)` | `POST` | `/data/enrichment/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().runs().create(...)` | `POST` | `/data/enrichment/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().enrichment().runs().create(...)` | `POST` | `/data/enrichment/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().exports().capabilities().list(...)` | `GET` | `/data/exports/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().exports().capabilities().list(...)` | `GET` | `/data/exports/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().exports().capabilities().list(...)` | `GET` | `/data/exports/capabilities` | `Class responseType` | `@Nullable T` | +| `data().exports().capabilities().list(...)` | `GET` | `/data/exports/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().exports().exports().list(...)` | `GET` | `/data/exports/exports` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().exports().exports().list(...)` | `GET` | `/data/exports/exports` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().exports().exports().list(...)` | `GET` | `/data/exports/exports` | `Class responseType` | `@Nullable T` | +| `data().exports().exports().list(...)` | `GET` | `/data/exports/exports` | `TypeReference responseType` | `@Nullable T` | +| `data().exports().exports().get(...)` | `GET` | `/data/exports/exports/{param}` | `String exportId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().exports().exports().get(...)` | `GET` | `/data/exports/exports/{param}` | `String exportId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().exports().exports().get(...)` | `GET` | `/data/exports/exports/{param}` | `String exportId, Class responseType` | `@Nullable T` | +| `data().exports().exports().get(...)` | `GET` | `/data/exports/exports/{param}` | `String exportId, TypeReference responseType` | `@Nullable T` | +| `data().exports().exports().create(...)` | `POST` | `/data/exports/exports` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().exports().exports().create(...)` | `POST` | `/data/exports/exports` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().exports().exports().create(...)` | `POST` | `/data/exports/exports` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().exports().exports().create(...)` | `POST` | `/data/exports/exports` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().exports().runs().list(...)` | `GET` | `/data/exports/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().exports().runs().list(...)` | `GET` | `/data/exports/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().exports().runs().list(...)` | `GET` | `/data/exports/runs` | `Class responseType` | `@Nullable T` | +| `data().exports().runs().list(...)` | `GET` | `/data/exports/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().exports().runs().get(...)` | `GET` | `/data/exports/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().exports().runs().get(...)` | `GET` | `/data/exports/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().exports().runs().get(...)` | `GET` | `/data/exports/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().exports().runs().get(...)` | `GET` | `/data/exports/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().exports().runs().create(...)` | `POST` | `/data/exports/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().exports().runs().create(...)` | `POST` | `/data/exports/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().exports().runs().create(...)` | `POST` | `/data/exports/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().exports().runs().create(...)` | `POST` | `/data/exports/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().ingest().capabilities().list(...)` | `GET` | `/data/ingest/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().capabilities().list(...)` | `GET` | `/data/ingest/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().capabilities().list(...)` | `GET` | `/data/ingest/capabilities` | `Class responseType` | `@Nullable T` | +| `data().ingest().capabilities().list(...)` | `GET` | `/data/ingest/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().ingest().datasets().list(...)` | `GET` | `/data/ingest/datasets` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().datasets().list(...)` | `GET` | `/data/ingest/datasets` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().datasets().list(...)` | `GET` | `/data/ingest/datasets` | `Class responseType` | `@Nullable T` | +| `data().ingest().datasets().list(...)` | `GET` | `/data/ingest/datasets` | `TypeReference responseType` | `@Nullable T` | +| `data().ingest().datasets().get(...)` | `GET` | `/data/ingest/datasets/{param}` | `String datasetId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().datasets().get(...)` | `GET` | `/data/ingest/datasets/{param}` | `String datasetId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().datasets().get(...)` | `GET` | `/data/ingest/datasets/{param}` | `String datasetId, Class responseType` | `@Nullable T` | +| `data().ingest().datasets().get(...)` | `GET` | `/data/ingest/datasets/{param}` | `String datasetId, TypeReference responseType` | `@Nullable T` | +| `data().ingest().datasets().ingest(...)` | `POST` | `/data/ingest/datasets/ingest` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().ingest().datasets().ingest(...)` | `POST` | `/data/ingest/datasets/ingest` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().ingest().datasets().ingest(...)` | `POST` | `/data/ingest/datasets/ingest` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().ingest().datasets().ingest(...)` | `POST` | `/data/ingest/datasets/ingest` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().ingest().runs().list(...)` | `GET` | `/data/ingest/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().runs().list(...)` | `GET` | `/data/ingest/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().runs().list(...)` | `GET` | `/data/ingest/runs` | `Class responseType` | `@Nullable T` | +| `data().ingest().runs().list(...)` | `GET` | `/data/ingest/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().ingest().runs().get(...)` | `GET` | `/data/ingest/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().runs().get(...)` | `GET` | `/data/ingest/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().runs().get(...)` | `GET` | `/data/ingest/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().ingest().runs().get(...)` | `GET` | `/data/ingest/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().ingest().runs().create(...)` | `POST` | `/data/ingest/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().ingest().runs().create(...)` | `POST` | `/data/ingest/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().ingest().runs().create(...)` | `POST` | `/data/ingest/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().ingest().runs().create(...)` | `POST` | `/data/ingest/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().ingest().schemas().list(...)` | `GET` | `/data/ingest/schemas` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().schemas().list(...)` | `GET` | `/data/ingest/schemas` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().schemas().list(...)` | `GET` | `/data/ingest/schemas` | `Class responseType` | `@Nullable T` | +| `data().ingest().schemas().list(...)` | `GET` | `/data/ingest/schemas` | `TypeReference responseType` | `@Nullable T` | +| `data().ingest().schemas().get(...)` | `GET` | `/data/ingest/schemas/{param}` | `String schemaRef, QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().schemas().get(...)` | `GET` | `/data/ingest/schemas/{param}` | `String schemaRef, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().schemas().get(...)` | `GET` | `/data/ingest/schemas/{param}` | `String schemaRef, Class responseType` | `@Nullable T` | +| `data().ingest().schemas().get(...)` | `GET` | `/data/ingest/schemas/{param}` | `String schemaRef, TypeReference responseType` | `@Nullable T` | +| `data().normalization().capabilities().list(...)` | `GET` | `/data/normalization/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().normalization().capabilities().list(...)` | `GET` | `/data/normalization/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().normalization().capabilities().list(...)` | `GET` | `/data/normalization/capabilities` | `Class responseType` | `@Nullable T` | +| `data().normalization().capabilities().list(...)` | `GET` | `/data/normalization/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().normalization().runs().list(...)` | `GET` | `/data/normalization/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().normalization().runs().list(...)` | `GET` | `/data/normalization/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().normalization().runs().list(...)` | `GET` | `/data/normalization/runs` | `Class responseType` | `@Nullable T` | +| `data().normalization().runs().list(...)` | `GET` | `/data/normalization/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().normalization().runs().get(...)` | `GET` | `/data/normalization/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().normalization().runs().get(...)` | `GET` | `/data/normalization/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().normalization().runs().get(...)` | `GET` | `/data/normalization/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().normalization().runs().get(...)` | `GET` | `/data/normalization/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().normalization().runs().create(...)` | `POST` | `/data/normalization/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().normalization().runs().create(...)` | `POST` | `/data/normalization/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().normalization().runs().create(...)` | `POST` | `/data/normalization/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().normalization().runs().create(...)` | `POST` | `/data/normalization/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().capabilities().list(...)` | `GET` | `/data/pipelines/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().capabilities().list(...)` | `GET` | `/data/pipelines/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().capabilities().list(...)` | `GET` | `/data/pipelines/capabilities` | `Class responseType` | `@Nullable T` | +| `data().pipelines().capabilities().list(...)` | `GET` | `/data/pipelines/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelineRuns().list(...)` | `GET` | `/data/pipelines/pipeline-runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().pipelineRuns().list(...)` | `GET` | `/data/pipelines/pipeline-runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelineRuns().list(...)` | `GET` | `/data/pipelines/pipeline-runs` | `Class responseType` | `@Nullable T` | +| `data().pipelines().pipelineRuns().list(...)` | `GET` | `/data/pipelines/pipeline-runs` | `TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelineRuns().get(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().pipelineRuns().get(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelineRuns().get(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().pipelines().pipelineRuns().get(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelines().list(...)` | `GET` | `/data/pipelines/pipelines` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().pipelines().list(...)` | `GET` | `/data/pipelines/pipelines` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelines().list(...)` | `GET` | `/data/pipelines/pipelines` | `Class responseType` | `@Nullable T` | +| `data().pipelines().pipelines().list(...)` | `GET` | `/data/pipelines/pipelines` | `TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelines().get(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `String definitionId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().pipelines().get(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `String definitionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelines().get(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `String definitionId, Class responseType` | `@Nullable T` | +| `data().pipelines().pipelines().get(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `String definitionId, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelines().create(...)` | `POST` | `/data/pipelines/pipelines` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().pipelines().pipelines().create(...)` | `POST` | `/data/pipelines/pipelines` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().pipelines().create(...)` | `POST` | `/data/pipelines/pipelines` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().pipelines().pipelines().create(...)` | `POST` | `/data/pipelines/pipelines` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().runs().list(...)` | `GET` | `/data/pipelines/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().runs().list(...)` | `GET` | `/data/pipelines/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().runs().list(...)` | `GET` | `/data/pipelines/runs` | `Class responseType` | `@Nullable T` | +| `data().pipelines().runs().list(...)` | `GET` | `/data/pipelines/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().pipelines().runs().get(...)` | `GET` | `/data/pipelines/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().pipelines().runs().get(...)` | `GET` | `/data/pipelines/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().runs().get(...)` | `GET` | `/data/pipelines/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().pipelines().runs().get(...)` | `GET` | `/data/pipelines/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().runs().create(...)` | `POST` | `/data/pipelines/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().pipelines().runs().create(...)` | `POST` | `/data/pipelines/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().pipelines().runs().create(...)` | `POST` | `/data/pipelines/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().pipelines().runs().create(...)` | `POST` | `/data/pipelines/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().quality().capabilities().list(...)` | `GET` | `/data/quality/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().quality().capabilities().list(...)` | `GET` | `/data/quality/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().quality().capabilities().list(...)` | `GET` | `/data/quality/capabilities` | `Class responseType` | `@Nullable T` | +| `data().quality().capabilities().list(...)` | `GET` | `/data/quality/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().quality().runs().list(...)` | `GET` | `/data/quality/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().quality().runs().list(...)` | `GET` | `/data/quality/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().quality().runs().list(...)` | `GET` | `/data/quality/runs` | `Class responseType` | `@Nullable T` | +| `data().quality().runs().list(...)` | `GET` | `/data/quality/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().quality().runs().get(...)` | `GET` | `/data/quality/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().quality().runs().get(...)` | `GET` | `/data/quality/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().quality().runs().get(...)` | `GET` | `/data/quality/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().quality().runs().get(...)` | `GET` | `/data/quality/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().quality().runs().create(...)` | `POST` | `/data/quality/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().quality().runs().create(...)` | `POST` | `/data/quality/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().quality().runs().create(...)` | `POST` | `/data/quality/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().quality().runs().create(...)` | `POST` | `/data/quality/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().query().capabilities().list(...)` | `GET` | `/data/query/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().query().capabilities().list(...)` | `GET` | `/data/query/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().query().capabilities().list(...)` | `GET` | `/data/query/capabilities` | `Class responseType` | `@Nullable T` | +| `data().query().capabilities().list(...)` | `GET` | `/data/query/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().query().query().federated(...)` | `POST` | `/data/query/query/federated` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().query().query().federated(...)` | `POST` | `/data/query/query/federated` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().query().query().federated(...)` | `POST` | `/data/query/query/federated` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().query().query().federated(...)` | `POST` | `/data/query/query/federated` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().query().runs().list(...)` | `GET` | `/data/query/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().query().runs().list(...)` | `GET` | `/data/query/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().query().runs().list(...)` | `GET` | `/data/query/runs` | `Class responseType` | `@Nullable T` | +| `data().query().runs().list(...)` | `GET` | `/data/query/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().query().runs().get(...)` | `GET` | `/data/query/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().query().runs().get(...)` | `GET` | `/data/query/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().query().runs().get(...)` | `GET` | `/data/query/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().query().runs().get(...)` | `GET` | `/data/query/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().query().runs().create(...)` | `POST` | `/data/query/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().query().runs().create(...)` | `POST` | `/data/query/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().query().runs().create(...)` | `POST` | `/data/query/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().query().runs().create(...)` | `POST` | `/data/query/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().schemas().capabilities().list(...)` | `GET` | `/data/schemas/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().schemas().capabilities().list(...)` | `GET` | `/data/schemas/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().schemas().capabilities().list(...)` | `GET` | `/data/schemas/capabilities` | `Class responseType` | `@Nullable T` | +| `data().schemas().capabilities().list(...)` | `GET` | `/data/schemas/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().schemas().runs().list(...)` | `GET` | `/data/schemas/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().schemas().runs().list(...)` | `GET` | `/data/schemas/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().schemas().runs().list(...)` | `GET` | `/data/schemas/runs` | `Class responseType` | `@Nullable T` | +| `data().schemas().runs().list(...)` | `GET` | `/data/schemas/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().schemas().runs().get(...)` | `GET` | `/data/schemas/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().schemas().runs().get(...)` | `GET` | `/data/schemas/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().schemas().runs().get(...)` | `GET` | `/data/schemas/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().schemas().runs().get(...)` | `GET` | `/data/schemas/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().schemas().runs().create(...)` | `POST` | `/data/schemas/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().schemas().runs().create(...)` | `POST` | `/data/schemas/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().schemas().runs().create(...)` | `POST` | `/data/schemas/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().schemas().runs().create(...)` | `POST` | `/data/schemas/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().schemas().schemas().list(...)` | `GET` | `/data/schemas/schemas` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().schemas().schemas().list(...)` | `GET` | `/data/schemas/schemas` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().schemas().schemas().list(...)` | `GET` | `/data/schemas/schemas` | `Class responseType` | `@Nullable T` | +| `data().schemas().schemas().list(...)` | `GET` | `/data/schemas/schemas` | `TypeReference responseType` | `@Nullable T` | +| `data().schemas().schemas().get(...)` | `GET` | `/data/schemas/schemas/{param}` | `String schemaRef, QueryParams query, Class responseType` | `@Nullable T` | +| `data().schemas().schemas().get(...)` | `GET` | `/data/schemas/schemas/{param}` | `String schemaRef, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().schemas().schemas().get(...)` | `GET` | `/data/schemas/schemas/{param}` | `String schemaRef, Class responseType` | `@Nullable T` | +| `data().schemas().schemas().get(...)` | `GET` | `/data/schemas/schemas/{param}` | `String schemaRef, TypeReference responseType` | `@Nullable T` | +| `data().schemas().schemas().create(...)` | `POST` | `/data/schemas/schemas` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().schemas().schemas().create(...)` | `POST` | `/data/schemas/schemas` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().schemas().schemas().create(...)` | `POST` | `/data/schemas/schemas` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().schemas().schemas().create(...)` | `POST` | `/data/schemas/schemas` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().schemas().schemas().resolve(...)` | `POST` | `/data/schemas/schemas/resolve` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().schemas().schemas().resolve(...)` | `POST` | `/data/schemas/schemas/resolve` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().schemas().schemas().resolve(...)` | `POST` | `/data/schemas/schemas/resolve` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().schemas().schemas().resolve(...)` | `POST` | `/data/schemas/schemas/resolve` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().serving().capabilities().list(...)` | `GET` | `/data/serving/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().serving().capabilities().list(...)` | `GET` | `/data/serving/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().serving().capabilities().list(...)` | `GET` | `/data/serving/capabilities` | `Class responseType` | `@Nullable T` | +| `data().serving().capabilities().list(...)` | `GET` | `/data/serving/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().serving().runs().list(...)` | `GET` | `/data/serving/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().serving().runs().list(...)` | `GET` | `/data/serving/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().serving().runs().list(...)` | `GET` | `/data/serving/runs` | `Class responseType` | `@Nullable T` | +| `data().serving().runs().list(...)` | `GET` | `/data/serving/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().serving().runs().get(...)` | `GET` | `/data/serving/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().serving().runs().get(...)` | `GET` | `/data/serving/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().serving().runs().get(...)` | `GET` | `/data/serving/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().serving().runs().get(...)` | `GET` | `/data/serving/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().serving().runs().create(...)` | `POST` | `/data/serving/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().serving().runs().create(...)` | `POST` | `/data/serving/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().serving().runs().create(...)` | `POST` | `/data/serving/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().serving().runs().create(...)` | `POST` | `/data/serving/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().streams().capabilities().list(...)` | `GET` | `/data/streams/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().streams().capabilities().list(...)` | `GET` | `/data/streams/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().streams().capabilities().list(...)` | `GET` | `/data/streams/capabilities` | `Class responseType` | `@Nullable T` | +| `data().streams().capabilities().list(...)` | `GET` | `/data/streams/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().streams().runs().list(...)` | `GET` | `/data/streams/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().streams().runs().list(...)` | `GET` | `/data/streams/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().streams().runs().list(...)` | `GET` | `/data/streams/runs` | `Class responseType` | `@Nullable T` | +| `data().streams().runs().list(...)` | `GET` | `/data/streams/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().streams().runs().get(...)` | `GET` | `/data/streams/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().streams().runs().get(...)` | `GET` | `/data/streams/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().streams().runs().get(...)` | `GET` | `/data/streams/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().streams().runs().get(...)` | `GET` | `/data/streams/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().streams().runs().create(...)` | `POST` | `/data/streams/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().streams().runs().create(...)` | `POST` | `/data/streams/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().streams().runs().create(...)` | `POST` | `/data/streams/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().streams().runs().create(...)` | `POST` | `/data/streams/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().streams().streams().list(...)` | `GET` | `/data/streams/streams` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().streams().streams().list(...)` | `GET` | `/data/streams/streams` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().streams().streams().list(...)` | `GET` | `/data/streams/streams` | `Class responseType` | `@Nullable T` | +| `data().streams().streams().list(...)` | `GET` | `/data/streams/streams` | `TypeReference responseType` | `@Nullable T` | +| `data().streams().streams().get(...)` | `GET` | `/data/streams/streams/{param}` | `String streamId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().streams().streams().get(...)` | `GET` | `/data/streams/streams/{param}` | `String streamId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().streams().streams().get(...)` | `GET` | `/data/streams/streams/{param}` | `String streamId, Class responseType` | `@Nullable T` | +| `data().streams().streams().get(...)` | `GET` | `/data/streams/streams/{param}` | `String streamId, TypeReference responseType` | `@Nullable T` | +| `data().streams().streams().create(...)` | `POST` | `/data/streams/streams` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().streams().streams().create(...)` | `POST` | `/data/streams/streams` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().streams().streams().create(...)` | `POST` | `/data/streams/streams` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().streams().streams().create(...)` | `POST` | `/data/streams/streams` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().sync().capabilities().list(...)` | `GET` | `/data/sync/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().sync().capabilities().list(...)` | `GET` | `/data/sync/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().sync().capabilities().list(...)` | `GET` | `/data/sync/capabilities` | `Class responseType` | `@Nullable T` | +| `data().sync().capabilities().list(...)` | `GET` | `/data/sync/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().sync().runs().list(...)` | `GET` | `/data/sync/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().sync().runs().list(...)` | `GET` | `/data/sync/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().sync().runs().list(...)` | `GET` | `/data/sync/runs` | `Class responseType` | `@Nullable T` | +| `data().sync().runs().list(...)` | `GET` | `/data/sync/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().sync().runs().get(...)` | `GET` | `/data/sync/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().sync().runs().get(...)` | `GET` | `/data/sync/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().sync().runs().get(...)` | `GET` | `/data/sync/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().sync().runs().get(...)` | `GET` | `/data/sync/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().sync().runs().create(...)` | `POST` | `/data/sync/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().sync().runs().create(...)` | `POST` | `/data/sync/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().sync().runs().create(...)` | `POST` | `/data/sync/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().sync().runs().create(...)` | `POST` | `/data/sync/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().transformations().capabilities().list(...)` | `GET` | `/data/transformations/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().transformations().capabilities().list(...)` | `GET` | `/data/transformations/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().transformations().capabilities().list(...)` | `GET` | `/data/transformations/capabilities` | `Class responseType` | `@Nullable T` | +| `data().transformations().capabilities().list(...)` | `GET` | `/data/transformations/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `data().transformations().runs().list(...)` | `GET` | `/data/transformations/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().transformations().runs().list(...)` | `GET` | `/data/transformations/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().transformations().runs().list(...)` | `GET` | `/data/transformations/runs` | `Class responseType` | `@Nullable T` | +| `data().transformations().runs().list(...)` | `GET` | `/data/transformations/runs` | `TypeReference responseType` | `@Nullable T` | +| `data().transformations().runs().get(...)` | `GET` | `/data/transformations/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().transformations().runs().get(...)` | `GET` | `/data/transformations/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().transformations().runs().get(...)` | `GET` | `/data/transformations/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `data().transformations().runs().get(...)` | `GET` | `/data/transformations/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `data().transformations().runs().create(...)` | `POST` | `/data/transformations/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().transformations().runs().create(...)` | `POST` | `/data/transformations/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().transformations().runs().create(...)` | `POST` | `/data/transformations/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().transformations().runs().create(...)` | `POST` | `/data/transformations/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().transformations().transformations().list(...)` | `GET` | `/data/transformations/transformations` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().transformations().transformations().list(...)` | `GET` | `/data/transformations/transformations` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().transformations().transformations().list(...)` | `GET` | `/data/transformations/transformations` | `Class responseType` | `@Nullable T` | +| `data().transformations().transformations().list(...)` | `GET` | `/data/transformations/transformations` | `TypeReference responseType` | `@Nullable T` | +| `data().transformations().transformations().get(...)` | `GET` | `/data/transformations/transformations/{param}` | `String transformationId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().transformations().transformations().get(...)` | `GET` | `/data/transformations/transformations/{param}` | `String transformationId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().transformations().transformations().get(...)` | `GET` | `/data/transformations/transformations/{param}` | `String transformationId, Class responseType` | `@Nullable T` | +| `data().transformations().transformations().get(...)` | `GET` | `/data/transformations/transformations/{param}` | `String transformationId, TypeReference responseType` | `@Nullable T` | +| `data().transformations().transformations().create(...)` | `POST` | `/data/transformations/transformations` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().transformations().transformations().create(...)` | `POST` | `/data/transformations/transformations` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().transformations().transformations().create(...)` | `POST` | `/data/transformations/transformations` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().transformations().transformations().create(...)` | `POST` | `/data/transformations/transformations` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().aggregations().executions().create(...)` | `POST` | `/data/aggregations/aggregations/{param}/executions` | `String aggregationId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().aggregations().aggregations().executions().create(...)` | `POST` | `/data/aggregations/aggregations/{param}/executions` | `String aggregationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().aggregations().aggregations().executions().create(...)` | `POST` | `/data/aggregations/aggregations/{param}/executions` | `String aggregationId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().aggregations().aggregations().executions().create(...)` | `POST` | `/data/aggregations/aggregations/{param}/executions` | `String aggregationId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().archival().archival().policies().list(...)` | `GET` | `/data/archival/archival/policies` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().archival().archival().policies().list(...)` | `GET` | `/data/archival/archival/policies` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().archival().archival().policies().list(...)` | `GET` | `/data/archival/archival/policies` | `Class responseType` | `@Nullable T` | +| `data().archival().archival().policies().list(...)` | `GET` | `/data/archival/archival/policies` | `TypeReference responseType` | `@Nullable T` | +| `data().archival().archival().policies().get(...)` | `GET` | `/data/archival/archival/policies/{param}` | `String policyId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().archival().archival().policies().get(...)` | `GET` | `/data/archival/archival/policies/{param}` | `String policyId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().archival().archival().policies().get(...)` | `GET` | `/data/archival/archival/policies/{param}` | `String policyId, Class responseType` | `@Nullable T` | +| `data().archival().archival().policies().get(...)` | `GET` | `/data/archival/archival/policies/{param}` | `String policyId, TypeReference responseType` | `@Nullable T` | +| `data().archival().archival().policies().create(...)` | `POST` | `/data/archival/archival/policies` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().archival().archival().policies().create(...)` | `POST` | `/data/archival/archival/policies` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().archival().archival().policies().create(...)` | `POST` | `/data/archival/archival/policies` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().archival().archival().policies().create(...)` | `POST` | `/data/archival/archival/policies` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().list(...)` | `GET` | `/data/catalog/catalog/datasets` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().list(...)` | `GET` | `/data/catalog/catalog/datasets` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().list(...)` | `GET` | `/data/catalog/catalog/datasets` | `Class responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().list(...)` | `GET` | `/data/catalog/catalog/datasets` | `TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().get(...)` | `GET` | `/data/catalog/catalog/datasets/{param}` | `String datasetId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().get(...)` | `GET` | `/data/catalog/catalog/datasets/{param}` | `String datasetId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().get(...)` | `GET` | `/data/catalog/catalog/datasets/{param}` | `String datasetId, Class responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().get(...)` | `GET` | `/data/catalog/catalog/datasets/{param}` | `String datasetId, TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().sources().list(...)` | `GET` | `/data/catalog/catalog/sources` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().catalog().sources().list(...)` | `GET` | `/data/catalog/catalog/sources` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().sources().list(...)` | `GET` | `/data/catalog/catalog/sources` | `Class responseType` | `@Nullable T` | +| `data().catalog().catalog().sources().list(...)` | `GET` | `/data/catalog/catalog/sources` | `TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().sources().get(...)` | `GET` | `/data/catalog/catalog/sources/{param}` | `String sourceId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().catalog().sources().get(...)` | `GET` | `/data/catalog/catalog/sources/{param}` | `String sourceId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().sources().get(...)` | `GET` | `/data/catalog/catalog/sources/{param}` | `String sourceId, Class responseType` | `@Nullable T` | +| `data().catalog().catalog().sources().get(...)` | `GET` | `/data/catalog/catalog/sources/{param}` | `String sourceId, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().list(...)` | `GET` | `/data/enrichment/enrichment/profiles` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().list(...)` | `GET` | `/data/enrichment/enrichment/profiles` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().list(...)` | `GET` | `/data/enrichment/enrichment/profiles` | `Class responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().list(...)` | `GET` | `/data/enrichment/enrichment/profiles` | `TypeReference responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().get(...)` | `GET` | `/data/enrichment/enrichment/profiles/{param}` | `String profileId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().get(...)` | `GET` | `/data/enrichment/enrichment/profiles/{param}` | `String profileId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().get(...)` | `GET` | `/data/enrichment/enrichment/profiles/{param}` | `String profileId, Class responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().get(...)` | `GET` | `/data/enrichment/enrichment/profiles/{param}` | `String profileId, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().create(...)` | `POST` | `/data/enrichment/enrichment/profiles` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().create(...)` | `POST` | `/data/enrichment/enrichment/profiles` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().create(...)` | `POST` | `/data/enrichment/enrichment/profiles` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().create(...)` | `POST` | `/data/enrichment/enrichment/profiles` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().exports().exports().executions().create(...)` | `POST` | `/data/exports/exports/{param}/executions` | `String exportId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().exports().exports().executions().create(...)` | `POST` | `/data/exports/exports/{param}/executions` | `String exportId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().exports().exports().executions().create(...)` | `POST` | `/data/exports/exports/{param}/executions` | `String exportId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().exports().exports().executions().create(...)` | `POST` | `/data/exports/exports/{param}/executions` | `String exportId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().ingest().datasets().artifacts().getContent(...)` | `GET` | `/data/ingest/datasets/{param}/artifacts/{param}/content` | `String datasetId, String manifestId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().ingest().datasets().artifacts().getContent(...)` | `GET` | `/data/ingest/datasets/{param}/artifacts/{param}/content` | `String datasetId, String manifestId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().ingest().datasets().artifacts().getContent(...)` | `GET` | `/data/ingest/datasets/{param}/artifacts/{param}/content` | `String datasetId, String manifestId, Class responseType` | `@Nullable T` | +| `data().ingest().datasets().artifacts().getContent(...)` | `GET` | `/data/ingest/datasets/{param}/artifacts/{param}/content` | `String datasetId, String manifestId, TypeReference responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().list(...)` | `GET` | `/data/normalization/normalization/profiles` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().list(...)` | `GET` | `/data/normalization/normalization/profiles` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().list(...)` | `GET` | `/data/normalization/normalization/profiles` | `Class responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().list(...)` | `GET` | `/data/normalization/normalization/profiles` | `TypeReference responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().get(...)` | `GET` | `/data/normalization/normalization/profiles/{param}` | `String profileId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().get(...)` | `GET` | `/data/normalization/normalization/profiles/{param}` | `String profileId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().get(...)` | `GET` | `/data/normalization/normalization/profiles/{param}` | `String profileId, Class responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().get(...)` | `GET` | `/data/normalization/normalization/profiles/{param}` | `String profileId, TypeReference responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().create(...)` | `POST` | `/data/normalization/normalization/profiles` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().create(...)` | `POST` | `/data/normalization/normalization/profiles` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().create(...)` | `POST` | `/data/normalization/normalization/profiles` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().create(...)` | `POST` | `/data/normalization/normalization/profiles` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().list(...)` | `GET` | `/data/quality/quality/rulesets` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().list(...)` | `GET` | `/data/quality/quality/rulesets` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().list(...)` | `GET` | `/data/quality/quality/rulesets` | `Class responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().list(...)` | `GET` | `/data/quality/quality/rulesets` | `TypeReference responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().get(...)` | `GET` | `/data/quality/quality/rulesets/{param}` | `String rulesetId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().get(...)` | `GET` | `/data/quality/quality/rulesets/{param}` | `String rulesetId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().get(...)` | `GET` | `/data/quality/quality/rulesets/{param}` | `String rulesetId, Class responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().get(...)` | `GET` | `/data/quality/quality/rulesets/{param}` | `String rulesetId, TypeReference responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().create(...)` | `POST` | `/data/quality/quality/rulesets` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().create(...)` | `POST` | `/data/quality/quality/rulesets` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().create(...)` | `POST` | `/data/quality/quality/rulesets` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().create(...)` | `POST` | `/data/quality/quality/rulesets` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().serving().serving().products().list(...)` | `GET` | `/data/serving/serving/products` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().serving().serving().products().list(...)` | `GET` | `/data/serving/serving/products` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().serving().serving().products().list(...)` | `GET` | `/data/serving/serving/products` | `Class responseType` | `@Nullable T` | +| `data().serving().serving().products().list(...)` | `GET` | `/data/serving/serving/products` | `TypeReference responseType` | `@Nullable T` | +| `data().serving().serving().products().get(...)` | `GET` | `/data/serving/serving/products/{param}` | `String productId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().serving().serving().products().get(...)` | `GET` | `/data/serving/serving/products/{param}` | `String productId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().serving().serving().products().get(...)` | `GET` | `/data/serving/serving/products/{param}` | `String productId, Class responseType` | `@Nullable T` | +| `data().serving().serving().products().get(...)` | `GET` | `/data/serving/serving/products/{param}` | `String productId, TypeReference responseType` | `@Nullable T` | +| `data().serving().serving().products().create(...)` | `POST` | `/data/serving/serving/products` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().serving().serving().products().create(...)` | `POST` | `/data/serving/serving/products` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().serving().serving().products().create(...)` | `POST` | `/data/serving/serving/products` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().serving().serving().products().create(...)` | `POST` | `/data/serving/serving/products` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().streams().streams().deliveries().create(...)` | `POST` | `/data/streams/streams/{param}/deliveries` | `String streamId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().streams().streams().deliveries().create(...)` | `POST` | `/data/streams/streams/{param}/deliveries` | `String streamId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().streams().streams().deliveries().create(...)` | `POST` | `/data/streams/streams/{param}/deliveries` | `String streamId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().streams().streams().deliveries().create(...)` | `POST` | `/data/streams/streams/{param}/deliveries` | `String streamId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().sync().sync().jobs().list(...)` | `GET` | `/data/sync/sync/jobs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `data().sync().sync().jobs().list(...)` | `GET` | `/data/sync/sync/jobs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().sync().sync().jobs().list(...)` | `GET` | `/data/sync/sync/jobs` | `Class responseType` | `@Nullable T` | +| `data().sync().sync().jobs().list(...)` | `GET` | `/data/sync/sync/jobs` | `TypeReference responseType` | `@Nullable T` | +| `data().sync().sync().jobs().get(...)` | `GET` | `/data/sync/sync/jobs/{param}` | `String jobId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().sync().sync().jobs().get(...)` | `GET` | `/data/sync/sync/jobs/{param}` | `String jobId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().sync().sync().jobs().get(...)` | `GET` | `/data/sync/sync/jobs/{param}` | `String jobId, Class responseType` | `@Nullable T` | +| `data().sync().sync().jobs().get(...)` | `GET` | `/data/sync/sync/jobs/{param}` | `String jobId, TypeReference responseType` | `@Nullable T` | +| `data().sync().sync().jobs().create(...)` | `POST` | `/data/sync/sync/jobs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().sync().sync().jobs().create(...)` | `POST` | `/data/sync/sync/jobs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().sync().sync().jobs().create(...)` | `POST` | `/data/sync/sync/jobs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().sync().sync().jobs().create(...)` | `POST` | `/data/sync/sync/jobs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().transformations().transformations().executions().create(...)` | `POST` | `/data/transformations/transformations/{param}/executions` | `String transformationId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().transformations().transformations().executions().create(...)` | `POST` | `/data/transformations/transformations/{param}/executions` | `String transformationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().transformations().transformations().executions().create(...)` | `POST` | `/data/transformations/transformations/{param}/executions` | `String transformationId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().transformations().transformations().executions().create(...)` | `POST` | `/data/transformations/transformations/{param}/executions` | `String transformationId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().archival().archival().policies().executions().create(...)` | `POST` | `/data/archival/archival/policies/{param}/executions` | `String policyId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().archival().archival().policies().executions().create(...)` | `POST` | `/data/archival/archival/policies/{param}/executions` | `String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().archival().archival().policies().executions().create(...)` | `POST` | `/data/archival/archival/policies/{param}/executions` | `String policyId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().archival().archival().policies().executions().create(...)` | `POST` | `/data/archival/archival/policies/{param}/executions` | `String policyId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().artifacts().getContent(...)` | `GET` | `/data/catalog/catalog/datasets/{param}/artifacts/{param}/content` | `String datasetId, String manifestId, QueryParams query, Class responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().artifacts().getContent(...)` | `GET` | `/data/catalog/catalog/datasets/{param}/artifacts/{param}/content` | `String datasetId, String manifestId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().artifacts().getContent(...)` | `GET` | `/data/catalog/catalog/datasets/{param}/artifacts/{param}/content` | `String datasetId, String manifestId, Class responseType` | `@Nullable T` | +| `data().catalog().catalog().datasets().artifacts().getContent(...)` | `GET` | `/data/catalog/catalog/datasets/{param}/artifacts/{param}/content` | `String datasetId, String manifestId, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().executions().create(...)` | `POST` | `/data/enrichment/enrichment/profiles/{param}/executions` | `String profileId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().executions().create(...)` | `POST` | `/data/enrichment/enrichment/profiles/{param}/executions` | `String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().executions().create(...)` | `POST` | `/data/enrichment/enrichment/profiles/{param}/executions` | `String profileId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().enrichment().enrichment().profiles().executions().create(...)` | `POST` | `/data/enrichment/enrichment/profiles/{param}/executions` | `String profileId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().executions().create(...)` | `POST` | `/data/normalization/normalization/profiles/{param}/executions` | `String profileId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().executions().create(...)` | `POST` | `/data/normalization/normalization/profiles/{param}/executions` | `String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().executions().create(...)` | `POST` | `/data/normalization/normalization/profiles/{param}/executions` | `String profileId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().normalization().normalization().profiles().executions().create(...)` | `POST` | `/data/normalization/normalization/profiles/{param}/executions` | `String profileId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().evaluations().create(...)` | `POST` | `/data/quality/quality/rulesets/{param}/evaluations` | `String rulesetId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().evaluations().create(...)` | `POST` | `/data/quality/quality/rulesets/{param}/evaluations` | `String rulesetId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().evaluations().create(...)` | `POST` | `/data/quality/quality/rulesets/{param}/evaluations` | `String rulesetId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().quality().quality().rulesets().evaluations().create(...)` | `POST` | `/data/quality/quality/rulesets/{param}/evaluations` | `String rulesetId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().serving().serving().products().refreshes().create(...)` | `POST` | `/data/serving/serving/products/{param}/refreshes` | `String productId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().serving().serving().products().refreshes().create(...)` | `POST` | `/data/serving/serving/products/{param}/refreshes` | `String productId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().serving().serving().products().refreshes().create(...)` | `POST` | `/data/serving/serving/products/{param}/refreshes` | `String productId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().serving().serving().products().refreshes().create(...)` | `POST` | `/data/serving/serving/products/{param}/refreshes` | `String productId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().sync().sync().jobs().executions().create(...)` | `POST` | `/data/sync/sync/jobs/{param}/executions` | `String jobId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().sync().sync().jobs().executions().create(...)` | `POST` | `/data/sync/sync/jobs/{param}/executions` | `String jobId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `data().sync().sync().jobs().executions().create(...)` | `POST` | `/data/sync/sync/jobs/{param}/executions` | `String jobId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `data().sync().sync().jobs().executions().create(...)` | `POST` | `/data/sync/sync/jobs/{param}/executions` | `String jobId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/events.md b/docs/api/events.md index 38bbfa7..70a8aa0 100644 --- a/docs/api/events.md +++ b/docs/api/events.md @@ -2,44 +2,77 @@ Service accessor: `frontal.events()` (`EventsClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getEvents(...)` | `GET` | `/events` | `query, Class responseType` | `@Nullable T` | -| `getEvents(...)` | `GET` | `/events` | `query, TypeReference responseType` | `@Nullable T` | -| `getEventsMonitoring(...)` | `GET` | `/events/monitoring` | `query, Class responseType` | `@Nullable T` | -| `getEventsMonitoring(...)` | `GET` | `/events/monitoring` | `query, TypeReference responseType` | `@Nullable T` | -| `getEventsId(...)` | `GET` | `/events/{param}` | `id, query, Class responseType` | `@Nullable T` | -| `getEventsId(...)` | `GET` | `/events/{param}` | `id, query, TypeReference responseType` | `@Nullable T` | -| `postEvents(...)` | `POST` | `/events` | `query, body, Class responseType` | `@Nullable T` | -| `postEvents(...)` | `POST` | `/events` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsAnalytics(...)` | `POST` | `/events/analytics` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsAnalytics(...)` | `POST` | `/events/analytics` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsAnalyticsV2(...)` | `POST` | `/events/analytics-v2` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsAnalyticsV2(...)` | `POST` | `/events/analytics-v2` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsBenchmarkV1(...)` | `POST` | `/events/benchmark/v1` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsBenchmarkV1(...)` | `POST` | `/events/benchmark/v1` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsBenchmarkV2(...)` | `POST` | `/events/benchmark/v2` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsBenchmarkV2(...)` | `POST` | `/events/benchmark/v2` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsBulk(...)` | `POST` | `/events/bulk` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsBulk(...)` | `POST` | `/events/bulk` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsHuggingfaceBilling(...)` | `POST` | `/events/huggingface-billing` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsHuggingfaceBilling(...)` | `POST` | `/events/huggingface-billing` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsQuery(...)` | `POST` | `/events/query` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsQuery(...)` | `POST` | `/events/query` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsRawReprocessAll(...)` | `POST` | `/events/raw/reprocess/all` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsRawReprocessAll(...)` | `POST` | `/events/raw/reprocess/all` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsRawReprocessPending(...)` | `POST` | `/events/raw/reprocess/pending` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsRawReprocessPending(...)` | `POST` | `/events/raw/reprocess/pending` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsReprocess(...)` | `POST` | `/events/reprocess` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsReprocess(...)` | `POST` | `/events/reprocess` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsReprocessInternal(...)` | `POST` | `/events/reprocess/internal` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsReprocessInternal(...)` | `POST` | `/events/reprocess/internal` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsUsage(...)` | `POST` | `/events/usage` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsUsage(...)` | `POST` | `/events/usage` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postEventsUsageMeter(...)` | `POST` | `/events/usage/meter` | `query, body, Class responseType` | `@Nullable T` | -| `postEventsUsageMeter(...)` | `POST` | `/events/usage/meter` | `query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `events().list(...)` | `GET` | `/events` | `QueryParams query, Class responseType` | `@Nullable T` | +| `events().list(...)` | `GET` | `/events` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `events().list(...)` | `GET` | `/events` | `Class responseType` | `@Nullable T` | +| `events().list(...)` | `GET` | `/events` | `TypeReference responseType` | `@Nullable T` | +| `events().getMonitoring(...)` | `GET` | `/events/monitoring` | `QueryParams query, Class responseType` | `@Nullable T` | +| `events().getMonitoring(...)` | `GET` | `/events/monitoring` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `events().getMonitoring(...)` | `GET` | `/events/monitoring` | `Class responseType` | `@Nullable T` | +| `events().getMonitoring(...)` | `GET` | `/events/monitoring` | `TypeReference responseType` | `@Nullable T` | +| `events().get(...)` | `GET` | `/events/{param}` | `String id, QueryParams query, Class responseType` | `@Nullable T` | +| `events().get(...)` | `GET` | `/events/{param}` | `String id, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `events().get(...)` | `GET` | `/events/{param}` | `String id, Class responseType` | `@Nullable T` | +| `events().get(...)` | `GET` | `/events/{param}` | `String id, TypeReference responseType` | `@Nullable T` | +| `events().create(...)` | `POST` | `/events` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().create(...)` | `POST` | `/events` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().create(...)` | `POST` | `/events` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().create(...)` | `POST` | `/events` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().analytics(...)` | `POST` | `/events/analytics` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().analytics(...)` | `POST` | `/events/analytics` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().analytics(...)` | `POST` | `/events/analytics` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().analytics(...)` | `POST` | `/events/analytics` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().createAnalyticsV2(...)` | `POST` | `/events/analytics-v2` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().createAnalyticsV2(...)` | `POST` | `/events/analytics-v2` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().createAnalyticsV2(...)` | `POST` | `/events/analytics-v2` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().createAnalyticsV2(...)` | `POST` | `/events/analytics-v2` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().bulk(...)` | `POST` | `/events/bulk` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().bulk(...)` | `POST` | `/events/bulk` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().bulk(...)` | `POST` | `/events/bulk` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().bulk(...)` | `POST` | `/events/bulk` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().createHuggingfaceBilling(...)` | `POST` | `/events/huggingface-billing` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().createHuggingfaceBilling(...)` | `POST` | `/events/huggingface-billing` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().createHuggingfaceBilling(...)` | `POST` | `/events/huggingface-billing` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().createHuggingfaceBilling(...)` | `POST` | `/events/huggingface-billing` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().query(...)` | `POST` | `/events/query` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().query(...)` | `POST` | `/events/query` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().query(...)` | `POST` | `/events/query` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().query(...)` | `POST` | `/events/query` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().reprocess(...)` | `POST` | `/events/reprocess` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().reprocess(...)` | `POST` | `/events/reprocess` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().reprocess(...)` | `POST` | `/events/reprocess` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().reprocess(...)` | `POST` | `/events/reprocess` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().usage(...)` | `POST` | `/events/usage` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().usage(...)` | `POST` | `/events/usage` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().usage(...)` | `POST` | `/events/usage` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().usage(...)` | `POST` | `/events/usage` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().benchmark().createV1(...)` | `POST` | `/events/benchmark/v1` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().benchmark().createV1(...)` | `POST` | `/events/benchmark/v1` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().benchmark().createV1(...)` | `POST` | `/events/benchmark/v1` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().benchmark().createV1(...)` | `POST` | `/events/benchmark/v1` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().benchmark().createV2(...)` | `POST` | `/events/benchmark/v2` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().benchmark().createV2(...)` | `POST` | `/events/benchmark/v2` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().benchmark().createV2(...)` | `POST` | `/events/benchmark/v2` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().benchmark().createV2(...)` | `POST` | `/events/benchmark/v2` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().reprocess().createInternal(...)` | `POST` | `/events/reprocess/internal` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().reprocess().createInternal(...)` | `POST` | `/events/reprocess/internal` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().reprocess().createInternal(...)` | `POST` | `/events/reprocess/internal` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().reprocess().createInternal(...)` | `POST` | `/events/reprocess/internal` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().usage().createMeter(...)` | `POST` | `/events/usage/meter` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().usage().createMeter(...)` | `POST` | `/events/usage/meter` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().usage().createMeter(...)` | `POST` | `/events/usage/meter` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().usage().createMeter(...)` | `POST` | `/events/usage/meter` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().raw().reprocess().createAll(...)` | `POST` | `/events/raw/reprocess/all` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().raw().reprocess().createAll(...)` | `POST` | `/events/raw/reprocess/all` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().raw().reprocess().createAll(...)` | `POST` | `/events/raw/reprocess/all` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().raw().reprocess().createAll(...)` | `POST` | `/events/raw/reprocess/all` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().raw().reprocess().createPending(...)` | `POST` | `/events/raw/reprocess/pending` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().raw().reprocess().createPending(...)` | `POST` | `/events/raw/reprocess/pending` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `events().raw().reprocess().createPending(...)` | `POST` | `/events/raw/reprocess/pending` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `events().raw().reprocess().createPending(...)` | `POST` | `/events/raw/reprocess/pending` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/governance.md b/docs/api/governance.md index 0a2ccdf..c312085 100644 --- a/docs/api/governance.md +++ b/docs/api/governance.md @@ -2,58 +2,105 @@ Service accessor: `frontal.governance()` (`GovernanceClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deletePoliciesParam(...)` | `DELETE` | `/policies/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deletePoliciesParam(...)` | `DELETE` | `/policies/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `deleteRolesParam(...)` | `DELETE` | `/roles/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteRolesParam(...)` | `DELETE` | `/roles/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getComplianceAssessments(...)` | `GET` | `/compliance/assessments` | `query, Class responseType` | `@Nullable T` | -| `getComplianceAssessments(...)` | `GET` | `/compliance/assessments` | `query, TypeReference responseType` | `@Nullable T` | -| `getComplianceAssessmentsParam(...)` | `GET` | `/compliance/assessments/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getComplianceAssessmentsParam(...)` | `GET` | `/compliance/assessments/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getComplianceFrameworks(...)` | `GET` | `/compliance/frameworks` | `query, Class responseType` | `@Nullable T` | -| `getComplianceFrameworks(...)` | `GET` | `/compliance/frameworks` | `query, TypeReference responseType` | `@Nullable T` | -| `getComplianceScore(...)` | `GET` | `/compliance/score` | `query, Class responseType` | `@Nullable T` | -| `getComplianceScore(...)` | `GET` | `/compliance/score` | `query, TypeReference responseType` | `@Nullable T` | -| `getComplianceViolations(...)` | `GET` | `/compliance/violations` | `query, Class responseType` | `@Nullable T` | -| `getComplianceViolations(...)` | `GET` | `/compliance/violations` | `query, TypeReference responseType` | `@Nullable T` | -| `getPermissions(...)` | `GET` | `/permissions` | `query, Class responseType` | `@Nullable T` | -| `getPermissions(...)` | `GET` | `/permissions` | `query, TypeReference responseType` | `@Nullable T` | -| `getPermissionsParam(...)` | `GET` | `/permissions/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getPermissionsParam(...)` | `GET` | `/permissions/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getPolicies(...)` | `GET` | `/policies` | `query, Class responseType` | `@Nullable T` | -| `getPolicies(...)` | `GET` | `/policies` | `query, TypeReference responseType` | `@Nullable T` | -| `getPoliciesTemplates(...)` | `GET` | `/policies/templates` | `query, Class responseType` | `@Nullable T` | -| `getPoliciesTemplates(...)` | `GET` | `/policies/templates` | `query, TypeReference responseType` | `@Nullable T` | -| `getPoliciesParam(...)` | `GET` | `/policies/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getPoliciesParam(...)` | `GET` | `/policies/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getPoliciesParamVersions(...)` | `GET` | `/policies/{param}/versions` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getPoliciesParamVersions(...)` | `GET` | `/policies/{param}/versions` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getRoles(...)` | `GET` | `/roles` | `query, Class responseType` | `@Nullable T` | -| `getRoles(...)` | `GET` | `/roles` | `query, TypeReference responseType` | `@Nullable T` | -| `getRolesParam(...)` | `GET` | `/roles/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getRolesParam(...)` | `GET` | `/roles/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `postAccessCheck(...)` | `POST` | `/access/check` | `query, body, Class responseType` | `@Nullable T` | -| `postAccessCheck(...)` | `POST` | `/access/check` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postComplianceAssessments(...)` | `POST` | `/compliance/assessments` | `query, body, Class responseType` | `@Nullable T` | -| `postComplianceAssessments(...)` | `POST` | `/compliance/assessments` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postComplianceViolationsParamResolve(...)` | `POST` | `/compliance/violations/{param}/resolve` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postComplianceViolationsParamResolve(...)` | `POST` | `/compliance/violations/{param}/resolve` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postPermissions(...)` | `POST` | `/permissions` | `query, body, Class responseType` | `@Nullable T` | -| `postPermissions(...)` | `POST` | `/permissions` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postPolicies(...)` | `POST` | `/policies` | `query, body, Class responseType` | `@Nullable T` | -| `postPolicies(...)` | `POST` | `/policies` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postPoliciesFromTemplate(...)` | `POST` | `/policies/from-template` | `query, body, Class responseType` | `@Nullable T` | -| `postPoliciesFromTemplate(...)` | `POST` | `/policies/from-template` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postPoliciesValidate(...)` | `POST` | `/policies/validate` | `query, body, Class responseType` | `@Nullable T` | -| `postPoliciesValidate(...)` | `POST` | `/policies/validate` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postRoles(...)` | `POST` | `/roles` | `query, body, Class responseType` | `@Nullable T` | -| `postRoles(...)` | `POST` | `/roles` | `query, body, TypeReference responseType` | `@Nullable T` | -| `putPoliciesParam(...)` | `PUT` | `/policies/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `putPoliciesParam(...)` | `PUT` | `/policies/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `governance().access().check(...)` | `POST` | `/access/check` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().access().check(...)` | `POST` | `/access/check` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().access().check(...)` | `POST` | `/access/check` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().access().check(...)` | `POST` | `/access/check` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().getScore(...)` | `GET` | `/compliance/score` | `QueryParams query, Class responseType` | `@Nullable T` | +| `governance().compliance().getScore(...)` | `GET` | `/compliance/score` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().getScore(...)` | `GET` | `/compliance/score` | `Class responseType` | `@Nullable T` | +| `governance().compliance().getScore(...)` | `GET` | `/compliance/score` | `TypeReference responseType` | `@Nullable T` | +| `governance().permissions().list(...)` | `GET` | `/permissions` | `QueryParams query, Class responseType` | `@Nullable T` | +| `governance().permissions().list(...)` | `GET` | `/permissions` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().permissions().list(...)` | `GET` | `/permissions` | `Class responseType` | `@Nullable T` | +| `governance().permissions().list(...)` | `GET` | `/permissions` | `TypeReference responseType` | `@Nullable T` | +| `governance().permissions().get(...)` | `GET` | `/permissions/{param}` | `String permissionId, QueryParams query, Class responseType` | `@Nullable T` | +| `governance().permissions().get(...)` | `GET` | `/permissions/{param}` | `String permissionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().permissions().get(...)` | `GET` | `/permissions/{param}` | `String permissionId, Class responseType` | `@Nullable T` | +| `governance().permissions().get(...)` | `GET` | `/permissions/{param}` | `String permissionId, TypeReference responseType` | `@Nullable T` | +| `governance().permissions().create(...)` | `POST` | `/permissions` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().permissions().create(...)` | `POST` | `/permissions` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().permissions().create(...)` | `POST` | `/permissions` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().permissions().create(...)` | `POST` | `/permissions` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().delete(...)` | `DELETE` | `/policies/{param}` | `String policyId, QueryParams query, Class responseType` | `@Nullable T` | +| `governance().policies().delete(...)` | `DELETE` | `/policies/{param}` | `String policyId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().policies().delete(...)` | `DELETE` | `/policies/{param}` | `String policyId, Class responseType` | `@Nullable T` | +| `governance().policies().delete(...)` | `DELETE` | `/policies/{param}` | `String policyId, TypeReference responseType` | `@Nullable T` | +| `governance().policies().list(...)` | `GET` | `/policies` | `QueryParams query, Class responseType` | `@Nullable T` | +| `governance().policies().list(...)` | `GET` | `/policies` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().policies().list(...)` | `GET` | `/policies` | `Class responseType` | `@Nullable T` | +| `governance().policies().list(...)` | `GET` | `/policies` | `TypeReference responseType` | `@Nullable T` | +| `governance().policies().get(...)` | `GET` | `/policies/{param}` | `String policyId, QueryParams query, Class responseType` | `@Nullable T` | +| `governance().policies().get(...)` | `GET` | `/policies/{param}` | `String policyId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().policies().get(...)` | `GET` | `/policies/{param}` | `String policyId, Class responseType` | `@Nullable T` | +| `governance().policies().get(...)` | `GET` | `/policies/{param}` | `String policyId, TypeReference responseType` | `@Nullable T` | +| `governance().policies().create(...)` | `POST` | `/policies` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().policies().create(...)` | `POST` | `/policies` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().create(...)` | `POST` | `/policies` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().policies().create(...)` | `POST` | `/policies` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().createFromTemplate(...)` | `POST` | `/policies/from-template` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().policies().createFromTemplate(...)` | `POST` | `/policies/from-template` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().createFromTemplate(...)` | `POST` | `/policies/from-template` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().policies().createFromTemplate(...)` | `POST` | `/policies/from-template` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().validate(...)` | `POST` | `/policies/validate` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().policies().validate(...)` | `POST` | `/policies/validate` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().validate(...)` | `POST` | `/policies/validate` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().policies().validate(...)` | `POST` | `/policies/validate` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().update(...)` | `PUT` | `/policies/{param}` | `String policyId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().policies().update(...)` | `PUT` | `/policies/{param}` | `String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().update(...)` | `PUT` | `/policies/{param}` | `String policyId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().policies().update(...)` | `PUT` | `/policies/{param}` | `String policyId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().roles().delete(...)` | `DELETE` | `/roles/{param}` | `String roleId, QueryParams query, Class responseType` | `@Nullable T` | +| `governance().roles().delete(...)` | `DELETE` | `/roles/{param}` | `String roleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().roles().delete(...)` | `DELETE` | `/roles/{param}` | `String roleId, Class responseType` | `@Nullable T` | +| `governance().roles().delete(...)` | `DELETE` | `/roles/{param}` | `String roleId, TypeReference responseType` | `@Nullable T` | +| `governance().roles().list(...)` | `GET` | `/roles` | `QueryParams query, Class responseType` | `@Nullable T` | +| `governance().roles().list(...)` | `GET` | `/roles` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().roles().list(...)` | `GET` | `/roles` | `Class responseType` | `@Nullable T` | +| `governance().roles().list(...)` | `GET` | `/roles` | `TypeReference responseType` | `@Nullable T` | +| `governance().roles().get(...)` | `GET` | `/roles/{param}` | `String roleId, QueryParams query, Class responseType` | `@Nullable T` | +| `governance().roles().get(...)` | `GET` | `/roles/{param}` | `String roleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().roles().get(...)` | `GET` | `/roles/{param}` | `String roleId, Class responseType` | `@Nullable T` | +| `governance().roles().get(...)` | `GET` | `/roles/{param}` | `String roleId, TypeReference responseType` | `@Nullable T` | +| `governance().roles().create(...)` | `POST` | `/roles` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().roles().create(...)` | `POST` | `/roles` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().roles().create(...)` | `POST` | `/roles` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().roles().create(...)` | `POST` | `/roles` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().assessments().list(...)` | `GET` | `/compliance/assessments` | `QueryParams query, Class responseType` | `@Nullable T` | +| `governance().compliance().assessments().list(...)` | `GET` | `/compliance/assessments` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().assessments().list(...)` | `GET` | `/compliance/assessments` | `Class responseType` | `@Nullable T` | +| `governance().compliance().assessments().list(...)` | `GET` | `/compliance/assessments` | `TypeReference responseType` | `@Nullable T` | +| `governance().compliance().assessments().get(...)` | `GET` | `/compliance/assessments/{param}` | `String assessmentId, QueryParams query, Class responseType` | `@Nullable T` | +| `governance().compliance().assessments().get(...)` | `GET` | `/compliance/assessments/{param}` | `String assessmentId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().assessments().get(...)` | `GET` | `/compliance/assessments/{param}` | `String assessmentId, Class responseType` | `@Nullable T` | +| `governance().compliance().assessments().get(...)` | `GET` | `/compliance/assessments/{param}` | `String assessmentId, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().assessments().create(...)` | `POST` | `/compliance/assessments` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().compliance().assessments().create(...)` | `POST` | `/compliance/assessments` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().assessments().create(...)` | `POST` | `/compliance/assessments` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().compliance().assessments().create(...)` | `POST` | `/compliance/assessments` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().frameworks().list(...)` | `GET` | `/compliance/frameworks` | `QueryParams query, Class responseType` | `@Nullable T` | +| `governance().compliance().frameworks().list(...)` | `GET` | `/compliance/frameworks` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().frameworks().list(...)` | `GET` | `/compliance/frameworks` | `Class responseType` | `@Nullable T` | +| `governance().compliance().frameworks().list(...)` | `GET` | `/compliance/frameworks` | `TypeReference responseType` | `@Nullable T` | +| `governance().compliance().violations().list(...)` | `GET` | `/compliance/violations` | `QueryParams query, Class responseType` | `@Nullable T` | +| `governance().compliance().violations().list(...)` | `GET` | `/compliance/violations` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().violations().list(...)` | `GET` | `/compliance/violations` | `Class responseType` | `@Nullable T` | +| `governance().compliance().violations().list(...)` | `GET` | `/compliance/violations` | `TypeReference responseType` | `@Nullable T` | +| `governance().compliance().violations().resolve(...)` | `POST` | `/compliance/violations/{param}/resolve` | `String violationId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().compliance().violations().resolve(...)` | `POST` | `/compliance/violations/{param}/resolve` | `String violationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().compliance().violations().resolve(...)` | `POST` | `/compliance/violations/{param}/resolve` | `String violationId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `governance().compliance().violations().resolve(...)` | `POST` | `/compliance/violations/{param}/resolve` | `String violationId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `governance().policies().templates().list(...)` | `GET` | `/policies/templates` | `QueryParams query, Class responseType` | `@Nullable T` | +| `governance().policies().templates().list(...)` | `GET` | `/policies/templates` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().policies().templates().list(...)` | `GET` | `/policies/templates` | `Class responseType` | `@Nullable T` | +| `governance().policies().templates().list(...)` | `GET` | `/policies/templates` | `TypeReference responseType` | `@Nullable T` | +| `governance().policies().versions().list(...)` | `GET` | `/policies/{param}/versions` | `String policyId, QueryParams query, Class responseType` | `@Nullable T` | +| `governance().policies().versions().list(...)` | `GET` | `/policies/{param}/versions` | `String policyId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `governance().policies().versions().list(...)` | `GET` | `/policies/{param}/versions` | `String policyId, Class responseType` | `@Nullable T` | +| `governance().policies().versions().list(...)` | `GET` | `/policies/{param}/versions` | `String policyId, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/invocations.md b/docs/api/invocations.md index fac8d49..05b04b0 100644 --- a/docs/api/invocations.md +++ b/docs/api/invocations.md @@ -2,12 +2,13 @@ Service accessor: `frontal.invocations()` (`InvocationsClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `postInvocations(...)` | `POST` | `/invocations` | `query, body, Class responseType` | `@Nullable T` | -| `postInvocations(...)` | `POST` | `/invocations` | `query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `invocations().create(...)` | `POST` | `/invocations` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `invocations().create(...)` | `POST` | `/invocations` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `invocations().create(...)` | `POST` | `/invocations` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `invocations().create(...)` | `POST` | `/invocations` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/lineage.md b/docs/api/lineage.md index 092c4de..b1a38e2 100644 --- a/docs/api/lineage.md +++ b/docs/api/lineage.md @@ -2,24 +2,37 @@ Service accessor: `frontal.lineage()` (`LineageClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getLineageEdges(...)` | `GET` | `/lineage/edges` | `query, Class responseType` | `@Nullable T` | -| `getLineageEdges(...)` | `GET` | `/lineage/edges` | `query, TypeReference responseType` | `@Nullable T` | -| `getLineageEdgesParam(...)` | `GET` | `/lineage/edges/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getLineageEdgesParam(...)` | `GET` | `/lineage/edges/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getLineageGraph(...)` | `GET` | `/lineage/graph` | `query, Class responseType` | `@Nullable T` | -| `getLineageGraph(...)` | `GET` | `/lineage/graph` | `query, TypeReference responseType` | `@Nullable T` | -| `getLineageNodes(...)` | `GET` | `/lineage/nodes` | `query, Class responseType` | `@Nullable T` | -| `getLineageNodes(...)` | `GET` | `/lineage/nodes` | `query, TypeReference responseType` | `@Nullable T` | -| `getLineageNodesParam(...)` | `GET` | `/lineage/nodes/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getLineageNodesParam(...)` | `GET` | `/lineage/nodes/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getLineageNodesParamTrace(...)` | `GET` | `/lineage/nodes/{param}/trace` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getLineageNodesParamTrace(...)` | `GET` | `/lineage/nodes/{param}/trace` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `postLineageImpact(...)` | `POST` | `/lineage/impact` | `query, body, Class responseType` | `@Nullable T` | -| `postLineageImpact(...)` | `POST` | `/lineage/impact` | `query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `lineage().getGraph(...)` | `GET` | `/lineage/graph` | `QueryParams query, Class responseType` | `@Nullable T` | +| `lineage().getGraph(...)` | `GET` | `/lineage/graph` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `lineage().getGraph(...)` | `GET` | `/lineage/graph` | `Class responseType` | `@Nullable T` | +| `lineage().getGraph(...)` | `GET` | `/lineage/graph` | `TypeReference responseType` | `@Nullable T` | +| `lineage().createImpact(...)` | `POST` | `/lineage/impact` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `lineage().createImpact(...)` | `POST` | `/lineage/impact` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `lineage().createImpact(...)` | `POST` | `/lineage/impact` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `lineage().createImpact(...)` | `POST` | `/lineage/impact` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `lineage().edges().list(...)` | `GET` | `/lineage/edges` | `QueryParams query, Class responseType` | `@Nullable T` | +| `lineage().edges().list(...)` | `GET` | `/lineage/edges` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `lineage().edges().list(...)` | `GET` | `/lineage/edges` | `Class responseType` | `@Nullable T` | +| `lineage().edges().list(...)` | `GET` | `/lineage/edges` | `TypeReference responseType` | `@Nullable T` | +| `lineage().edges().get(...)` | `GET` | `/lineage/edges/{param}` | `String edgeId, QueryParams query, Class responseType` | `@Nullable T` | +| `lineage().edges().get(...)` | `GET` | `/lineage/edges/{param}` | `String edgeId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `lineage().edges().get(...)` | `GET` | `/lineage/edges/{param}` | `String edgeId, Class responseType` | `@Nullable T` | +| `lineage().edges().get(...)` | `GET` | `/lineage/edges/{param}` | `String edgeId, TypeReference responseType` | `@Nullable T` | +| `lineage().nodes().list(...)` | `GET` | `/lineage/nodes` | `QueryParams query, Class responseType` | `@Nullable T` | +| `lineage().nodes().list(...)` | `GET` | `/lineage/nodes` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `lineage().nodes().list(...)` | `GET` | `/lineage/nodes` | `Class responseType` | `@Nullable T` | +| `lineage().nodes().list(...)` | `GET` | `/lineage/nodes` | `TypeReference responseType` | `@Nullable T` | +| `lineage().nodes().get(...)` | `GET` | `/lineage/nodes/{param}` | `String nodeId, QueryParams query, Class responseType` | `@Nullable T` | +| `lineage().nodes().get(...)` | `GET` | `/lineage/nodes/{param}` | `String nodeId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `lineage().nodes().get(...)` | `GET` | `/lineage/nodes/{param}` | `String nodeId, Class responseType` | `@Nullable T` | +| `lineage().nodes().get(...)` | `GET` | `/lineage/nodes/{param}` | `String nodeId, TypeReference responseType` | `@Nullable T` | +| `lineage().nodes().getTrace(...)` | `GET` | `/lineage/nodes/{param}/trace` | `String nodeId, QueryParams query, Class responseType` | `@Nullable T` | +| `lineage().nodes().getTrace(...)` | `GET` | `/lineage/nodes/{param}/trace` | `String nodeId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `lineage().nodes().getTrace(...)` | `GET` | `/lineage/nodes/{param}/trace` | `String nodeId, Class responseType` | `@Nullable T` | +| `lineage().nodes().getTrace(...)` | `GET` | `/lineage/nodes/{param}/trace` | `String nodeId, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/methods-as-code.md b/docs/api/methods-as-code.md index 010b9a6..28c2f55 100644 --- a/docs/api/methods-as-code.md +++ b/docs/api/methods-as-code.md @@ -1,771 +1,732 @@ -# SDK methods as Java call lines +# Canonical Java calls -One call-shaped line for every method listed in the service API reference. `/* args */` is a placeholder; use the linked service page for the exact signature, argument order, and response type. Streaming methods are listed with both their publisher and blocking forms. +Generated from the contract route catalog. Query parameters are optional; use `QueryParams` when required by the endpoint. ## agents ```java -client.agents().deleteAgentsParam(/* args */); -client.agents().getAgents(/* args */); -client.agents().getAgentsHealth(/* args */); -client.agents().getAgentsRunsParam(/* args */); -client.agents().getAgentsRunsParamConversation(/* args */); -client.agents().getAgentsParam(/* args */); -client.agents().getAgentsParamRuns(/* args */); -client.agents().getAgentsParamVersions(/* args */); -client.agents().postAgents(/* args */); -client.agents().postAgentsParamRollback(/* args */); -client.agents().postAgentsParamRuns(/* args */); -client.agents().putAgentsParam(/* args */); -client.agents().streamAgentsRunsParamStream(/* args */); -client.agents().streamAgentsRunsParamStreamBlocking(/* args */); -client.agents().getActionRun(/* args */); +client.agents().delete(agentId, responseType); +client.agents().list(responseType); +client.agents().health(responseType); +client.agents().get(agentId, responseType); +client.agents().create(body, responseType); +client.agents().rollback(agentId, body, responseType); +client.agents().update(agentId, body, responseType); +client.agents().runs().getByActionRunId(actionRunId, responseType); +client.agents().runs().get(runId, responseType); +client.agents().runs().conversation(runId, responseType); +client.agents().runs().list(agentId, responseType); +client.agents().runs().create(agentId, body, responseType); +client.agents().runs().stream(runId); +client.agents().runs().streamBlocking(runId); +client.agents().versions().list(agentId, responseType); ``` -Full signatures: [agents](./agents.md). - ## ai ```java -client.ai().getHealth(/* args */); -client.ai().getInternalModels(/* args */); -client.ai().getInternalModelsDefaults(/* args */); -client.ai().postAiChatCompletions(/* args */); -client.ai().postInternalEmbeddings(/* args */); -client.ai().postInternalPredictions(/* args */); -client.ai().postInternalRerank(/* args */); -client.ai().postformdataInternalPredictions(/* args */); -client.ai().postrawInternalPredictions(/* args */); +client.ai().health(responseType); +client.ai().internal().embed(body, responseType); +client.ai().internal().predict(body, responseType); +client.ai().internal().rerank(body, responseType); +client.ai().internal().predictForm(fields, files, responseType); +client.ai().internal().predictRaw(body, responseType); +client.ai().chat().completions().create(body, responseType); +client.ai().internal().models().list(responseType); +client.ai().internal().models().defaults(responseType); ``` -Full signatures: [ai](./ai.md). - ## audit ```java -client.audit().getAuditEvents(/* args */); -client.audit().getAuditEventsParam(/* args */); -client.audit().postAuditEvents(/* args */); -client.audit().postAuditEventsBatch(/* args */); +client.audit().events().list(responseType); +client.audit().events().get(eventId, responseType); +client.audit().events().create(body, responseType); +client.audit().events().batch(body, responseType); ``` -Full signatures: [audit](./audit.md). - ## auth ```java -client.auth().deleteAuthAccountMfaParam(/* args */); -client.auth().deleteAuthAccountProfile(/* args */); -client.auth().deleteAuthAccountSecurityApiKeysParam(/* args */); -client.auth().deleteAuthAccountSecurityDevicesParam(/* args */); -client.auth().deleteAuthAccountSessionsParam(/* args */); -client.auth().deleteAuthAdminUsersParam(/* args */); -client.auth().deleteAuthAdminUsersParamFactorsParam(/* args */); -client.auth().deleteAuthFactorsParam(/* args */); -client.auth().deleteAuthUserIdentitiesParam(/* args */); -client.auth().getAuthAccountAuditLog(/* args */); -client.auth().getAuthAccountMfa(/* args */); -client.auth().getAuthAccountMfaParam(/* args */); -client.auth().getAuthAccountProfile(/* args */); -client.auth().getAuthAccountSecurityApiKeys(/* args */); -client.auth().getAuthAccountSecurityApiKeysParam(/* args */); -client.auth().getAuthAccountSecurityDevices(/* args */); -client.auth().getAuthAccountSecurityDevicesParam(/* args */); -client.auth().getAuthAccountSessions(/* args */); -client.auth().getAuthAdminUsers(/* args */); -client.auth().getAuthAdminUsersParam(/* args */); -client.auth().getAuthAdminUsersParamFactors(/* args */); -client.auth().getAuthAuthSession(/* args */); -client.auth().getAuthFactors(/* args */); -client.auth().getAuthMfaStatus(/* args */); -client.auth().getAuthUser(/* args */); -client.auth().getAuthUserIdentities(/* args */); -client.auth().postAuthAccountMfa(/* args */); -client.auth().postAuthAccountMfaParamChallenge(/* args */); -client.auth().postAuthAccountMfaParamVerify(/* args */); -client.auth().postAuthAccountPassword(/* args */); -client.auth().postAuthAccountSecurityApiKeys(/* args */); -client.auth().postAuthAccountSecurityDevices(/* args */); -client.auth().postAuthAccountSecurityDevicesParamTrust(/* args */); -client.auth().postAuthAccountSessionsParamExtend(/* args */); -client.auth().postAuthAdminGenerateLink(/* args */); -client.auth().postAuthAdminLogout(/* args */); -client.auth().postAuthAdminUsers(/* args */); -client.auth().postAuthAuthSession(/* args */); -client.auth().postAuthAuthorize(/* args */); -client.auth().postAuthFactors(/* args */); -client.auth().postAuthFactorsParamChallenge(/* args */); -client.auth().postAuthFactorsParamVerify(/* args */); -client.auth().postAuthInvite(/* args */); -client.auth().postAuthLogin(/* args */); -client.auth().postAuthLogout(/* args */); -client.auth().postAuthMfaBackupCodesRegenerate(/* args */); -client.auth().postAuthMfaDisable(/* args */); -client.auth().postAuthMfaEnable(/* args */); -client.auth().postAuthMfaSetup(/* args */); -client.auth().postAuthMfaVerify(/* args */); -client.auth().postAuthOtp(/* args */); -client.auth().postAuthReauthenticate(/* args */); -client.auth().postAuthRecover(/* args */); -client.auth().postAuthResend(/* args */); -client.auth().postAuthSignup(/* args */); -client.auth().postAuthSso(/* args */); -client.auth().postAuthTokenGrantTypeIdToken(/* args */); -client.auth().postAuthTokenGrantTypePassword(/* args */); -client.auth().postAuthTokenGrantTypePkce(/* args */); -client.auth().postAuthTokenGrantTypeRefreshToken(/* args */); -client.auth().postAuthUserIdentities(/* args */); -client.auth().postAuthVerify(/* args */); -client.auth().putAuthAccountProfile(/* args */); -client.auth().putAuthAccountSecurityApiKeysParam(/* args */); -client.auth().putAuthAdminUsersParam(/* args */); -client.auth().putAuthUser(/* args */); +client.auth().getUser(responseType); +client.auth().createAuthorize(body, responseType); +client.auth().createInvite(body, responseType); +client.auth().login(body, responseType); +client.auth().logout(body, responseType); +client.auth().createOtp(body, responseType); +client.auth().createReauthenticate(body, responseType); +client.auth().createRecover(body, responseType); +client.auth().createResend(body, responseType); +client.auth().createSignup(body, responseType); +client.auth().createSso(body, responseType); +client.auth().createTokenGrantTypeIdToken(body, responseType); +client.auth().createTokenGrantTypePassword(body, responseType); +client.auth().createTokenGrantTypePkce(body, responseType); +client.auth().createTokenGrantTypeRefreshToken(body, responseType); +client.auth().verify(body, responseType); +client.auth().updateUser(body, responseType); +client.auth().account().deleteProfile(responseType); +client.auth().account().getAuditLog(responseType); +client.auth().account().getMfa(responseType); +client.auth().account().getProfile(responseType); +client.auth().account().createMfa(body, responseType); +client.auth().account().createPassword(body, responseType); +client.auth().account().updateProfile(body, responseType); +client.auth().admin().createGenerateLink(body, responseType); +client.auth().admin().logout(body, responseType); +client.auth().auth().getSession(responseType); +client.auth().auth().createSession(body, responseType); +client.auth().factors().delete(factorId, responseType); +client.auth().factors().list(responseType); +client.auth().factors().create(body, responseType); +client.auth().factors().createChallenge(factorId, body, responseType); +client.auth().factors().verify(factorId, body, responseType); +client.auth().mfa().status(responseType); +client.auth().mfa().disable(body, responseType); +client.auth().mfa().enable(body, responseType); +client.auth().mfa().setup(body, responseType); +client.auth().mfa().verify(body, responseType); +client.auth().account().mfa().delete(mfaId, responseType); +client.auth().account().mfa().get(mfaId, responseType); +client.auth().account().mfa().createChallenge(mfaId, body, responseType); +client.auth().account().mfa().verify(mfaId, body, responseType); +client.auth().account().sessions().delete(sessionId, responseType); +client.auth().account().sessions().list(responseType); +client.auth().account().sessions().extend(sessionId, body, responseType); +client.auth().admin().users().delete(userId, responseType); +client.auth().admin().users().list(responseType); +client.auth().admin().users().get(userId, responseType); +client.auth().admin().users().create(body, responseType); +client.auth().admin().users().update(userId, body, responseType); +client.auth().mfa().backupCodes().createRegenerate(body, responseType); +client.auth().user().identities().delete(identityId, responseType); +client.auth().user().identities().list(responseType); +client.auth().user().identities().create(body, responseType); +client.auth().account().security().apiKeys().delete(apiKeyId, responseType); +client.auth().account().security().apiKeys().list(responseType); +client.auth().account().security().apiKeys().get(apiKeyId, responseType); +client.auth().account().security().apiKeys().create(body, responseType); +client.auth().account().security().apiKeys().update(apiKeyId, body, responseType); +client.auth().account().security().devices().delete(deviceId, responseType); +client.auth().account().security().devices().list(responseType); +client.auth().account().security().devices().get(deviceId, responseType); +client.auth().account().security().devices().create(body, responseType); +client.auth().account().security().devices().trust(deviceId, body, responseType); +client.auth().admin().users().factors().delete(userId, factorId, responseType); +client.auth().admin().users().factors().list(userId, responseType); ``` -Full signatures: [auth](./auth.md). - ## billing ```java -client.billing().getBillingAddonsParamEntitlements(/* args */); -client.billing().getBillingCustomersPortalParam(/* args */); -client.billing().getBillingCustomersParamEntitlements(/* args */); -client.billing().getBillingCustomersParamInvoicesSummary(/* args */); -client.billing().getBillingCustomersParamUsage(/* args */); -client.billing().getBillingCustomersParamWallets(/* args */); -client.billing().getBillingPlansParamEntitlements(/* args */); -client.billing().getBillingPricesLookupParam(/* args */); -client.billing().getBillingSubscriptionsParamEntitlements(/* args */); -client.billing().getBillingWalletsParamBalanceRealTime(/* args */); -client.billing().getBillingWalletsParamTransactions(/* args */); -client.billing().getrawBillingInvoicesParamPdf(/* args */); -client.billing().postBillingInvoicesPreview(/* args */); -client.billing().postBillingInvoicesParamFinalize(/* args */); -client.billing().postBillingInvoicesParamVoid(/* args */); -client.billing().postBillingMetersParamDisable(/* args */); -client.billing().postBillingPlansParamClone(/* args */); -client.billing().postBillingSubscriptionsParamActivate(/* args */); -client.billing().postBillingSubscriptionsParamCancel(/* args */); -client.billing().postBillingSubscriptionsParamPause(/* args */); -client.billing().postBillingSubscriptionsParamResume(/* args */); -client.billing().postBillingWalletsParamTerminate(/* args */); -client.billing().postBillingWalletsParamTopUp(/* args */); +client.billing().customers().usage(customerId, responseType); +client.billing().invoices().getPdf(invoiceId, responseType); +client.billing().invoices().preview(body, responseType); +client.billing().invoices().finalize(invoiceId, body, responseType); +client.billing().invoices().resourceVoid(invoiceId, body, responseType); +client.billing().meters().disable(meterId, body, responseType); +client.billing().plans().clone(planId, body, responseType); +client.billing().subscriptions().activate(subscriptionId, body, responseType); +client.billing().subscriptions().cancel(subscriptionId, body, responseType); +client.billing().subscriptions().pause(subscriptionId, body, responseType); +client.billing().subscriptions().resume(subscriptionId, body, responseType); +client.billing().wallets().createTerminate(walletId, body, responseType); +client.billing().wallets().topUp(walletId, body, responseType); +client.billing().addons().entitlements().list(addonId, responseType); +client.billing().customers().entitlements().list(customerId, responseType); +client.billing().customers().invoices().summary(customerId, responseType); +client.billing().customers().portal().get(portalId, responseType); +client.billing().customers().wallets().list(customerId, responseType); +client.billing().plans().entitlements().list(planId, responseType); +client.billing().prices().lookup().get(lookupId, responseType); +client.billing().subscriptions().entitlements().list(subscriptionId, responseType); +client.billing().wallets().balance().getRealTime(walletId, responseType); +client.billing().wallets().transactions().list(walletId, responseType); ``` -Full signatures: [billing](./billing.md). - ## blob ```java -client.blob().deleteBlobObjectParamParam(/* args */); -client.blob().getBlobObjectInfoParamParam(/* args */); -client.blob().getBlobObjectParamParam(/* args */); -client.blob().postBlobObjectCopy(/* args */); -client.blob().postBlobObjectListParam(/* args */); -client.blob().postBlobObjectMove(/* args */); -client.blob().postBlobObjectSignParamParam(/* args */); -client.blob().postformdataBlobObjectParamParam(/* args */); +client.blob().object().delete(objectId, objectId2, responseType); +client.blob().object().get(objectId, objectId2, responseType); +client.blob().object().copy(body, responseType); +client.blob().object().move(body, responseType); +client.blob().object().get2(objectId, objectId2, fields, files, responseType); +client.blob().object().info().get(infoId, infoId2, responseType); +client.blob().object().list().get(listId, body, responseType); +client.blob().object().sign().get(signId, signId2, body, responseType); ``` -Full signatures: [blob](./blob.md). - ## connection-tests ```java -client.connectionTests().getConnectionTestsConnectionTestId(/* args */); +client.connectionTests().get(connectionTestId, responseType); ``` -Full signatures: [connection-tests](./connection-tests.md). - ## connectors ```java -client.connectors().deleteConnectorsInstallationsParam(/* args */); -client.connectors().getConnectorsCatalog(/* args */); -client.connectors().getConnectorsCatalogParam(/* args */); -client.connectors().getConnectorsConnectionTestsParam(/* args */); -client.connectors().getConnectorsInstallations(/* args */); -client.connectors().getConnectorsInstallationsParam(/* args */); -client.connectors().getDiagnostics(/* args */); -client.connectors().patchConnectorsInstallationsParam(/* args */); -client.connectors().postConnectorsInstallations(/* args */); -client.connectors().postConnectorsInstallationsParamPause(/* args */); -client.connectors().postConnectorsInstallationsParamResume(/* args */); -client.connectors().postConnectorsSyncRunsParamReplay(/* args */); +client.connectors().getCatalog(responseType); +client.connectors().catalog().get(catalogId, responseType); +client.connectors().connectionTests().get(connectionTestId, responseType); +client.connectors().diagnostics().list(responseType); +client.connectors().installations().delete(installationId, responseType); +client.connectors().installations().list(responseType); +client.connectors().installations().get(installationId, responseType); +client.connectors().installations().update(installationId, body, responseType); +client.connectors().installations().create(body, responseType); +client.connectors().installations().pause(installationId, body, responseType); +client.connectors().installations().resume(installationId, body, responseType); +client.connectors().syncRuns().replay(syncRunId, body, responseType); ``` -Full signatures: [connectors](./connectors.md). - ## data ```java -client.data().getDataAggregationsAggregations(/* args */); -client.data().getDataAggregationsAggregationsAggregationId(/* args */); -client.data().getDataAggregationsCapabilities(/* args */); -client.data().getDataAggregationsHealth(/* args */); -client.data().getDataAggregationsInfo(/* args */); -client.data().getDataAggregationsRuns(/* args */); -client.data().getDataAggregationsRunsRunId(/* args */); -client.data().getDataArchivalArchivalPolicies(/* args */); -client.data().getDataArchivalArchivalPoliciesPolicyId(/* args */); -client.data().getDataArchivalCapabilities(/* args */); -client.data().getDataArchivalHealth(/* args */); -client.data().getDataArchivalInfo(/* args */); -client.data().getDataArchivalRuns(/* args */); -client.data().getDataArchivalRunsRunId(/* args */); -client.data().getDataCatalogCapabilities(/* args */); -client.data().getDataCatalogCatalogDatasets(/* args */); -client.data().getDataCatalogCatalogDatasetsDatasetId(/* args */); -client.data().getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent(/* args */); -client.data().getDataCatalogCatalogSources(/* args */); -client.data().getDataCatalogCatalogSourcesSourceId(/* args */); -client.data().getDataCatalogHealth(/* args */); -client.data().getDataCatalogInfo(/* args */); -client.data().getDataCatalogRuns(/* args */); -client.data().getDataCatalogRunsRunId(/* args */); -client.data().getDataEnrichmentCapabilities(/* args */); -client.data().getDataEnrichmentEnrichmentProfiles(/* args */); -client.data().getDataEnrichmentEnrichmentProfilesProfileId(/* args */); -client.data().getDataEnrichmentHealth(/* args */); -client.data().getDataEnrichmentInfo(/* args */); -client.data().getDataEnrichmentRuns(/* args */); -client.data().getDataEnrichmentRunsRunId(/* args */); -client.data().getDataExportsCapabilities(/* args */); -client.data().getDataExportsExports(/* args */); -client.data().getDataExportsExportsExportId(/* args */); -client.data().getDataExportsHealth(/* args */); -client.data().getDataExportsInfo(/* args */); -client.data().getDataExportsRuns(/* args */); -client.data().getDataExportsRunsRunId(/* args */); -client.data().getDataIngestCapabilities(/* args */); -client.data().getDataIngestDatasets(/* args */); -client.data().getDataIngestDatasetsDatasetId(/* args */); -client.data().getDataIngestDatasetsDatasetIdArtifactsManifestIdContent(/* args */); -client.data().getDataIngestHealth(/* args */); -client.data().getDataIngestInfo(/* args */); -client.data().getDataIngestRuns(/* args */); -client.data().getDataIngestRunsRunId(/* args */); -client.data().getDataIngestSchemas(/* args */); -client.data().getDataIngestSchemasSchemaRef(/* args */); -client.data().getDataNormalizationCapabilities(/* args */); -client.data().getDataNormalizationHealth(/* args */); -client.data().getDataNormalizationInfo(/* args */); -client.data().getDataNormalizationNormalizationProfiles(/* args */); -client.data().getDataNormalizationNormalizationProfilesProfileId(/* args */); -client.data().getDataNormalizationRuns(/* args */); -client.data().getDataNormalizationRunsRunId(/* args */); -client.data().getDataPipelinesCapabilities(/* args */); -client.data().getDataPipelinesHealth(/* args */); -client.data().getDataPipelinesInfo(/* args */); -client.data().getDataPipelinesPipelineRuns(/* args */); -client.data().getDataPipelinesPipelineRunsRunId(/* args */); -client.data().getDataPipelinesPipelines(/* args */); -client.data().getDataPipelinesPipelinesDefinitionId(/* args */); -client.data().getDataPipelinesRuns(/* args */); -client.data().getDataPipelinesRunsRunId(/* args */); -client.data().getDataQualityCapabilities(/* args */); -client.data().getDataQualityHealth(/* args */); -client.data().getDataQualityInfo(/* args */); -client.data().getDataQualityQualityRulesets(/* args */); -client.data().getDataQualityQualityRulesetsRulesetId(/* args */); -client.data().getDataQualityRuns(/* args */); -client.data().getDataQualityRunsRunId(/* args */); -client.data().getDataQueryCapabilities(/* args */); -client.data().getDataQueryHealth(/* args */); -client.data().getDataQueryInfo(/* args */); -client.data().getDataQueryRuns(/* args */); -client.data().getDataQueryRunsRunId(/* args */); -client.data().getDataSchemasCapabilities(/* args */); -client.data().getDataSchemasHealth(/* args */); -client.data().getDataSchemasInfo(/* args */); -client.data().getDataSchemasRuns(/* args */); -client.data().getDataSchemasRunsRunId(/* args */); -client.data().getDataSchemasSchemas(/* args */); -client.data().getDataSchemasSchemasSchemaRef(/* args */); -client.data().getDataServingCapabilities(/* args */); -client.data().getDataServingHealth(/* args */); -client.data().getDataServingInfo(/* args */); -client.data().getDataServingRuns(/* args */); -client.data().getDataServingRunsRunId(/* args */); -client.data().getDataServingServingProducts(/* args */); -client.data().getDataServingServingProductsProductId(/* args */); -client.data().getDataStreamsCapabilities(/* args */); -client.data().getDataStreamsHealth(/* args */); -client.data().getDataStreamsInfo(/* args */); -client.data().getDataStreamsRuns(/* args */); -client.data().getDataStreamsRunsRunId(/* args */); -client.data().getDataStreamsStreams(/* args */); -client.data().getDataStreamsStreamsStreamId(/* args */); -client.data().getDataSyncCapabilities(/* args */); -client.data().getDataSyncHealth(/* args */); -client.data().getDataSyncInfo(/* args */); -client.data().getDataSyncRuns(/* args */); -client.data().getDataSyncRunsRunId(/* args */); -client.data().getDataSyncSyncJobs(/* args */); -client.data().getDataSyncSyncJobsJobId(/* args */); -client.data().getDataTransformationsCapabilities(/* args */); -client.data().getDataTransformationsHealth(/* args */); -client.data().getDataTransformationsInfo(/* args */); -client.data().getDataTransformationsRuns(/* args */); -client.data().getDataTransformationsRunsRunId(/* args */); -client.data().getDataTransformationsTransformations(/* args */); -client.data().getDataTransformationsTransformationsTransformationId(/* args */); -client.data().postDataAggregationsAggregations(/* args */); -client.data().postDataAggregationsAggregationsAggregationIdExecutions(/* args */); -client.data().postDataAggregationsRuns(/* args */); -client.data().postDataArchivalArchivalPolicies(/* args */); -client.data().postDataArchivalArchivalPoliciesPolicyIdExecutions(/* args */); -client.data().postDataArchivalRuns(/* args */); -client.data().postDataCatalogRuns(/* args */); -client.data().postDataEnrichmentEnrichmentProfiles(/* args */); -client.data().postDataEnrichmentEnrichmentProfilesProfileIdExecutions(/* args */); -client.data().postDataEnrichmentRuns(/* args */); -client.data().postDataExportsExports(/* args */); -client.data().postDataExportsExportsExportIdExecutions(/* args */); -client.data().postDataExportsRuns(/* args */); -client.data().postDataIngestDatasetsIngest(/* args */); -client.data().postDataIngestRuns(/* args */); -client.data().postDataNormalizationNormalizationProfiles(/* args */); -client.data().postDataNormalizationNormalizationProfilesProfileIdExecutions(/* args */); -client.data().postDataNormalizationRuns(/* args */); -client.data().postDataPipelinesPipelines(/* args */); -client.data().postDataPipelinesRuns(/* args */); -client.data().postDataQualityQualityRulesets(/* args */); -client.data().postDataQualityQualityRulesetsRulesetIdEvaluations(/* args */); -client.data().postDataQualityRuns(/* args */); -client.data().postDataQueryQueryFederated(/* args */); -client.data().postDataQueryRuns(/* args */); -client.data().postDataSchemasRuns(/* args */); -client.data().postDataSchemasSchemas(/* args */); -client.data().postDataSchemasSchemasResolve(/* args */); -client.data().postDataServingRuns(/* args */); -client.data().postDataServingServingProducts(/* args */); -client.data().postDataServingServingProductsProductIdRefreshes(/* args */); -client.data().postDataStreamsRuns(/* args */); -client.data().postDataStreamsStreams(/* args */); -client.data().postDataStreamsStreamsStreamIdDeliveries(/* args */); -client.data().postDataSyncRuns(/* args */); -client.data().postDataSyncSyncJobs(/* args */); -client.data().postDataSyncSyncJobsJobIdExecutions(/* args */); -client.data().postDataTransformationsRuns(/* args */); -client.data().postDataTransformationsTransformations(/* args */); -client.data().postDataTransformationsTransformationsTransformationIdExecutions(/* args */); +client.data().aggregations().health(responseType); +client.data().aggregations().getInfo(responseType); +client.data().archival().health(responseType); +client.data().archival().getInfo(responseType); +client.data().catalog().health(responseType); +client.data().catalog().getInfo(responseType); +client.data().enrichment().health(responseType); +client.data().enrichment().getInfo(responseType); +client.data().exports().health(responseType); +client.data().exports().getInfo(responseType); +client.data().ingest().health(responseType); +client.data().ingest().getInfo(responseType); +client.data().normalization().health(responseType); +client.data().normalization().getInfo(responseType); +client.data().pipelines().health(responseType); +client.data().pipelines().getInfo(responseType); +client.data().quality().health(responseType); +client.data().quality().getInfo(responseType); +client.data().query().health(responseType); +client.data().query().getInfo(responseType); +client.data().schemas().health(responseType); +client.data().schemas().getInfo(responseType); +client.data().serving().health(responseType); +client.data().serving().getInfo(responseType); +client.data().streams().health(responseType); +client.data().streams().getInfo(responseType); +client.data().sync().health(responseType); +client.data().sync().getInfo(responseType); +client.data().transformations().health(responseType); +client.data().transformations().getInfo(responseType); +client.data().aggregations().aggregations().list(responseType); +client.data().aggregations().aggregations().get(aggregationId, responseType); +client.data().aggregations().aggregations().create(body, responseType); +client.data().aggregations().capabilities().list(responseType); +client.data().aggregations().runs().list(responseType); +client.data().aggregations().runs().get(runId, responseType); +client.data().aggregations().runs().create(body, responseType); +client.data().archival().capabilities().list(responseType); +client.data().archival().runs().list(responseType); +client.data().archival().runs().get(runId, responseType); +client.data().archival().runs().create(body, responseType); +client.data().catalog().capabilities().list(responseType); +client.data().catalog().runs().list(responseType); +client.data().catalog().runs().get(runId, responseType); +client.data().catalog().runs().create(body, responseType); +client.data().enrichment().capabilities().list(responseType); +client.data().enrichment().runs().list(responseType); +client.data().enrichment().runs().get(runId, responseType); +client.data().enrichment().runs().create(body, responseType); +client.data().exports().capabilities().list(responseType); +client.data().exports().exports().list(responseType); +client.data().exports().exports().get(exportId, responseType); +client.data().exports().exports().create(body, responseType); +client.data().exports().runs().list(responseType); +client.data().exports().runs().get(runId, responseType); +client.data().exports().runs().create(body, responseType); +client.data().ingest().capabilities().list(responseType); +client.data().ingest().datasets().list(responseType); +client.data().ingest().datasets().get(datasetId, responseType); +client.data().ingest().datasets().ingest(body, responseType); +client.data().ingest().runs().list(responseType); +client.data().ingest().runs().get(runId, responseType); +client.data().ingest().runs().create(body, responseType); +client.data().ingest().schemas().list(responseType); +client.data().ingest().schemas().get(schemaRef, responseType); +client.data().normalization().capabilities().list(responseType); +client.data().normalization().runs().list(responseType); +client.data().normalization().runs().get(runId, responseType); +client.data().normalization().runs().create(body, responseType); +client.data().pipelines().capabilities().list(responseType); +client.data().pipelines().pipelineRuns().list(responseType); +client.data().pipelines().pipelineRuns().get(runId, responseType); +client.data().pipelines().pipelines().list(responseType); +client.data().pipelines().pipelines().get(definitionId, responseType); +client.data().pipelines().pipelines().create(body, responseType); +client.data().pipelines().runs().list(responseType); +client.data().pipelines().runs().get(runId, responseType); +client.data().pipelines().runs().create(body, responseType); +client.data().quality().capabilities().list(responseType); +client.data().quality().runs().list(responseType); +client.data().quality().runs().get(runId, responseType); +client.data().quality().runs().create(body, responseType); +client.data().query().capabilities().list(responseType); +client.data().query().query().federated(body, responseType); +client.data().query().runs().list(responseType); +client.data().query().runs().get(runId, responseType); +client.data().query().runs().create(body, responseType); +client.data().schemas().capabilities().list(responseType); +client.data().schemas().runs().list(responseType); +client.data().schemas().runs().get(runId, responseType); +client.data().schemas().runs().create(body, responseType); +client.data().schemas().schemas().list(responseType); +client.data().schemas().schemas().get(schemaRef, responseType); +client.data().schemas().schemas().create(body, responseType); +client.data().schemas().schemas().resolve(body, responseType); +client.data().serving().capabilities().list(responseType); +client.data().serving().runs().list(responseType); +client.data().serving().runs().get(runId, responseType); +client.data().serving().runs().create(body, responseType); +client.data().streams().capabilities().list(responseType); +client.data().streams().runs().list(responseType); +client.data().streams().runs().get(runId, responseType); +client.data().streams().runs().create(body, responseType); +client.data().streams().streams().list(responseType); +client.data().streams().streams().get(streamId, responseType); +client.data().streams().streams().create(body, responseType); +client.data().sync().capabilities().list(responseType); +client.data().sync().runs().list(responseType); +client.data().sync().runs().get(runId, responseType); +client.data().sync().runs().create(body, responseType); +client.data().transformations().capabilities().list(responseType); +client.data().transformations().runs().list(responseType); +client.data().transformations().runs().get(runId, responseType); +client.data().transformations().runs().create(body, responseType); +client.data().transformations().transformations().list(responseType); +client.data().transformations().transformations().get(transformationId, responseType); +client.data().transformations().transformations().create(body, responseType); +client.data().aggregations().aggregations().executions().create(aggregationId, body, responseType); +client.data().archival().archival().policies().list(responseType); +client.data().archival().archival().policies().get(policyId, responseType); +client.data().archival().archival().policies().create(body, responseType); +client.data().catalog().catalog().datasets().list(responseType); +client.data().catalog().catalog().datasets().get(datasetId, responseType); +client.data().catalog().catalog().sources().list(responseType); +client.data().catalog().catalog().sources().get(sourceId, responseType); +client.data().enrichment().enrichment().profiles().list(responseType); +client.data().enrichment().enrichment().profiles().get(profileId, responseType); +client.data().enrichment().enrichment().profiles().create(body, responseType); +client.data().exports().exports().executions().create(exportId, body, responseType); +client.data().ingest().datasets().artifacts().getContent(datasetId, manifestId, responseType); +client.data().normalization().normalization().profiles().list(responseType); +client.data().normalization().normalization().profiles().get(profileId, responseType); +client.data().normalization().normalization().profiles().create(body, responseType); +client.data().quality().quality().rulesets().list(responseType); +client.data().quality().quality().rulesets().get(rulesetId, responseType); +client.data().quality().quality().rulesets().create(body, responseType); +client.data().serving().serving().products().list(responseType); +client.data().serving().serving().products().get(productId, responseType); +client.data().serving().serving().products().create(body, responseType); +client.data().streams().streams().deliveries().create(streamId, body, responseType); +client.data().sync().sync().jobs().list(responseType); +client.data().sync().sync().jobs().get(jobId, responseType); +client.data().sync().sync().jobs().create(body, responseType); +client.data().transformations().transformations().executions().create(transformationId, body, responseType); +client.data().archival().archival().policies().executions().create(policyId, body, responseType); +client.data().catalog().catalog().datasets().artifacts().getContent(datasetId, manifestId, responseType); +client.data().enrichment().enrichment().profiles().executions().create(profileId, body, responseType); +client.data().normalization().normalization().profiles().executions().create(profileId, body, responseType); +client.data().quality().quality().rulesets().evaluations().create(rulesetId, body, responseType); +client.data().serving().serving().products().refreshes().create(productId, body, responseType); +client.data().sync().sync().jobs().executions().create(jobId, body, responseType); ``` -Full signatures: [data](./data.md). - ## events ```java -client.events().getEvents(/* args */); -client.events().getEventsMonitoring(/* args */); -client.events().getEventsId(/* args */); -client.events().postEvents(/* args */); -client.events().postEventsAnalytics(/* args */); -client.events().postEventsAnalyticsV2(/* args */); -client.events().postEventsBenchmarkV1(/* args */); -client.events().postEventsBenchmarkV2(/* args */); -client.events().postEventsBulk(/* args */); -client.events().postEventsHuggingfaceBilling(/* args */); -client.events().postEventsQuery(/* args */); -client.events().postEventsRawReprocessAll(/* args */); -client.events().postEventsRawReprocessPending(/* args */); -client.events().postEventsReprocess(/* args */); -client.events().postEventsReprocessInternal(/* args */); -client.events().postEventsUsage(/* args */); -client.events().postEventsUsageMeter(/* args */); +client.events().list(responseType); +client.events().getMonitoring(responseType); +client.events().get(id, responseType); +client.events().create(body, responseType); +client.events().analytics(body, responseType); +client.events().createAnalyticsV2(body, responseType); +client.events().bulk(body, responseType); +client.events().createHuggingfaceBilling(body, responseType); +client.events().query(body, responseType); +client.events().reprocess(body, responseType); +client.events().usage(body, responseType); +client.events().benchmark().createV1(body, responseType); +client.events().benchmark().createV2(body, responseType); +client.events().reprocess().createInternal(body, responseType); +client.events().usage().createMeter(body, responseType); +client.events().raw().reprocess().createAll(body, responseType); +client.events().raw().reprocess().createPending(body, responseType); ``` -Full signatures: [events](./events.md). - ## governance ```java -client.governance().deletePoliciesParam(/* args */); -client.governance().deleteRolesParam(/* args */); -client.governance().getComplianceAssessments(/* args */); -client.governance().getComplianceAssessmentsParam(/* args */); -client.governance().getComplianceFrameworks(/* args */); -client.governance().getComplianceScore(/* args */); -client.governance().getComplianceViolations(/* args */); -client.governance().getPermissions(/* args */); -client.governance().getPermissionsParam(/* args */); -client.governance().getPolicies(/* args */); -client.governance().getPoliciesTemplates(/* args */); -client.governance().getPoliciesParam(/* args */); -client.governance().getPoliciesParamVersions(/* args */); -client.governance().getRoles(/* args */); -client.governance().getRolesParam(/* args */); -client.governance().postAccessCheck(/* args */); -client.governance().postComplianceAssessments(/* args */); -client.governance().postComplianceViolationsParamResolve(/* args */); -client.governance().postPermissions(/* args */); -client.governance().postPolicies(/* args */); -client.governance().postPoliciesFromTemplate(/* args */); -client.governance().postPoliciesValidate(/* args */); -client.governance().postRoles(/* args */); -client.governance().putPoliciesParam(/* args */); +client.governance().access().check(body, responseType); +client.governance().compliance().getScore(responseType); +client.governance().permissions().list(responseType); +client.governance().permissions().get(permissionId, responseType); +client.governance().permissions().create(body, responseType); +client.governance().policies().delete(policyId, responseType); +client.governance().policies().list(responseType); +client.governance().policies().get(policyId, responseType); +client.governance().policies().create(body, responseType); +client.governance().policies().createFromTemplate(body, responseType); +client.governance().policies().validate(body, responseType); +client.governance().policies().update(policyId, body, responseType); +client.governance().roles().delete(roleId, responseType); +client.governance().roles().list(responseType); +client.governance().roles().get(roleId, responseType); +client.governance().roles().create(body, responseType); +client.governance().compliance().assessments().list(responseType); +client.governance().compliance().assessments().get(assessmentId, responseType); +client.governance().compliance().assessments().create(body, responseType); +client.governance().compliance().frameworks().list(responseType); +client.governance().compliance().violations().list(responseType); +client.governance().compliance().violations().resolve(violationId, body, responseType); +client.governance().policies().templates().list(responseType); +client.governance().policies().versions().list(policyId, responseType); ``` -Full signatures: [governance](./governance.md). - ## invocations ```java -client.invocations().postInvocations(/* args */); +client.invocations().create(body, responseType); ``` -Full signatures: [invocations](./invocations.md). - ## lineage ```java -client.lineage().getLineageEdges(/* args */); -client.lineage().getLineageEdgesParam(/* args */); -client.lineage().getLineageGraph(/* args */); -client.lineage().getLineageNodes(/* args */); -client.lineage().getLineageNodesParam(/* args */); -client.lineage().getLineageNodesParamTrace(/* args */); -client.lineage().postLineageImpact(/* args */); +client.lineage().getGraph(responseType); +client.lineage().createImpact(body, responseType); +client.lineage().edges().list(responseType); +client.lineage().edges().get(edgeId, responseType); +client.lineage().nodes().list(responseType); +client.lineage().nodes().get(nodeId, responseType); +client.lineage().nodes().getTrace(nodeId, responseType); ``` -Full signatures: [lineage](./lineage.md). - ## observability ```java -client.observability().deleteObservabilityAlertsRulesRuleId(/* args */); -client.observability().deleteObservabilityAlertsParam(/* args */); -client.observability().deleteObservabilityDashboardsParam(/* args */); -client.observability().getObservabilityAlerts(/* args */); -client.observability().getObservabilityAlertsIncidents(/* args */); -client.observability().getObservabilityAlertsRules(/* args */); -client.observability().getObservabilityAlertsRulesRuleId(/* args */); -client.observability().getObservabilityDashboards(/* args */); -client.observability().getObservabilityDashboardsParam(/* args */); -client.observability().getObservabilityEventsStats(/* args */); -client.observability().getObservabilityMetrics(/* args */); -client.observability().getObservabilityMetricsList(/* args */); -client.observability().getObservabilityTraces(/* args */); -client.observability().getObservabilityTracesParam(/* args */); -client.observability().postObservabilityAlerts(/* args */); -client.observability().postObservabilityAlertsRules(/* args */); -client.observability().postObservabilityAlertsRulesRuleIdToggle(/* args */); -client.observability().postObservabilityAlertsParamDisable(/* args */); -client.observability().postObservabilityAlertsParamEnable(/* args */); -client.observability().postObservabilityDashboards(/* args */); -client.observability().postObservabilityDashboardsParamShare(/* args */); -client.observability().postObservabilityEvents(/* args */); -client.observability().postObservabilityEventsBatch(/* args */); -client.observability().postObservabilityLogsIngest(/* args */); -client.observability().postObservabilityLogsQuery(/* args */); -client.observability().postObservabilityMetricsIngest(/* args */); -client.observability().postObservabilityTracesQuery(/* args */); -client.observability().putObservabilityAlertsRulesRuleId(/* args */); -client.observability().putObservabilityAlertsParam(/* args */); -client.observability().putObservabilityDashboardsParam(/* args */); -client.observability().streamObservabilityLogsStream(/* args */); -client.observability().streamObservabilityLogsStreamBlocking(/* args */); +client.observability().alerts().delete(alertId, responseType); +client.observability().alerts().list(responseType); +client.observability().alerts().create(body, responseType); +client.observability().alerts().disable(alertId, body, responseType); +client.observability().alerts().enable(alertId, body, responseType); +client.observability().alerts().update(alertId, body, responseType); +client.observability().dashboards().delete(dashboardId, responseType); +client.observability().dashboards().list(responseType); +client.observability().dashboards().get(dashboardId, responseType); +client.observability().dashboards().create(body, responseType); +client.observability().dashboards().share(dashboardId, body, responseType); +client.observability().dashboards().update(dashboardId, body, responseType); +client.observability().events().create(body, responseType); +client.observability().events().batch(body, responseType); +client.observability().logs().ingest(body, responseType); +client.observability().logs().query(body, responseType); +client.observability().logs().stream(); +client.observability().logs().streamBlocking(); +client.observability().metrics().list(responseType); +client.observability().metrics().getList(responseType); +client.observability().metrics().ingest(body, responseType); +client.observability().traces().list(responseType); +client.observability().traces().get(traceId, responseType); +client.observability().traces().query(body, responseType); +client.observability().alerts().incidents().list(responseType); +client.observability().alerts().rules().delete(ruleId, responseType); +client.observability().alerts().rules().list(responseType); +client.observability().alerts().rules().get(ruleId, responseType); +client.observability().alerts().rules().create(body, responseType); +client.observability().alerts().rules().toggle(ruleId, body, responseType); +client.observability().alerts().rules().update(ruleId, body, responseType); +client.observability().events().stats().list(responseType); ``` -Full signatures: [observability](./observability.md). - ## ontology ```java -client.ontology().deleteOntologyObjectsObjectTypesObjectTypeId(/* args */); -client.ontology().deleteOntologyObjectsObjectsObjectId(/* args */); -client.ontology().deleteOntologyReasoningRulesRuleId(/* args */); -client.ontology().deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId(/* args */); -client.ontology().deleteOntologyRelationshipsRelationshipsRelationshipId(/* args */); -client.ontology().deleteOntologyRolloutsRolloutsRolloutId(/* args */); -client.ontology().deleteOntologyRollupsRollupsRollupId(/* args */); -client.ontology().deleteOntologySchemasSchemasSchemaId(/* args */); -client.ontology().deleteOntologyValidationRulesRuleId(/* args */); -client.ontology().deleteOntologyVersionsVersionsVersionId(/* args */); -client.ontology().getOntologyEngineCapabilities(/* args */); -client.ontology().getOntologyEngineHealth(/* args */); -client.ontology().getOntologyEngineInfo(/* args */); -client.ontology().getOntologyEngineRuns(/* args */); -client.ontology().getOntologyEngineRunsRunId(/* args */); -client.ontology().getOntologyEventsCapabilities(/* args */); -client.ontology().getOntologyEventsEvents(/* args */); -client.ontology().getOntologyEventsEventsCheckpointsConsumer(/* args */); -client.ontology().getOntologyEventsEventsEventId(/* args */); -client.ontology().getOntologyEventsHealth(/* args */); -client.ontology().getOntologyEventsInfo(/* args */); -client.ontology().getOntologyEventsRuns(/* args */); -client.ontology().getOntologyEventsRunsRunId(/* args */); -client.ontology().getOntologyExtractCapabilities(/* args */); -client.ontology().getOntologyExtractHealth(/* args */); -client.ontology().getOntologyExtractInfo(/* args */); -client.ontology().getOntologyExtractRuns(/* args */); -client.ontology().getOntologyExtractRunsRunId(/* args */); -client.ontology().getOntologyGraphCapabilities(/* args */); -client.ontology().getOntologyGraphEntitiesEntityId(/* args */); -client.ontology().getOntologyGraphEntitiesEntityIdProvenance(/* args */); -client.ontology().getOntologyGraphHealth(/* args */); -client.ontology().getOntologyGraphInfo(/* args */); -client.ontology().getOntologyGraphRelationshipsRelationshipId(/* args */); -client.ontology().getOntologyGraphRuns(/* args */); -client.ontology().getOntologyGraphRunsRunId(/* args */); -client.ontology().getOntologyObjectsCapabilities(/* args */); -client.ontology().getOntologyObjectsHealth(/* args */); -client.ontology().getOntologyObjectsInfo(/* args */); -client.ontology().getOntologyObjectsObjectTypes(/* args */); -client.ontology().getOntologyObjectsObjectTypesObjectTypeId(/* args */); -client.ontology().getOntologyObjectsObjects(/* args */); -client.ontology().getOntologyObjectsObjectsObjectId(/* args */); -client.ontology().getOntologyObjectsRuns(/* args */); -client.ontology().getOntologyObjectsRunsRunId(/* args */); -client.ontology().getOntologyReasoningCapabilities(/* args */); -client.ontology().getOntologyReasoningHealth(/* args */); -client.ontology().getOntologyReasoningInfo(/* args */); -client.ontology().getOntologyReasoningRules(/* args */); -client.ontology().getOntologyReasoningRuns(/* args */); -client.ontology().getOntologyReasoningRunsRunId(/* args */); -client.ontology().getOntologyRelationshipsCapabilities(/* args */); -client.ontology().getOntologyRelationshipsHealth(/* args */); -client.ontology().getOntologyRelationshipsInfo(/* args */); -client.ontology().getOntologyRelationshipsRelationshipTypes(/* args */); -client.ontology().getOntologyRelationshipsRelationships(/* args */); -client.ontology().getOntologyRelationshipsRelationshipsRelationshipId(/* args */); -client.ontology().getOntologyRelationshipsRuns(/* args */); -client.ontology().getOntologyRelationshipsRunsRunId(/* args */); -client.ontology().getOntologyRolloutsCapabilities(/* args */); -client.ontology().getOntologyRolloutsHealth(/* args */); -client.ontology().getOntologyRolloutsInfo(/* args */); -client.ontology().getOntologyRolloutsRollouts(/* args */); -client.ontology().getOntologyRolloutsRolloutsRolloutId(/* args */); -client.ontology().getOntologyRolloutsRolloutsRolloutIdStatus(/* args */); -client.ontology().getOntologyRolloutsRuns(/* args */); -client.ontology().getOntologyRolloutsRunsRunId(/* args */); -client.ontology().getOntologyRollupsCapabilities(/* args */); -client.ontology().getOntologyRollupsHealth(/* args */); -client.ontology().getOntologyRollupsInfo(/* args */); -client.ontology().getOntologyRollupsRollupResultsExecutionId(/* args */); -client.ontology().getOntologyRollupsRollups(/* args */); -client.ontology().getOntologyRollupsRollupsRollupId(/* args */); -client.ontology().getOntologyRollupsRollupsRollupIdResult(/* args */); -client.ontology().getOntologyRollupsRuns(/* args */); -client.ontology().getOntologyRollupsRunsRunId(/* args */); -client.ontology().getOntologySchemasCapabilities(/* args */); -client.ontology().getOntologySchemasHealth(/* args */); -client.ontology().getOntologySchemasInfo(/* args */); -client.ontology().getOntologySchemasRuns(/* args */); -client.ontology().getOntologySchemasRunsRunId(/* args */); -client.ontology().getOntologySchemasSchemas(/* args */); -client.ontology().getOntologySchemasSchemasSchemaId(/* args */); -client.ontology().getOntologyTransformationsCapabilities(/* args */); -client.ontology().getOntologyTransformationsHealth(/* args */); -client.ontology().getOntologyTransformationsInfo(/* args */); -client.ontology().getOntologyTransformationsRuns(/* args */); -client.ontology().getOntologyTransformationsRunsRunId(/* args */); -client.ontology().getOntologyValidationCapabilities(/* args */); -client.ontology().getOntologyValidationHealth(/* args */); -client.ontology().getOntologyValidationInfo(/* args */); -client.ontology().getOntologyValidationRules(/* args */); -client.ontology().getOntologyValidationRulesRuleId(/* args */); -client.ontology().getOntologyValidationRuns(/* args */); -client.ontology().getOntologyValidationRunsRunId(/* args */); -client.ontology().getOntologyVersionsCapabilities(/* args */); -client.ontology().getOntologyVersionsHealth(/* args */); -client.ontology().getOntologyVersionsInfo(/* args */); -client.ontology().getOntologyVersionsReleaseBundles(/* args */); -client.ontology().getOntologyVersionsReleaseBundlesBundleId(/* args */); -client.ontology().getOntologyVersionsRuns(/* args */); -client.ontology().getOntologyVersionsRunsRunId(/* args */); -client.ontology().getOntologyVersionsVersionsVersionId(/* args */); -client.ontology().postOntologyEngineOntologiesCompareVersions(/* args */); -client.ontology().postOntologyEngineOntologiesExport(/* args */); -client.ontology().postOntologyEngineOntologiesExportShacl(/* args */); -client.ontology().postOntologyEngineOntologiesGenerate(/* args */); -client.ontology().postOntologyEngineOntologiesInferClasses(/* args */); -client.ontology().postOntologyEngineOntologiesInferProperties(/* args */); -client.ontology().postOntologyEngineOntologiesValidate(/* args */); -client.ontology().postOntologyEngineRuns(/* args */); -client.ontology().postOntologyEventsEvents(/* args */); -client.ontology().postOntologyEventsEventsCheckpoints(/* args */); -client.ontology().postOntologyEventsEventsLeasesAcknowledge(/* args */); -client.ontology().postOntologyEventsEventsLeasesAcquire(/* args */); -client.ontology().postOntologyEventsRuns(/* args */); -client.ontology().postOntologyExtractExtractAnalyze(/* args */); -client.ontology().postOntologyExtractExtractArchitecture(/* args */); -client.ontology().postOntologyExtractExtractCoreferences(/* args */); -client.ontology().postOntologyExtractExtractEntities(/* args */); -client.ontology().postOntologyExtractExtractEvents(/* args */); -client.ontology().postOntologyExtractExtractRelations(/* args */); -client.ontology().postOntologyExtractExtractTriplets(/* args */); -client.ontology().postOntologyExtractRuns(/* args */); -client.ontology().postOntologyGraphGraphAnalyze(/* args */); -client.ontology().postOntologyGraphGraphBuild(/* args */); -client.ontology().postOntologyGraphGraphBulkRead(/* args */); -client.ontology().postOntologyGraphGraphNeighborhood(/* args */); -client.ontology().postOntologyGraphGraphPath(/* args */); -client.ontology().postOntologyGraphGraphQuery(/* args */); -client.ontology().postOntologyGraphRuns(/* args */); -client.ontology().postOntologyObjectsRuns(/* args */); -client.ontology().postOntologyReasoningExplain(/* args */); -client.ontology().postOntologyReasoningFacts(/* args */); -client.ontology().postOntologyReasoningFactsLoadGraph(/* args */); -client.ontology().postOntologyReasoningReasonBackward(/* args */); -client.ontology().postOntologyReasoningReasonForward(/* args */); -client.ontology().postOntologyReasoningRules(/* args */); -client.ontology().postOntologyReasoningRuns(/* args */); -client.ontology().postOntologyRelationshipsRuns(/* args */); -client.ontology().postOntologyRolloutsRollouts(/* args */); -client.ontology().postOntologyRolloutsRolloutsRolloutIdPause(/* args */); -client.ontology().postOntologyRolloutsRolloutsRolloutIdResume(/* args */); -client.ontology().postOntologyRolloutsRolloutsRolloutIdRollback(/* args */); -client.ontology().postOntologyRolloutsRolloutsRolloutIdStart(/* args */); -client.ontology().postOntologyRolloutsRuns(/* args */); -client.ontology().postOntologyRollupsRollups(/* args */); -client.ontology().postOntologyRollupsRollupsRollupIdExecute(/* args */); -client.ontology().postOntologyRollupsRollupsRollupIdPreview(/* args */); -client.ontology().postOntologyRollupsRuns(/* args */); -client.ontology().postOntologySchemasRuns(/* args */); -client.ontology().postOntologySchemasSchemas(/* args */); -client.ontology().postOntologySchemasSchemasValidate(/* args */); -client.ontology().postOntologyTransformationsRuns(/* args */); -client.ontology().postOntologyTransformationsTransformations(/* args */); -client.ontology().postOntologyValidationPayloadsValidate(/* args */); -client.ontology().postOntologyValidationRules(/* args */); -client.ontology().postOntologyValidationRuns(/* args */); -client.ontology().postOntologyVersionsAuditVerify(/* args */); -client.ontology().postOntologyVersionsReleaseBundles(/* args */); -client.ontology().postOntologyVersionsRuns(/* args */); -client.ontology().postOntologyVersionsVersions(/* args */); -client.ontology().postOntologyVersionsVersionsCompare(/* args */); -client.ontology().putOntologyGraphEntitiesEntityId(/* args */); -client.ontology().putOntologyGraphRelationshipsRelationshipId(/* args */); -client.ontology().putOntologyObjectsObjectTypesObjectTypeId(/* args */); -client.ontology().putOntologyObjectsObjectsObjectId(/* args */); -client.ontology().putOntologyReasoningRulesRuleId(/* args */); -client.ontology().putOntologyRelationshipsRelationshipsRelationshipId(/* args */); -client.ontology().putOntologyRolloutsRolloutsRolloutId(/* args */); -client.ontology().putOntologyRollupsRollupsRollupId(/* args */); +client.ontology().engine().health(responseType); +client.ontology().engine().getInfo(responseType); +client.ontology().events().health(responseType); +client.ontology().events().getInfo(responseType); +client.ontology().extract().health(responseType); +client.ontology().extract().getInfo(responseType); +client.ontology().graph().health(responseType); +client.ontology().graph().getInfo(responseType); +client.ontology().objects().health(responseType); +client.ontology().objects().getInfo(responseType); +client.ontology().reasoning().health(responseType); +client.ontology().reasoning().getInfo(responseType); +client.ontology().reasoning().createExplain(body, responseType); +client.ontology().relationships().health(responseType); +client.ontology().relationships().getInfo(responseType); +client.ontology().rollouts().health(responseType); +client.ontology().rollouts().getInfo(responseType); +client.ontology().rollups().health(responseType); +client.ontology().rollups().getInfo(responseType); +client.ontology().schemas().health(responseType); +client.ontology().schemas().getInfo(responseType); +client.ontology().transformations().health(responseType); +client.ontology().transformations().getInfo(responseType); +client.ontology().validation().health(responseType); +client.ontology().validation().getInfo(responseType); +client.ontology().versions().health(responseType); +client.ontology().versions().getInfo(responseType); +client.ontology().engine().capabilities().list(responseType); +client.ontology().engine().ontologies().export(body, responseType); +client.ontology().engine().ontologies().createExportShacl(body, responseType); +client.ontology().engine().ontologies().generate(body, responseType); +client.ontology().engine().ontologies().validate(body, responseType); +client.ontology().engine().runs().list(responseType); +client.ontology().engine().runs().get(runId, responseType); +client.ontology().engine().runs().create(body, responseType); +client.ontology().events().capabilities().list(responseType); +client.ontology().events().events().list(responseType); +client.ontology().events().events().get(eventId, responseType); +client.ontology().events().events().create(body, responseType); +client.ontology().events().runs().list(responseType); +client.ontology().events().runs().get(runId, responseType); +client.ontology().events().runs().create(body, responseType); +client.ontology().extract().capabilities().list(responseType); +client.ontology().extract().extract().analyze(body, responseType); +client.ontology().extract().extract().createArchitecture(body, responseType); +client.ontology().extract().runs().list(responseType); +client.ontology().extract().runs().get(runId, responseType); +client.ontology().extract().runs().create(body, responseType); +client.ontology().graph().capabilities().list(responseType); +client.ontology().graph().entities().get(entityId, responseType); +client.ontology().graph().entities().getProvenance(entityId, responseType); +client.ontology().graph().entities().update(entityId, body, responseType); +client.ontology().graph().graph().analyze(body, responseType); +client.ontology().graph().graph().createBuild(body, responseType); +client.ontology().graph().graph().createBulkRead(body, responseType); +client.ontology().graph().graph().createNeighborhood(body, responseType); +client.ontology().graph().graph().createPath(body, responseType); +client.ontology().graph().graph().query(body, responseType); +client.ontology().graph().relationships().get(relationshipId, responseType); +client.ontology().graph().relationships().update(relationshipId, body, responseType); +client.ontology().graph().runs().list(responseType); +client.ontology().graph().runs().get(runId, responseType); +client.ontology().graph().runs().create(body, responseType); +client.ontology().objects().capabilities().list(responseType); +client.ontology().objects().objectTypes().delete(objectTypeId, responseType); +client.ontology().objects().objectTypes().list(responseType); +client.ontology().objects().objectTypes().get(objectTypeId, responseType); +client.ontology().objects().objectTypes().update(objectTypeId, body, responseType); +client.ontology().objects().objects().delete(objectId, responseType); +client.ontology().objects().objects().list(responseType); +client.ontology().objects().objects().get(objectId, responseType); +client.ontology().objects().objects().update(objectId, body, responseType); +client.ontology().objects().runs().list(responseType); +client.ontology().objects().runs().get(runId, responseType); +client.ontology().objects().runs().create(body, responseType); +client.ontology().reasoning().capabilities().list(responseType); +client.ontology().reasoning().facts().create(body, responseType); +client.ontology().reasoning().facts().createLoadGraph(body, responseType); +client.ontology().reasoning().reason().createBackward(body, responseType); +client.ontology().reasoning().reason().createForward(body, responseType); +client.ontology().reasoning().rules().delete(ruleId, responseType); +client.ontology().reasoning().rules().list(responseType); +client.ontology().reasoning().rules().create(body, responseType); +client.ontology().reasoning().rules().update(ruleId, body, responseType); +client.ontology().reasoning().runs().list(responseType); +client.ontology().reasoning().runs().get(runId, responseType); +client.ontology().reasoning().runs().create(body, responseType); +client.ontology().relationships().capabilities().list(responseType); +client.ontology().relationships().relationshipTypes().delete(relationshipTypeId, responseType); +client.ontology().relationships().relationshipTypes().list(responseType); +client.ontology().relationships().relationships().delete(relationshipId, responseType); +client.ontology().relationships().relationships().list(responseType); +client.ontology().relationships().relationships().get(relationshipId, responseType); +client.ontology().relationships().relationships().update(relationshipId, body, responseType); +client.ontology().relationships().runs().list(responseType); +client.ontology().relationships().runs().get(runId, responseType); +client.ontology().relationships().runs().create(body, responseType); +client.ontology().rollouts().capabilities().list(responseType); +client.ontology().rollouts().rollouts().delete(rolloutId, responseType); +client.ontology().rollouts().rollouts().list(responseType); +client.ontology().rollouts().rollouts().get(rolloutId, responseType); +client.ontology().rollouts().rollouts().status(rolloutId, responseType); +client.ontology().rollouts().rollouts().create(body, responseType); +client.ontology().rollouts().rollouts().pause(rolloutId, body, responseType); +client.ontology().rollouts().rollouts().resume(rolloutId, body, responseType); +client.ontology().rollouts().rollouts().rollback(rolloutId, body, responseType); +client.ontology().rollouts().rollouts().createStart(rolloutId, body, responseType); +client.ontology().rollouts().rollouts().update(rolloutId, body, responseType); +client.ontology().rollouts().runs().list(responseType); +client.ontology().rollouts().runs().get(runId, responseType); +client.ontology().rollouts().runs().create(body, responseType); +client.ontology().rollups().capabilities().list(responseType); +client.ontology().rollups().rollupResults().get(executionId, responseType); +client.ontology().rollups().rollups().delete(rollupId, responseType); +client.ontology().rollups().rollups().list(responseType); +client.ontology().rollups().rollups().get(rollupId, responseType); +client.ontology().rollups().rollups().getResult(rollupId, responseType); +client.ontology().rollups().rollups().create(body, responseType); +client.ontology().rollups().rollups().execute(rollupId, body, responseType); +client.ontology().rollups().rollups().preview(rollupId, body, responseType); +client.ontology().rollups().rollups().update(rollupId, body, responseType); +client.ontology().rollups().runs().list(responseType); +client.ontology().rollups().runs().get(runId, responseType); +client.ontology().rollups().runs().create(body, responseType); +client.ontology().schemas().capabilities().list(responseType); +client.ontology().schemas().runs().list(responseType); +client.ontology().schemas().runs().get(runId, responseType); +client.ontology().schemas().runs().create(body, responseType); +client.ontology().schemas().schemas().delete(schemaId, responseType); +client.ontology().schemas().schemas().list(responseType); +client.ontology().schemas().schemas().get(schemaId, responseType); +client.ontology().schemas().schemas().create(body, responseType); +client.ontology().schemas().schemas().validate(body, responseType); +client.ontology().transformations().capabilities().list(responseType); +client.ontology().transformations().runs().list(responseType); +client.ontology().transformations().runs().get(runId, responseType); +client.ontology().transformations().runs().create(body, responseType); +client.ontology().transformations().transformations().create(body, responseType); +client.ontology().validation().capabilities().list(responseType); +client.ontology().validation().payloads().validate(body, responseType); +client.ontology().validation().rules().delete(ruleId, responseType); +client.ontology().validation().rules().list(responseType); +client.ontology().validation().rules().get(ruleId, responseType); +client.ontology().validation().rules().create(body, responseType); +client.ontology().validation().runs().list(responseType); +client.ontology().validation().runs().get(runId, responseType); +client.ontology().validation().runs().create(body, responseType); +client.ontology().versions().audit().verify(body, responseType); +client.ontology().versions().capabilities().list(responseType); +client.ontology().versions().releaseBundles().list(responseType); +client.ontology().versions().releaseBundles().get(bundleId, responseType); +client.ontology().versions().releaseBundles().create(body, responseType); +client.ontology().versions().runs().list(responseType); +client.ontology().versions().runs().get(runId, responseType); +client.ontology().versions().runs().create(body, responseType); +client.ontology().versions().versions().delete(versionId, responseType); +client.ontology().versions().versions().get(versionId, responseType); +client.ontology().versions().versions().create(body, responseType); +client.ontology().versions().versions().compare(body, responseType); +client.ontology().engine().ontologies().compareVersions().create(body, responseType); +client.ontology().engine().ontologies().inferClasses().create(body, responseType); +client.ontology().engine().ontologies().inferProperties().create(body, responseType); +client.ontology().events().events().checkpoints().get(consumer, responseType); +client.ontology().events().events().checkpoints().create(body, responseType); +client.ontology().events().events().leases().acknowledge(body, responseType); +client.ontology().events().events().leases().acquire(body, responseType); +client.ontology().extract().extract().coreferences().create(body, responseType); +client.ontology().extract().extract().entities().create(body, responseType); +client.ontology().extract().extract().events().create(body, responseType); +client.ontology().extract().extract().relations().create(body, responseType); +client.ontology().extract().extract().triplets().create(body, responseType); ``` -Full signatures: [ontology](./ontology.md). - ## pipelines ```java -client.pipelines().getDataPipelinesCapabilities(/* args */); -client.pipelines().getDataPipelinesHealth(/* args */); -client.pipelines().getDataPipelinesInfo(/* args */); -client.pipelines().getDataPipelinesPipelineRuns(/* args */); -client.pipelines().getDataPipelinesPipelineRunsParam(/* args */); -client.pipelines().getDataPipelinesPipelines(/* args */); -client.pipelines().getDataPipelinesPipelinesParam(/* args */); -client.pipelines().getDataPipelinesRuns(/* args */); -client.pipelines().postDataPipelinesPipelines(/* args */); -client.pipelines().postDataPipelinesRuns(/* args */); -client.pipelines().streamDataPipelinesPipelineRunsParam(/* args */); -client.pipelines().streamDataPipelinesPipelineRunsParamBlocking(/* args */); +client.pipelines().data().pipelines().health(responseType); +client.pipelines().data().pipelines().getInfo(responseType); +client.pipelines().data().pipelines().capabilities().list(responseType); +client.pipelines().data().pipelines().pipelineRuns().list(responseType); +client.pipelines().data().pipelines().pipelineRuns().get(pipelineRunId, responseType); +client.pipelines().data().pipelines().pipelineRuns().get2(pipelineRunId); +client.pipelines().data().pipelines().pipelineRuns().get2Blocking(pipelineRunId); +client.pipelines().data().pipelines().pipelines().list(responseType); +client.pipelines().data().pipelines().pipelines().get(pipelineId, responseType); +client.pipelines().data().pipelines().pipelines().create(body, responseType); +client.pipelines().data().pipelines().runs().list(responseType); +client.pipelines().data().pipelines().runs().create(body, responseType); ``` -Full signatures: [pipelines](./pipelines.md). - ## providers ```java -client.providers().getProvidersProviderSlug(/* args */); +client.providers().get(providerSlug, responseType); ``` -Full signatures: [providers](./providers.md). +## react + +```java +``` ## sandbox ```java -client.sandbox().getSandboxLanguages(/* args */); -client.sandbox().postSandboxSelfTest(/* args */); -client.sandbox().postSandboxSubmit(/* args */); +client.sandbox().createSelfTest(body, responseType); +client.sandbox().submit(body, responseType); +client.sandbox().languages().list(responseType); ``` -Full signatures: [sandbox](./sandbox.md). - ## schedules ```java -client.schedules().deleteWorkflowsSchedulesParam(/* args */); -client.schedules().getWorkflowsSchedules(/* args */); -client.schedules().getWorkflowsSchedulesParam(/* args */); -client.schedules().patchWorkflowsSchedulesParam(/* args */); -client.schedules().postWorkflowsCronParse(/* args */); -client.schedules().postWorkflowsCronValidate(/* args */); -client.schedules().postWorkflowsSchedules(/* args */); -client.schedules().postWorkflowsSchedulesParamPause(/* args */); -client.schedules().postWorkflowsSchedulesParamResume(/* args */); -client.schedules().postWorkflowsSchedulesParamTrigger(/* args */); +client.schedules().workflows().cron().parse(body, responseType); +client.schedules().workflows().cron().validate(body, responseType); +client.schedules().workflows().schedules().delete(scheduleId, responseType); +client.schedules().workflows().schedules().list(responseType); +client.schedules().workflows().schedules().get(scheduleId, responseType); +client.schedules().workflows().schedules().update(scheduleId, body, responseType); +client.schedules().workflows().schedules().create(body, responseType); +client.schedules().workflows().schedules().pause(scheduleId, body, responseType); +client.schedules().workflows().schedules().resume(scheduleId, body, responseType); +client.schedules().workflows().schedules().trigger(scheduleId, body, responseType); ``` -Full signatures: [schedules](./schedules.md). - ## webhook-endpoints ```java -client.webhookEndpoints().deleteWebhookEndpointsId(/* args */); -client.webhookEndpoints().getWebhookEndpoints(/* args */); -client.webhookEndpoints().getWebhookEndpointsId(/* args */); -client.webhookEndpoints().getWebhookEndpointsIdDeliveries(/* args */); -client.webhookEndpoints().patchWebhookEndpointsId(/* args */); -client.webhookEndpoints().postWebhookEndpoints(/* args */); -client.webhookEndpoints().postWebhookEndpointsIdRotateSecret(/* args */); +client.webhookEndpoints().delete(id, responseType); +client.webhookEndpoints().list(responseType); +client.webhookEndpoints().get(id, responseType); +client.webhookEndpoints().update(id, body, responseType); +client.webhookEndpoints().create(body, responseType); +client.webhookEndpoints().rotateSecret(id, body, responseType); +client.webhookEndpoints().deliveries().list(id, responseType); ``` -Full signatures: [webhook-endpoints](./webhook-endpoints.md). - ## webhooks ```java -client.webhooks().deleteWebhooksParam(/* args */); -client.webhooks().getWebhooks(/* args */); -client.webhooks().getWebhooksDeliveries(/* args */); -client.webhooks().getWebhooksDeliveriesParam(/* args */); -client.webhooks().getWebhooksStats(/* args */); -client.webhooks().getWebhooksParam(/* args */); -client.webhooks().postWebhooks(/* args */); -client.webhooks().postWebhooksDeliveriesParamRetry(/* args */); -client.webhooks().postWebhooksParamRotateSecret(/* args */); -client.webhooks().putWebhooksParam(/* args */); +client.webhooks().delete(webhookId, responseType); +client.webhooks().list(responseType); +client.webhooks().get(webhookId, responseType); +client.webhooks().create(body, responseType); +client.webhooks().rotateSecret(webhookId, body, responseType); +client.webhooks().update(webhookId, body, responseType); +client.webhooks().deliveries().list(responseType); +client.webhooks().deliveries().get(deliveryId, responseType); +client.webhooks().deliveries().retry(deliveryId, body, responseType); +client.webhooks().stats().list(responseType); ``` -Full signatures: [webhooks](./webhooks.md). - ## workflows ```java -client.workflows().deleteWorkflowsParam(/* args */); -client.workflows().getWorkflows(/* args */); -client.workflows().getWorkflowsApprovals(/* args */); -client.workflows().getWorkflowsApprovalsParam(/* args */); -client.workflows().getWorkflowsExecutions(/* args */); -client.workflows().getWorkflowsExecutionsParam(/* args */); -client.workflows().getWorkflowsExecutionsParamTasks(/* args */); -client.workflows().getWorkflowsRunsParamSteps(/* args */); -client.workflows().getWorkflowsTasksParam(/* args */); -client.workflows().getWorkflowsTemplates(/* args */); -client.workflows().getWorkflowsTemplatesParam(/* args */); -client.workflows().getWorkflowsParam(/* args */); -client.workflows().getWorkflowsWorkflowIdRunId(/* args */); -client.workflows().getWorkflowsWorkflowIdRunIdSummary(/* args */); -client.workflows().getWorkflowsWorkflowIdRunIdTimeline(/* args */); -client.workflows().patchWorkflowsParam(/* args */); -client.workflows().postWorkflows(/* args */); -client.workflows().postWorkflowsApprovalsParamApprove(/* args */); -client.workflows().postWorkflowsApprovalsParamReject(/* args */); -client.workflows().postWorkflowsBatch(/* args */); -client.workflows().postWorkflowsExecutions(/* args */); -client.workflows().postWorkflowsSearch(/* args */); -client.workflows().postWorkflowsTasksParamCancel(/* args */); -client.workflows().postWorkflowsTasksParamRetry(/* args */); -client.workflows().postWorkflowsTemplates(/* args */); -client.workflows().postWorkflowsTemplatesParamInstantiate(/* args */); -client.workflows().postWorkflowsParamArchive(/* args */); -client.workflows().postWorkflowsParamPublish(/* args */); -client.workflows().postWorkflowsParamRestore(/* args */); -client.workflows().postWorkflowsParamVersions(/* args */); +client.workflows().delete(workflowId, responseType); +client.workflows().list(responseType); +client.workflows().get(workflowId, responseType); +client.workflows().get2(workflowId, runId, responseType); +client.workflows().summary(workflowId, runId, responseType); +client.workflows().timeline(workflowId, runId, responseType); +client.workflows().update(workflowId, body, responseType); +client.workflows().create(body, responseType); +client.workflows().batch(body, responseType); +client.workflows().search(body, responseType); +client.workflows().archive(workflowId, body, responseType); +client.workflows().publish(workflowId, body, responseType); +client.workflows().restore(workflowId, body, responseType); +client.workflows().approvals().list(responseType); +client.workflows().approvals().get(approvalId, responseType); +client.workflows().approvals().approve(approvalId, body, responseType); +client.workflows().approvals().reject(approvalId, body, responseType); +client.workflows().executions().list(responseType); +client.workflows().executions().get(executionId, responseType); +client.workflows().executions().create(body, responseType); +client.workflows().tasks().get(taskId, responseType); +client.workflows().tasks().cancel(taskId, body, responseType); +client.workflows().tasks().retry(taskId, body, responseType); +client.workflows().templates().list(responseType); +client.workflows().templates().get(templateId, responseType); +client.workflows().templates().create(body, responseType); +client.workflows().templates().instantiate(templateId, body, responseType); +client.workflows().versions().create(workflowId, body, responseType); +client.workflows().executions().tasks().list(executionId, responseType); +client.workflows().runs().steps().list(runId, responseType); ``` - -Full signatures: [workflows](./workflows.md). diff --git a/docs/api/observability.md b/docs/api/observability.md index 0590bc2..f897601 100644 --- a/docs/api/observability.md +++ b/docs/api/observability.md @@ -2,72 +2,133 @@ Service accessor: `frontal.observability()` (`ObservabilityClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteObservabilityAlertsRulesRuleId(...)` | `DELETE` | `/observability/alerts/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | -| `deleteObservabilityAlertsRulesRuleId(...)` | `DELETE` | `/observability/alerts/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | -| `deleteObservabilityAlertsParam(...)` | `DELETE` | `/observability/alerts/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteObservabilityAlertsParam(...)` | `DELETE` | `/observability/alerts/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `deleteObservabilityDashboardsParam(...)` | `DELETE` | `/observability/dashboards/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteObservabilityDashboardsParam(...)` | `DELETE` | `/observability/dashboards/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityAlerts(...)` | `GET` | `/observability/alerts` | `query, Class responseType` | `@Nullable T` | -| `getObservabilityAlerts(...)` | `GET` | `/observability/alerts` | `query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityAlertsIncidents(...)` | `GET` | `/observability/alerts/incidents` | `query, Class responseType` | `@Nullable T` | -| `getObservabilityAlertsIncidents(...)` | `GET` | `/observability/alerts/incidents` | `query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityAlertsRules(...)` | `GET` | `/observability/alerts/rules` | `query, Class responseType` | `@Nullable T` | -| `getObservabilityAlertsRules(...)` | `GET` | `/observability/alerts/rules` | `query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityAlertsRulesRuleId(...)` | `GET` | `/observability/alerts/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | -| `getObservabilityAlertsRulesRuleId(...)` | `GET` | `/observability/alerts/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityDashboards(...)` | `GET` | `/observability/dashboards` | `query, Class responseType` | `@Nullable T` | -| `getObservabilityDashboards(...)` | `GET` | `/observability/dashboards` | `query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityDashboardsParam(...)` | `GET` | `/observability/dashboards/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getObservabilityDashboardsParam(...)` | `GET` | `/observability/dashboards/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityEventsStats(...)` | `GET` | `/observability/events/stats` | `query, Class responseType` | `@Nullable T` | -| `getObservabilityEventsStats(...)` | `GET` | `/observability/events/stats` | `query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityMetrics(...)` | `GET` | `/observability/metrics` | `query, Class responseType` | `@Nullable T` | -| `getObservabilityMetrics(...)` | `GET` | `/observability/metrics` | `query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityMetricsList(...)` | `GET` | `/observability/metrics/list` | `query, Class responseType` | `@Nullable T` | -| `getObservabilityMetricsList(...)` | `GET` | `/observability/metrics/list` | `query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityTraces(...)` | `GET` | `/observability/traces` | `query, Class responseType` | `@Nullable T` | -| `getObservabilityTraces(...)` | `GET` | `/observability/traces` | `query, TypeReference responseType` | `@Nullable T` | -| `getObservabilityTracesParam(...)` | `GET` | `/observability/traces/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getObservabilityTracesParam(...)` | `GET` | `/observability/traces/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `postObservabilityAlerts(...)` | `POST` | `/observability/alerts` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityAlerts(...)` | `POST` | `/observability/alerts` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityAlertsRules(...)` | `POST` | `/observability/alerts/rules` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityAlertsRules(...)` | `POST` | `/observability/alerts/rules` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityAlertsRulesRuleIdToggle(...)` | `POST` | `/observability/alerts/rules/{param}/toggle` | `ruleId, query, body, Class responseType` | `@Nullable T` | -| `postObservabilityAlertsRulesRuleIdToggle(...)` | `POST` | `/observability/alerts/rules/{param}/toggle` | `ruleId, query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityAlertsParamDisable(...)` | `POST` | `/observability/alerts/{param}/disable` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postObservabilityAlertsParamDisable(...)` | `POST` | `/observability/alerts/{param}/disable` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityAlertsParamEnable(...)` | `POST` | `/observability/alerts/{param}/enable` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postObservabilityAlertsParamEnable(...)` | `POST` | `/observability/alerts/{param}/enable` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityDashboards(...)` | `POST` | `/observability/dashboards` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityDashboards(...)` | `POST` | `/observability/dashboards` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityDashboardsParamShare(...)` | `POST` | `/observability/dashboards/{param}/share` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postObservabilityDashboardsParamShare(...)` | `POST` | `/observability/dashboards/{param}/share` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityEvents(...)` | `POST` | `/observability/events` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityEvents(...)` | `POST` | `/observability/events` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityEventsBatch(...)` | `POST` | `/observability/events/batch` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityEventsBatch(...)` | `POST` | `/observability/events/batch` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityLogsIngest(...)` | `POST` | `/observability/logs/ingest` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityLogsIngest(...)` | `POST` | `/observability/logs/ingest` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityLogsQuery(...)` | `POST` | `/observability/logs/query` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityLogsQuery(...)` | `POST` | `/observability/logs/query` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityMetricsIngest(...)` | `POST` | `/observability/metrics/ingest` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityMetricsIngest(...)` | `POST` | `/observability/metrics/ingest` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postObservabilityTracesQuery(...)` | `POST` | `/observability/traces/query` | `query, body, Class responseType` | `@Nullable T` | -| `postObservabilityTracesQuery(...)` | `POST` | `/observability/traces/query` | `query, body, TypeReference responseType` | `@Nullable T` | -| `putObservabilityAlertsRulesRuleId(...)` | `PUT` | `/observability/alerts/rules/{param}` | `ruleId, query, body, Class responseType` | `@Nullable T` | -| `putObservabilityAlertsRulesRuleId(...)` | `PUT` | `/observability/alerts/rules/{param}` | `ruleId, query, body, TypeReference responseType` | `@Nullable T` | -| `putObservabilityAlertsParam(...)` | `PUT` | `/observability/alerts/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `putObservabilityAlertsParam(...)` | `PUT` | `/observability/alerts/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `putObservabilityDashboardsParam(...)` | `PUT` | `/observability/dashboards/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `putObservabilityDashboardsParam(...)` | `PUT` | `/observability/dashboards/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `streamObservabilityLogsStream(...)` | `STREAM` | `/observability/logs/stream` | `query` | `Flow.Publisher` | -| `streamObservabilityLogsStreamBlocking(...)` | `STREAM` | `/observability/logs/stream` | `query` | `SseEventIterator` | -| No catalogued operations | — | — | — | — | +| `observability().alerts().delete(...)` | `DELETE` | `/observability/alerts/{param}` | `String alertId, QueryParams query, Class responseType` | `@Nullable T` | +| `observability().alerts().delete(...)` | `DELETE` | `/observability/alerts/{param}` | `String alertId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().delete(...)` | `DELETE` | `/observability/alerts/{param}` | `String alertId, Class responseType` | `@Nullable T` | +| `observability().alerts().delete(...)` | `DELETE` | `/observability/alerts/{param}` | `String alertId, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().list(...)` | `GET` | `/observability/alerts` | `QueryParams query, Class responseType` | `@Nullable T` | +| `observability().alerts().list(...)` | `GET` | `/observability/alerts` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().list(...)` | `GET` | `/observability/alerts` | `Class responseType` | `@Nullable T` | +| `observability().alerts().list(...)` | `GET` | `/observability/alerts` | `TypeReference responseType` | `@Nullable T` | +| `observability().alerts().create(...)` | `POST` | `/observability/alerts` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().create(...)` | `POST` | `/observability/alerts` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().create(...)` | `POST` | `/observability/alerts` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().create(...)` | `POST` | `/observability/alerts` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().disable(...)` | `POST` | `/observability/alerts/{param}/disable` | `String alertId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().disable(...)` | `POST` | `/observability/alerts/{param}/disable` | `String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().disable(...)` | `POST` | `/observability/alerts/{param}/disable` | `String alertId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().disable(...)` | `POST` | `/observability/alerts/{param}/disable` | `String alertId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().enable(...)` | `POST` | `/observability/alerts/{param}/enable` | `String alertId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().enable(...)` | `POST` | `/observability/alerts/{param}/enable` | `String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().enable(...)` | `POST` | `/observability/alerts/{param}/enable` | `String alertId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().enable(...)` | `POST` | `/observability/alerts/{param}/enable` | `String alertId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().update(...)` | `PUT` | `/observability/alerts/{param}` | `String alertId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().update(...)` | `PUT` | `/observability/alerts/{param}` | `String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().update(...)` | `PUT` | `/observability/alerts/{param}` | `String alertId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().update(...)` | `PUT` | `/observability/alerts/{param}` | `String alertId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().delete(...)` | `DELETE` | `/observability/dashboards/{param}` | `String dashboardId, QueryParams query, Class responseType` | `@Nullable T` | +| `observability().dashboards().delete(...)` | `DELETE` | `/observability/dashboards/{param}` | `String dashboardId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().delete(...)` | `DELETE` | `/observability/dashboards/{param}` | `String dashboardId, Class responseType` | `@Nullable T` | +| `observability().dashboards().delete(...)` | `DELETE` | `/observability/dashboards/{param}` | `String dashboardId, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().list(...)` | `GET` | `/observability/dashboards` | `QueryParams query, Class responseType` | `@Nullable T` | +| `observability().dashboards().list(...)` | `GET` | `/observability/dashboards` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().list(...)` | `GET` | `/observability/dashboards` | `Class responseType` | `@Nullable T` | +| `observability().dashboards().list(...)` | `GET` | `/observability/dashboards` | `TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().get(...)` | `GET` | `/observability/dashboards/{param}` | `String dashboardId, QueryParams query, Class responseType` | `@Nullable T` | +| `observability().dashboards().get(...)` | `GET` | `/observability/dashboards/{param}` | `String dashboardId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().get(...)` | `GET` | `/observability/dashboards/{param}` | `String dashboardId, Class responseType` | `@Nullable T` | +| `observability().dashboards().get(...)` | `GET` | `/observability/dashboards/{param}` | `String dashboardId, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().create(...)` | `POST` | `/observability/dashboards` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().dashboards().create(...)` | `POST` | `/observability/dashboards` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().create(...)` | `POST` | `/observability/dashboards` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().dashboards().create(...)` | `POST` | `/observability/dashboards` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().share(...)` | `POST` | `/observability/dashboards/{param}/share` | `String dashboardId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().dashboards().share(...)` | `POST` | `/observability/dashboards/{param}/share` | `String dashboardId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().share(...)` | `POST` | `/observability/dashboards/{param}/share` | `String dashboardId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().dashboards().share(...)` | `POST` | `/observability/dashboards/{param}/share` | `String dashboardId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().update(...)` | `PUT` | `/observability/dashboards/{param}` | `String dashboardId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().dashboards().update(...)` | `PUT` | `/observability/dashboards/{param}` | `String dashboardId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().dashboards().update(...)` | `PUT` | `/observability/dashboards/{param}` | `String dashboardId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().dashboards().update(...)` | `PUT` | `/observability/dashboards/{param}` | `String dashboardId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().events().create(...)` | `POST` | `/observability/events` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().events().create(...)` | `POST` | `/observability/events` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().events().create(...)` | `POST` | `/observability/events` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().events().create(...)` | `POST` | `/observability/events` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().events().batch(...)` | `POST` | `/observability/events/batch` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().events().batch(...)` | `POST` | `/observability/events/batch` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().events().batch(...)` | `POST` | `/observability/events/batch` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().events().batch(...)` | `POST` | `/observability/events/batch` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().logs().ingest(...)` | `POST` | `/observability/logs/ingest` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().logs().ingest(...)` | `POST` | `/observability/logs/ingest` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().logs().ingest(...)` | `POST` | `/observability/logs/ingest` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().logs().ingest(...)` | `POST` | `/observability/logs/ingest` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().logs().query(...)` | `POST` | `/observability/logs/query` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().logs().query(...)` | `POST` | `/observability/logs/query` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().logs().query(...)` | `POST` | `/observability/logs/query` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().logs().query(...)` | `POST` | `/observability/logs/query` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().logs().stream(...)` | `STREAM` | `/observability/logs/stream` | `QueryParams query` | `Flow.Publisher` | +| `observability().logs().stream(...)` | `STREAM` | `/observability/logs/stream` | `` | `Flow.Publisher` | +| `observability().logs().streamBlocking(...)` | `STREAM` | `/observability/logs/stream` | `QueryParams query` | `SseEventIterator` | +| `observability().logs().streamBlocking(...)` | `STREAM` | `/observability/logs/stream` | `` | `SseEventIterator` | +| `observability().metrics().list(...)` | `GET` | `/observability/metrics` | `QueryParams query, Class responseType` | `@Nullable T` | +| `observability().metrics().list(...)` | `GET` | `/observability/metrics` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().metrics().list(...)` | `GET` | `/observability/metrics` | `Class responseType` | `@Nullable T` | +| `observability().metrics().list(...)` | `GET` | `/observability/metrics` | `TypeReference responseType` | `@Nullable T` | +| `observability().metrics().getList(...)` | `GET` | `/observability/metrics/list` | `QueryParams query, Class responseType` | `@Nullable T` | +| `observability().metrics().getList(...)` | `GET` | `/observability/metrics/list` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().metrics().getList(...)` | `GET` | `/observability/metrics/list` | `Class responseType` | `@Nullable T` | +| `observability().metrics().getList(...)` | `GET` | `/observability/metrics/list` | `TypeReference responseType` | `@Nullable T` | +| `observability().metrics().ingest(...)` | `POST` | `/observability/metrics/ingest` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().metrics().ingest(...)` | `POST` | `/observability/metrics/ingest` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().metrics().ingest(...)` | `POST` | `/observability/metrics/ingest` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().metrics().ingest(...)` | `POST` | `/observability/metrics/ingest` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().traces().list(...)` | `GET` | `/observability/traces` | `QueryParams query, Class responseType` | `@Nullable T` | +| `observability().traces().list(...)` | `GET` | `/observability/traces` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().traces().list(...)` | `GET` | `/observability/traces` | `Class responseType` | `@Nullable T` | +| `observability().traces().list(...)` | `GET` | `/observability/traces` | `TypeReference responseType` | `@Nullable T` | +| `observability().traces().get(...)` | `GET` | `/observability/traces/{param}` | `String traceId, QueryParams query, Class responseType` | `@Nullable T` | +| `observability().traces().get(...)` | `GET` | `/observability/traces/{param}` | `String traceId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().traces().get(...)` | `GET` | `/observability/traces/{param}` | `String traceId, Class responseType` | `@Nullable T` | +| `observability().traces().get(...)` | `GET` | `/observability/traces/{param}` | `String traceId, TypeReference responseType` | `@Nullable T` | +| `observability().traces().query(...)` | `POST` | `/observability/traces/query` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().traces().query(...)` | `POST` | `/observability/traces/query` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().traces().query(...)` | `POST` | `/observability/traces/query` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().traces().query(...)` | `POST` | `/observability/traces/query` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().incidents().list(...)` | `GET` | `/observability/alerts/incidents` | `QueryParams query, Class responseType` | `@Nullable T` | +| `observability().alerts().incidents().list(...)` | `GET` | `/observability/alerts/incidents` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().incidents().list(...)` | `GET` | `/observability/alerts/incidents` | `Class responseType` | `@Nullable T` | +| `observability().alerts().incidents().list(...)` | `GET` | `/observability/alerts/incidents` | `TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().delete(...)` | `DELETE` | `/observability/alerts/rules/{param}` | `String ruleId, QueryParams query, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().delete(...)` | `DELETE` | `/observability/alerts/rules/{param}` | `String ruleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().delete(...)` | `DELETE` | `/observability/alerts/rules/{param}` | `String ruleId, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().delete(...)` | `DELETE` | `/observability/alerts/rules/{param}` | `String ruleId, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().list(...)` | `GET` | `/observability/alerts/rules` | `QueryParams query, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().list(...)` | `GET` | `/observability/alerts/rules` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().list(...)` | `GET` | `/observability/alerts/rules` | `Class responseType` | `@Nullable T` | +| `observability().alerts().rules().list(...)` | `GET` | `/observability/alerts/rules` | `TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().get(...)` | `GET` | `/observability/alerts/rules/{param}` | `String ruleId, QueryParams query, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().get(...)` | `GET` | `/observability/alerts/rules/{param}` | `String ruleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().get(...)` | `GET` | `/observability/alerts/rules/{param}` | `String ruleId, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().get(...)` | `GET` | `/observability/alerts/rules/{param}` | `String ruleId, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().create(...)` | `POST` | `/observability/alerts/rules` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().create(...)` | `POST` | `/observability/alerts/rules` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().create(...)` | `POST` | `/observability/alerts/rules` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().create(...)` | `POST` | `/observability/alerts/rules` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().toggle(...)` | `POST` | `/observability/alerts/rules/{param}/toggle` | `String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().toggle(...)` | `POST` | `/observability/alerts/rules/{param}/toggle` | `String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().toggle(...)` | `POST` | `/observability/alerts/rules/{param}/toggle` | `String ruleId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().toggle(...)` | `POST` | `/observability/alerts/rules/{param}/toggle` | `String ruleId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().update(...)` | `PUT` | `/observability/alerts/rules/{param}` | `String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().update(...)` | `PUT` | `/observability/alerts/rules/{param}` | `String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().alerts().rules().update(...)` | `PUT` | `/observability/alerts/rules/{param}` | `String ruleId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `observability().alerts().rules().update(...)` | `PUT` | `/observability/alerts/rules/{param}` | `String ruleId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `observability().events().stats().list(...)` | `GET` | `/observability/events/stats` | `QueryParams query, Class responseType` | `@Nullable T` | +| `observability().events().stats().list(...)` | `GET` | `/observability/events/stats` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `observability().events().stats().list(...)` | `GET` | `/observability/events/stats` | `Class responseType` | `@Nullable T` | +| `observability().events().stats().list(...)` | `GET` | `/observability/events/stats` | `TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/ontology.md b/docs/api/ontology.md index 93fb36b..c431f90 100644 --- a/docs/api/ontology.md +++ b/docs/api/ontology.md @@ -2,352 +2,693 @@ Service accessor: `frontal.ontology()` (`OntologyClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteOntologyObjectsObjectTypesObjectTypeId(...)` | `DELETE` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyObjectsObjectTypesObjectTypeId(...)` | `DELETE` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologyObjectsObjectsObjectId(...)` | `DELETE` | `/ontology/objects/objects/{param}` | `objectId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyObjectsObjectsObjectId(...)` | `DELETE` | `/ontology/objects/objects/{param}` | `objectId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologyReasoningRulesRuleId(...)` | `DELETE` | `/ontology/reasoning/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyReasoningRulesRuleId(...)` | `DELETE` | `/ontology/reasoning/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId(...)` | `DELETE` | `/ontology/relationships/relationship-types/{param}` | `relationshipTypeId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId(...)` | `DELETE` | `/ontology/relationships/relationship-types/{param}` | `relationshipTypeId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologyRelationshipsRelationshipsRelationshipId(...)` | `DELETE` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyRelationshipsRelationshipsRelationshipId(...)` | `DELETE` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologyRolloutsRolloutsRolloutId(...)` | `DELETE` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyRolloutsRolloutsRolloutId(...)` | `DELETE` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologyRollupsRollupsRollupId(...)` | `DELETE` | `/ontology/rollups/rollups/{param}` | `rollupId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyRollupsRollupsRollupId(...)` | `DELETE` | `/ontology/rollups/rollups/{param}` | `rollupId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologySchemasSchemasSchemaId(...)` | `DELETE` | `/ontology/schemas/schemas/{param}` | `schemaId, query, Class responseType` | `@Nullable T` | -| `deleteOntologySchemasSchemasSchemaId(...)` | `DELETE` | `/ontology/schemas/schemas/{param}` | `schemaId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologyValidationRulesRuleId(...)` | `DELETE` | `/ontology/validation/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyValidationRulesRuleId(...)` | `DELETE` | `/ontology/validation/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | -| `deleteOntologyVersionsVersionsVersionId(...)` | `DELETE` | `/ontology/versions/versions/{param}` | `versionId, query, Class responseType` | `@Nullable T` | -| `deleteOntologyVersionsVersionsVersionId(...)` | `DELETE` | `/ontology/versions/versions/{param}` | `versionId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEngineCapabilities(...)` | `GET` | `/ontology/engine/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEngineCapabilities(...)` | `GET` | `/ontology/engine/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEngineHealth(...)` | `GET` | `/ontology/engine/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEngineHealth(...)` | `GET` | `/ontology/engine/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEngineInfo(...)` | `GET` | `/ontology/engine/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEngineInfo(...)` | `GET` | `/ontology/engine/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEngineRuns(...)` | `GET` | `/ontology/engine/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEngineRuns(...)` | `GET` | `/ontology/engine/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEngineRunsRunId(...)` | `GET` | `/ontology/engine/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyEngineRunsRunId(...)` | `GET` | `/ontology/engine/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEventsCapabilities(...)` | `GET` | `/ontology/events/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEventsCapabilities(...)` | `GET` | `/ontology/events/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEventsEvents(...)` | `GET` | `/ontology/events/events` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEventsEvents(...)` | `GET` | `/ontology/events/events` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEventsEventsCheckpointsConsumer(...)` | `GET` | `/ontology/events/events/checkpoints/{param}` | `consumer, query, Class responseType` | `@Nullable T` | -| `getOntologyEventsEventsCheckpointsConsumer(...)` | `GET` | `/ontology/events/events/checkpoints/{param}` | `consumer, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEventsEventsEventId(...)` | `GET` | `/ontology/events/events/{param}` | `eventId, query, Class responseType` | `@Nullable T` | -| `getOntologyEventsEventsEventId(...)` | `GET` | `/ontology/events/events/{param}` | `eventId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEventsHealth(...)` | `GET` | `/ontology/events/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEventsHealth(...)` | `GET` | `/ontology/events/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEventsInfo(...)` | `GET` | `/ontology/events/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEventsInfo(...)` | `GET` | `/ontology/events/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEventsRuns(...)` | `GET` | `/ontology/events/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyEventsRuns(...)` | `GET` | `/ontology/events/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyEventsRunsRunId(...)` | `GET` | `/ontology/events/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyEventsRunsRunId(...)` | `GET` | `/ontology/events/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyExtractCapabilities(...)` | `GET` | `/ontology/extract/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyExtractCapabilities(...)` | `GET` | `/ontology/extract/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyExtractHealth(...)` | `GET` | `/ontology/extract/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyExtractHealth(...)` | `GET` | `/ontology/extract/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyExtractInfo(...)` | `GET` | `/ontology/extract/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyExtractInfo(...)` | `GET` | `/ontology/extract/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyExtractRuns(...)` | `GET` | `/ontology/extract/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyExtractRuns(...)` | `GET` | `/ontology/extract/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyExtractRunsRunId(...)` | `GET` | `/ontology/extract/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyExtractRunsRunId(...)` | `GET` | `/ontology/extract/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyGraphCapabilities(...)` | `GET` | `/ontology/graph/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyGraphCapabilities(...)` | `GET` | `/ontology/graph/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyGraphEntitiesEntityId(...)` | `GET` | `/ontology/graph/entities/{param}` | `entityId, query, Class responseType` | `@Nullable T` | -| `getOntologyGraphEntitiesEntityId(...)` | `GET` | `/ontology/graph/entities/{param}` | `entityId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyGraphEntitiesEntityIdProvenance(...)` | `GET` | `/ontology/graph/entities/{param}/provenance` | `entityId, query, Class responseType` | `@Nullable T` | -| `getOntologyGraphEntitiesEntityIdProvenance(...)` | `GET` | `/ontology/graph/entities/{param}/provenance` | `entityId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyGraphHealth(...)` | `GET` | `/ontology/graph/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyGraphHealth(...)` | `GET` | `/ontology/graph/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyGraphInfo(...)` | `GET` | `/ontology/graph/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyGraphInfo(...)` | `GET` | `/ontology/graph/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyGraphRelationshipsRelationshipId(...)` | `GET` | `/ontology/graph/relationships/{param}` | `relationshipId, query, Class responseType` | `@Nullable T` | -| `getOntologyGraphRelationshipsRelationshipId(...)` | `GET` | `/ontology/graph/relationships/{param}` | `relationshipId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyGraphRuns(...)` | `GET` | `/ontology/graph/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyGraphRuns(...)` | `GET` | `/ontology/graph/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyGraphRunsRunId(...)` | `GET` | `/ontology/graph/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyGraphRunsRunId(...)` | `GET` | `/ontology/graph/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsCapabilities(...)` | `GET` | `/ontology/objects/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsCapabilities(...)` | `GET` | `/ontology/objects/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsHealth(...)` | `GET` | `/ontology/objects/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsHealth(...)` | `GET` | `/ontology/objects/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsInfo(...)` | `GET` | `/ontology/objects/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsInfo(...)` | `GET` | `/ontology/objects/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsObjectTypes(...)` | `GET` | `/ontology/objects/object-types` | `query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsObjectTypes(...)` | `GET` | `/ontology/objects/object-types` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsObjectTypesObjectTypeId(...)` | `GET` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsObjectTypesObjectTypeId(...)` | `GET` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsObjects(...)` | `GET` | `/ontology/objects/objects` | `query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsObjects(...)` | `GET` | `/ontology/objects/objects` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsObjectsObjectId(...)` | `GET` | `/ontology/objects/objects/{param}` | `objectId, query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsObjectsObjectId(...)` | `GET` | `/ontology/objects/objects/{param}` | `objectId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsRuns(...)` | `GET` | `/ontology/objects/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsRuns(...)` | `GET` | `/ontology/objects/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyObjectsRunsRunId(...)` | `GET` | `/ontology/objects/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyObjectsRunsRunId(...)` | `GET` | `/ontology/objects/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyReasoningCapabilities(...)` | `GET` | `/ontology/reasoning/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyReasoningCapabilities(...)` | `GET` | `/ontology/reasoning/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyReasoningHealth(...)` | `GET` | `/ontology/reasoning/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyReasoningHealth(...)` | `GET` | `/ontology/reasoning/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyReasoningInfo(...)` | `GET` | `/ontology/reasoning/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyReasoningInfo(...)` | `GET` | `/ontology/reasoning/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyReasoningRules(...)` | `GET` | `/ontology/reasoning/rules` | `query, Class responseType` | `@Nullable T` | -| `getOntologyReasoningRules(...)` | `GET` | `/ontology/reasoning/rules` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyReasoningRuns(...)` | `GET` | `/ontology/reasoning/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyReasoningRuns(...)` | `GET` | `/ontology/reasoning/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyReasoningRunsRunId(...)` | `GET` | `/ontology/reasoning/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyReasoningRunsRunId(...)` | `GET` | `/ontology/reasoning/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRelationshipsCapabilities(...)` | `GET` | `/ontology/relationships/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRelationshipsCapabilities(...)` | `GET` | `/ontology/relationships/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRelationshipsHealth(...)` | `GET` | `/ontology/relationships/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRelationshipsHealth(...)` | `GET` | `/ontology/relationships/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRelationshipsInfo(...)` | `GET` | `/ontology/relationships/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRelationshipsInfo(...)` | `GET` | `/ontology/relationships/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRelationshipsRelationshipTypes(...)` | `GET` | `/ontology/relationships/relationship-types` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRelationshipsRelationshipTypes(...)` | `GET` | `/ontology/relationships/relationship-types` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRelationshipsRelationships(...)` | `GET` | `/ontology/relationships/relationships` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRelationshipsRelationships(...)` | `GET` | `/ontology/relationships/relationships` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRelationshipsRelationshipsRelationshipId(...)` | `GET` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, Class responseType` | `@Nullable T` | -| `getOntologyRelationshipsRelationshipsRelationshipId(...)` | `GET` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRelationshipsRuns(...)` | `GET` | `/ontology/relationships/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRelationshipsRuns(...)` | `GET` | `/ontology/relationships/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRelationshipsRunsRunId(...)` | `GET` | `/ontology/relationships/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyRelationshipsRunsRunId(...)` | `GET` | `/ontology/relationships/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRolloutsCapabilities(...)` | `GET` | `/ontology/rollouts/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRolloutsCapabilities(...)` | `GET` | `/ontology/rollouts/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRolloutsHealth(...)` | `GET` | `/ontology/rollouts/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRolloutsHealth(...)` | `GET` | `/ontology/rollouts/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRolloutsInfo(...)` | `GET` | `/ontology/rollouts/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRolloutsInfo(...)` | `GET` | `/ontology/rollouts/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRolloutsRollouts(...)` | `GET` | `/ontology/rollouts/rollouts` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRolloutsRollouts(...)` | `GET` | `/ontology/rollouts/rollouts` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRolloutsRolloutsRolloutId(...)` | `GET` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, Class responseType` | `@Nullable T` | -| `getOntologyRolloutsRolloutsRolloutId(...)` | `GET` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRolloutsRolloutsRolloutIdStatus(...)` | `GET` | `/ontology/rollouts/rollouts/{param}/status` | `rolloutId, query, Class responseType` | `@Nullable T` | -| `getOntologyRolloutsRolloutsRolloutIdStatus(...)` | `GET` | `/ontology/rollouts/rollouts/{param}/status` | `rolloutId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRolloutsRuns(...)` | `GET` | `/ontology/rollouts/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRolloutsRuns(...)` | `GET` | `/ontology/rollouts/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRolloutsRunsRunId(...)` | `GET` | `/ontology/rollouts/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyRolloutsRunsRunId(...)` | `GET` | `/ontology/rollouts/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsCapabilities(...)` | `GET` | `/ontology/rollups/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsCapabilities(...)` | `GET` | `/ontology/rollups/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsHealth(...)` | `GET` | `/ontology/rollups/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsHealth(...)` | `GET` | `/ontology/rollups/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsInfo(...)` | `GET` | `/ontology/rollups/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsInfo(...)` | `GET` | `/ontology/rollups/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsRollupResultsExecutionId(...)` | `GET` | `/ontology/rollups/rollup-results/{param}` | `executionId, query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsRollupResultsExecutionId(...)` | `GET` | `/ontology/rollups/rollup-results/{param}` | `executionId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsRollups(...)` | `GET` | `/ontology/rollups/rollups` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsRollups(...)` | `GET` | `/ontology/rollups/rollups` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsRollupsRollupId(...)` | `GET` | `/ontology/rollups/rollups/{param}` | `rollupId, query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsRollupsRollupId(...)` | `GET` | `/ontology/rollups/rollups/{param}` | `rollupId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsRollupsRollupIdResult(...)` | `GET` | `/ontology/rollups/rollups/{param}/result` | `rollupId, query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsRollupsRollupIdResult(...)` | `GET` | `/ontology/rollups/rollups/{param}/result` | `rollupId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsRuns(...)` | `GET` | `/ontology/rollups/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsRuns(...)` | `GET` | `/ontology/rollups/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyRollupsRunsRunId(...)` | `GET` | `/ontology/rollups/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyRollupsRunsRunId(...)` | `GET` | `/ontology/rollups/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologySchemasCapabilities(...)` | `GET` | `/ontology/schemas/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologySchemasCapabilities(...)` | `GET` | `/ontology/schemas/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologySchemasHealth(...)` | `GET` | `/ontology/schemas/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologySchemasHealth(...)` | `GET` | `/ontology/schemas/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologySchemasInfo(...)` | `GET` | `/ontology/schemas/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologySchemasInfo(...)` | `GET` | `/ontology/schemas/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologySchemasRuns(...)` | `GET` | `/ontology/schemas/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologySchemasRuns(...)` | `GET` | `/ontology/schemas/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologySchemasRunsRunId(...)` | `GET` | `/ontology/schemas/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologySchemasRunsRunId(...)` | `GET` | `/ontology/schemas/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologySchemasSchemas(...)` | `GET` | `/ontology/schemas/schemas` | `query, Class responseType` | `@Nullable T` | -| `getOntologySchemasSchemas(...)` | `GET` | `/ontology/schemas/schemas` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologySchemasSchemasSchemaId(...)` | `GET` | `/ontology/schemas/schemas/{param}` | `schemaId, query, Class responseType` | `@Nullable T` | -| `getOntologySchemasSchemasSchemaId(...)` | `GET` | `/ontology/schemas/schemas/{param}` | `schemaId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyTransformationsCapabilities(...)` | `GET` | `/ontology/transformations/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyTransformationsCapabilities(...)` | `GET` | `/ontology/transformations/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyTransformationsHealth(...)` | `GET` | `/ontology/transformations/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyTransformationsHealth(...)` | `GET` | `/ontology/transformations/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyTransformationsInfo(...)` | `GET` | `/ontology/transformations/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyTransformationsInfo(...)` | `GET` | `/ontology/transformations/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyTransformationsRuns(...)` | `GET` | `/ontology/transformations/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyTransformationsRuns(...)` | `GET` | `/ontology/transformations/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyTransformationsRunsRunId(...)` | `GET` | `/ontology/transformations/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyTransformationsRunsRunId(...)` | `GET` | `/ontology/transformations/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyValidationCapabilities(...)` | `GET` | `/ontology/validation/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyValidationCapabilities(...)` | `GET` | `/ontology/validation/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyValidationHealth(...)` | `GET` | `/ontology/validation/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyValidationHealth(...)` | `GET` | `/ontology/validation/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyValidationInfo(...)` | `GET` | `/ontology/validation/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyValidationInfo(...)` | `GET` | `/ontology/validation/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyValidationRules(...)` | `GET` | `/ontology/validation/rules` | `query, Class responseType` | `@Nullable T` | -| `getOntologyValidationRules(...)` | `GET` | `/ontology/validation/rules` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyValidationRulesRuleId(...)` | `GET` | `/ontology/validation/rules/{param}` | `ruleId, query, Class responseType` | `@Nullable T` | -| `getOntologyValidationRulesRuleId(...)` | `GET` | `/ontology/validation/rules/{param}` | `ruleId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyValidationRuns(...)` | `GET` | `/ontology/validation/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyValidationRuns(...)` | `GET` | `/ontology/validation/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyValidationRunsRunId(...)` | `GET` | `/ontology/validation/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyValidationRunsRunId(...)` | `GET` | `/ontology/validation/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyVersionsCapabilities(...)` | `GET` | `/ontology/versions/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getOntologyVersionsCapabilities(...)` | `GET` | `/ontology/versions/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyVersionsHealth(...)` | `GET` | `/ontology/versions/health` | `query, Class responseType` | `@Nullable T` | -| `getOntologyVersionsHealth(...)` | `GET` | `/ontology/versions/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyVersionsInfo(...)` | `GET` | `/ontology/versions/info` | `query, Class responseType` | `@Nullable T` | -| `getOntologyVersionsInfo(...)` | `GET` | `/ontology/versions/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyVersionsReleaseBundles(...)` | `GET` | `/ontology/versions/release-bundles` | `query, Class responseType` | `@Nullable T` | -| `getOntologyVersionsReleaseBundles(...)` | `GET` | `/ontology/versions/release-bundles` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyVersionsReleaseBundlesBundleId(...)` | `GET` | `/ontology/versions/release-bundles/{param}` | `bundleId, query, Class responseType` | `@Nullable T` | -| `getOntologyVersionsReleaseBundlesBundleId(...)` | `GET` | `/ontology/versions/release-bundles/{param}` | `bundleId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyVersionsRuns(...)` | `GET` | `/ontology/versions/runs` | `query, Class responseType` | `@Nullable T` | -| `getOntologyVersionsRuns(...)` | `GET` | `/ontology/versions/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getOntologyVersionsRunsRunId(...)` | `GET` | `/ontology/versions/runs/{param}` | `runId, query, Class responseType` | `@Nullable T` | -| `getOntologyVersionsRunsRunId(...)` | `GET` | `/ontology/versions/runs/{param}` | `runId, query, TypeReference responseType` | `@Nullable T` | -| `getOntologyVersionsVersionsVersionId(...)` | `GET` | `/ontology/versions/versions/{param}` | `versionId, query, Class responseType` | `@Nullable T` | -| `getOntologyVersionsVersionsVersionId(...)` | `GET` | `/ontology/versions/versions/{param}` | `versionId, query, TypeReference responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesCompareVersions(...)` | `POST` | `/ontology/engine/ontologies/compare-versions` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesCompareVersions(...)` | `POST` | `/ontology/engine/ontologies/compare-versions` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesExport(...)` | `POST` | `/ontology/engine/ontologies/export` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesExport(...)` | `POST` | `/ontology/engine/ontologies/export` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesExportShacl(...)` | `POST` | `/ontology/engine/ontologies/export-shacl` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesExportShacl(...)` | `POST` | `/ontology/engine/ontologies/export-shacl` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesGenerate(...)` | `POST` | `/ontology/engine/ontologies/generate` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesGenerate(...)` | `POST` | `/ontology/engine/ontologies/generate` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesInferClasses(...)` | `POST` | `/ontology/engine/ontologies/infer-classes` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesInferClasses(...)` | `POST` | `/ontology/engine/ontologies/infer-classes` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesInferProperties(...)` | `POST` | `/ontology/engine/ontologies/infer-properties` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesInferProperties(...)` | `POST` | `/ontology/engine/ontologies/infer-properties` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesValidate(...)` | `POST` | `/ontology/engine/ontologies/validate` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEngineOntologiesValidate(...)` | `POST` | `/ontology/engine/ontologies/validate` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEngineRuns(...)` | `POST` | `/ontology/engine/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEngineRuns(...)` | `POST` | `/ontology/engine/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEventsEvents(...)` | `POST` | `/ontology/events/events` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEventsEvents(...)` | `POST` | `/ontology/events/events` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEventsEventsCheckpoints(...)` | `POST` | `/ontology/events/events/checkpoints` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEventsEventsCheckpoints(...)` | `POST` | `/ontology/events/events/checkpoints` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEventsEventsLeasesAcknowledge(...)` | `POST` | `/ontology/events/events/leases/acknowledge` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEventsEventsLeasesAcknowledge(...)` | `POST` | `/ontology/events/events/leases/acknowledge` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEventsEventsLeasesAcquire(...)` | `POST` | `/ontology/events/events/leases/acquire` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEventsEventsLeasesAcquire(...)` | `POST` | `/ontology/events/events/leases/acquire` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyEventsRuns(...)` | `POST` | `/ontology/events/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyEventsRuns(...)` | `POST` | `/ontology/events/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyExtractExtractAnalyze(...)` | `POST` | `/ontology/extract/extract/analyze` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyExtractExtractAnalyze(...)` | `POST` | `/ontology/extract/extract/analyze` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyExtractExtractArchitecture(...)` | `POST` | `/ontology/extract/extract/architecture` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyExtractExtractArchitecture(...)` | `POST` | `/ontology/extract/extract/architecture` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyExtractExtractCoreferences(...)` | `POST` | `/ontology/extract/extract/coreferences` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyExtractExtractCoreferences(...)` | `POST` | `/ontology/extract/extract/coreferences` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyExtractExtractEntities(...)` | `POST` | `/ontology/extract/extract/entities` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyExtractExtractEntities(...)` | `POST` | `/ontology/extract/extract/entities` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyExtractExtractEvents(...)` | `POST` | `/ontology/extract/extract/events` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyExtractExtractEvents(...)` | `POST` | `/ontology/extract/extract/events` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyExtractExtractRelations(...)` | `POST` | `/ontology/extract/extract/relations` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyExtractExtractRelations(...)` | `POST` | `/ontology/extract/extract/relations` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyExtractExtractTriplets(...)` | `POST` | `/ontology/extract/extract/triplets` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyExtractExtractTriplets(...)` | `POST` | `/ontology/extract/extract/triplets` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyExtractRuns(...)` | `POST` | `/ontology/extract/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyExtractRuns(...)` | `POST` | `/ontology/extract/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyGraphGraphAnalyze(...)` | `POST` | `/ontology/graph/graph/analyze` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyGraphGraphAnalyze(...)` | `POST` | `/ontology/graph/graph/analyze` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyGraphGraphBuild(...)` | `POST` | `/ontology/graph/graph/build` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyGraphGraphBuild(...)` | `POST` | `/ontology/graph/graph/build` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyGraphGraphBulkRead(...)` | `POST` | `/ontology/graph/graph/bulk-read` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyGraphGraphBulkRead(...)` | `POST` | `/ontology/graph/graph/bulk-read` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyGraphGraphNeighborhood(...)` | `POST` | `/ontology/graph/graph/neighborhood` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyGraphGraphNeighborhood(...)` | `POST` | `/ontology/graph/graph/neighborhood` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyGraphGraphPath(...)` | `POST` | `/ontology/graph/graph/path` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyGraphGraphPath(...)` | `POST` | `/ontology/graph/graph/path` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyGraphGraphQuery(...)` | `POST` | `/ontology/graph/graph/query` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyGraphGraphQuery(...)` | `POST` | `/ontology/graph/graph/query` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyGraphRuns(...)` | `POST` | `/ontology/graph/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyGraphRuns(...)` | `POST` | `/ontology/graph/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyObjectsRuns(...)` | `POST` | `/ontology/objects/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyObjectsRuns(...)` | `POST` | `/ontology/objects/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyReasoningExplain(...)` | `POST` | `/ontology/reasoning/explain` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyReasoningExplain(...)` | `POST` | `/ontology/reasoning/explain` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyReasoningFacts(...)` | `POST` | `/ontology/reasoning/facts` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyReasoningFacts(...)` | `POST` | `/ontology/reasoning/facts` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyReasoningFactsLoadGraph(...)` | `POST` | `/ontology/reasoning/facts/load-graph` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyReasoningFactsLoadGraph(...)` | `POST` | `/ontology/reasoning/facts/load-graph` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyReasoningReasonBackward(...)` | `POST` | `/ontology/reasoning/reason/backward` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyReasoningReasonBackward(...)` | `POST` | `/ontology/reasoning/reason/backward` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyReasoningReasonForward(...)` | `POST` | `/ontology/reasoning/reason/forward` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyReasoningReasonForward(...)` | `POST` | `/ontology/reasoning/reason/forward` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyReasoningRules(...)` | `POST` | `/ontology/reasoning/rules` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyReasoningRules(...)` | `POST` | `/ontology/reasoning/rules` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyReasoningRuns(...)` | `POST` | `/ontology/reasoning/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyReasoningRuns(...)` | `POST` | `/ontology/reasoning/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRelationshipsRuns(...)` | `POST` | `/ontology/relationships/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyRelationshipsRuns(...)` | `POST` | `/ontology/relationships/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRolloutsRollouts(...)` | `POST` | `/ontology/rollouts/rollouts` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyRolloutsRollouts(...)` | `POST` | `/ontology/rollouts/rollouts` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRolloutsRolloutsRolloutIdPause(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/pause` | `rolloutId, query, body, Class responseType` | `@Nullable T` | -| `postOntologyRolloutsRolloutsRolloutIdPause(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/pause` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRolloutsRolloutsRolloutIdResume(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/resume` | `rolloutId, query, body, Class responseType` | `@Nullable T` | -| `postOntologyRolloutsRolloutsRolloutIdResume(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/resume` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRolloutsRolloutsRolloutIdRollback(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/rollback` | `rolloutId, query, body, Class responseType` | `@Nullable T` | -| `postOntologyRolloutsRolloutsRolloutIdRollback(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/rollback` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRolloutsRolloutsRolloutIdStart(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/start` | `rolloutId, query, body, Class responseType` | `@Nullable T` | -| `postOntologyRolloutsRolloutsRolloutIdStart(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/start` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRolloutsRuns(...)` | `POST` | `/ontology/rollouts/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyRolloutsRuns(...)` | `POST` | `/ontology/rollouts/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRollupsRollups(...)` | `POST` | `/ontology/rollups/rollups` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyRollupsRollups(...)` | `POST` | `/ontology/rollups/rollups` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRollupsRollupsRollupIdExecute(...)` | `POST` | `/ontology/rollups/rollups/{param}/execute` | `rollupId, query, body, Class responseType` | `@Nullable T` | -| `postOntologyRollupsRollupsRollupIdExecute(...)` | `POST` | `/ontology/rollups/rollups/{param}/execute` | `rollupId, query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRollupsRollupsRollupIdPreview(...)` | `POST` | `/ontology/rollups/rollups/{param}/preview` | `rollupId, query, body, Class responseType` | `@Nullable T` | -| `postOntologyRollupsRollupsRollupIdPreview(...)` | `POST` | `/ontology/rollups/rollups/{param}/preview` | `rollupId, query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyRollupsRuns(...)` | `POST` | `/ontology/rollups/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyRollupsRuns(...)` | `POST` | `/ontology/rollups/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologySchemasRuns(...)` | `POST` | `/ontology/schemas/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologySchemasRuns(...)` | `POST` | `/ontology/schemas/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologySchemasSchemas(...)` | `POST` | `/ontology/schemas/schemas` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologySchemasSchemas(...)` | `POST` | `/ontology/schemas/schemas` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologySchemasSchemasValidate(...)` | `POST` | `/ontology/schemas/schemas/validate` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologySchemasSchemasValidate(...)` | `POST` | `/ontology/schemas/schemas/validate` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyTransformationsRuns(...)` | `POST` | `/ontology/transformations/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyTransformationsRuns(...)` | `POST` | `/ontology/transformations/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyTransformationsTransformations(...)` | `POST` | `/ontology/transformations/transformations` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyTransformationsTransformations(...)` | `POST` | `/ontology/transformations/transformations` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyValidationPayloadsValidate(...)` | `POST` | `/ontology/validation/payloads/validate` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyValidationPayloadsValidate(...)` | `POST` | `/ontology/validation/payloads/validate` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyValidationRules(...)` | `POST` | `/ontology/validation/rules` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyValidationRules(...)` | `POST` | `/ontology/validation/rules` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyValidationRuns(...)` | `POST` | `/ontology/validation/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyValidationRuns(...)` | `POST` | `/ontology/validation/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyVersionsAuditVerify(...)` | `POST` | `/ontology/versions/audit/verify` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyVersionsAuditVerify(...)` | `POST` | `/ontology/versions/audit/verify` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyVersionsReleaseBundles(...)` | `POST` | `/ontology/versions/release-bundles` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyVersionsReleaseBundles(...)` | `POST` | `/ontology/versions/release-bundles` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyVersionsRuns(...)` | `POST` | `/ontology/versions/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyVersionsRuns(...)` | `POST` | `/ontology/versions/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyVersionsVersions(...)` | `POST` | `/ontology/versions/versions` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyVersionsVersions(...)` | `POST` | `/ontology/versions/versions` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postOntologyVersionsVersionsCompare(...)` | `POST` | `/ontology/versions/versions/compare` | `query, body, Class responseType` | `@Nullable T` | -| `postOntologyVersionsVersionsCompare(...)` | `POST` | `/ontology/versions/versions/compare` | `query, body, TypeReference responseType` | `@Nullable T` | -| `putOntologyGraphEntitiesEntityId(...)` | `PUT` | `/ontology/graph/entities/{param}` | `entityId, query, body, Class responseType` | `@Nullable T` | -| `putOntologyGraphEntitiesEntityId(...)` | `PUT` | `/ontology/graph/entities/{param}` | `entityId, query, body, TypeReference responseType` | `@Nullable T` | -| `putOntologyGraphRelationshipsRelationshipId(...)` | `PUT` | `/ontology/graph/relationships/{param}` | `relationshipId, query, body, Class responseType` | `@Nullable T` | -| `putOntologyGraphRelationshipsRelationshipId(...)` | `PUT` | `/ontology/graph/relationships/{param}` | `relationshipId, query, body, TypeReference responseType` | `@Nullable T` | -| `putOntologyObjectsObjectTypesObjectTypeId(...)` | `PUT` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, body, Class responseType` | `@Nullable T` | -| `putOntologyObjectsObjectTypesObjectTypeId(...)` | `PUT` | `/ontology/objects/object-types/{param}` | `objectTypeId, query, body, TypeReference responseType` | `@Nullable T` | -| `putOntologyObjectsObjectsObjectId(...)` | `PUT` | `/ontology/objects/objects/{param}` | `objectId, query, body, Class responseType` | `@Nullable T` | -| `putOntologyObjectsObjectsObjectId(...)` | `PUT` | `/ontology/objects/objects/{param}` | `objectId, query, body, TypeReference responseType` | `@Nullable T` | -| `putOntologyReasoningRulesRuleId(...)` | `PUT` | `/ontology/reasoning/rules/{param}` | `ruleId, query, body, Class responseType` | `@Nullable T` | -| `putOntologyReasoningRulesRuleId(...)` | `PUT` | `/ontology/reasoning/rules/{param}` | `ruleId, query, body, TypeReference responseType` | `@Nullable T` | -| `putOntologyRelationshipsRelationshipsRelationshipId(...)` | `PUT` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, body, Class responseType` | `@Nullable T` | -| `putOntologyRelationshipsRelationshipsRelationshipId(...)` | `PUT` | `/ontology/relationships/relationships/{param}` | `relationshipId, query, body, TypeReference responseType` | `@Nullable T` | -| `putOntologyRolloutsRolloutsRolloutId(...)` | `PUT` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, body, Class responseType` | `@Nullable T` | -| `putOntologyRolloutsRolloutsRolloutId(...)` | `PUT` | `/ontology/rollouts/rollouts/{param}` | `rolloutId, query, body, TypeReference responseType` | `@Nullable T` | -| `putOntologyRollupsRollupsRollupId(...)` | `PUT` | `/ontology/rollups/rollups/{param}` | `rollupId, query, body, Class responseType` | `@Nullable T` | -| `putOntologyRollupsRollupsRollupId(...)` | `PUT` | `/ontology/rollups/rollups/{param}` | `rollupId, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `ontology().engine().health(...)` | `GET` | `/ontology/engine/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().engine().health(...)` | `GET` | `/ontology/engine/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().health(...)` | `GET` | `/ontology/engine/health` | `Class responseType` | `@Nullable T` | +| `ontology().engine().health(...)` | `GET` | `/ontology/engine/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().engine().getInfo(...)` | `GET` | `/ontology/engine/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().engine().getInfo(...)` | `GET` | `/ontology/engine/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().getInfo(...)` | `GET` | `/ontology/engine/info` | `Class responseType` | `@Nullable T` | +| `ontology().engine().getInfo(...)` | `GET` | `/ontology/engine/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().events().health(...)` | `GET` | `/ontology/events/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().events().health(...)` | `GET` | `/ontology/events/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().events().health(...)` | `GET` | `/ontology/events/health` | `Class responseType` | `@Nullable T` | +| `ontology().events().health(...)` | `GET` | `/ontology/events/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().events().getInfo(...)` | `GET` | `/ontology/events/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().events().getInfo(...)` | `GET` | `/ontology/events/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().events().getInfo(...)` | `GET` | `/ontology/events/info` | `Class responseType` | `@Nullable T` | +| `ontology().events().getInfo(...)` | `GET` | `/ontology/events/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().extract().health(...)` | `GET` | `/ontology/extract/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().extract().health(...)` | `GET` | `/ontology/extract/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().health(...)` | `GET` | `/ontology/extract/health` | `Class responseType` | `@Nullable T` | +| `ontology().extract().health(...)` | `GET` | `/ontology/extract/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().extract().getInfo(...)` | `GET` | `/ontology/extract/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().extract().getInfo(...)` | `GET` | `/ontology/extract/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().getInfo(...)` | `GET` | `/ontology/extract/info` | `Class responseType` | `@Nullable T` | +| `ontology().extract().getInfo(...)` | `GET` | `/ontology/extract/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().graph().health(...)` | `GET` | `/ontology/graph/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().graph().health(...)` | `GET` | `/ontology/graph/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().health(...)` | `GET` | `/ontology/graph/health` | `Class responseType` | `@Nullable T` | +| `ontology().graph().health(...)` | `GET` | `/ontology/graph/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().graph().getInfo(...)` | `GET` | `/ontology/graph/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().graph().getInfo(...)` | `GET` | `/ontology/graph/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().getInfo(...)` | `GET` | `/ontology/graph/info` | `Class responseType` | `@Nullable T` | +| `ontology().graph().getInfo(...)` | `GET` | `/ontology/graph/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().objects().health(...)` | `GET` | `/ontology/objects/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().health(...)` | `GET` | `/ontology/objects/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().health(...)` | `GET` | `/ontology/objects/health` | `Class responseType` | `@Nullable T` | +| `ontology().objects().health(...)` | `GET` | `/ontology/objects/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().objects().getInfo(...)` | `GET` | `/ontology/objects/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().getInfo(...)` | `GET` | `/ontology/objects/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().getInfo(...)` | `GET` | `/ontology/objects/info` | `Class responseType` | `@Nullable T` | +| `ontology().objects().getInfo(...)` | `GET` | `/ontology/objects/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().health(...)` | `GET` | `/ontology/reasoning/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().reasoning().health(...)` | `GET` | `/ontology/reasoning/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().health(...)` | `GET` | `/ontology/reasoning/health` | `Class responseType` | `@Nullable T` | +| `ontology().reasoning().health(...)` | `GET` | `/ontology/reasoning/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().getInfo(...)` | `GET` | `/ontology/reasoning/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().reasoning().getInfo(...)` | `GET` | `/ontology/reasoning/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().getInfo(...)` | `GET` | `/ontology/reasoning/info` | `Class responseType` | `@Nullable T` | +| `ontology().reasoning().getInfo(...)` | `GET` | `/ontology/reasoning/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().createExplain(...)` | `POST` | `/ontology/reasoning/explain` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().createExplain(...)` | `POST` | `/ontology/reasoning/explain` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().createExplain(...)` | `POST` | `/ontology/reasoning/explain` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().createExplain(...)` | `POST` | `/ontology/reasoning/explain` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().health(...)` | `GET` | `/ontology/relationships/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().health(...)` | `GET` | `/ontology/relationships/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().health(...)` | `GET` | `/ontology/relationships/health` | `Class responseType` | `@Nullable T` | +| `ontology().relationships().health(...)` | `GET` | `/ontology/relationships/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().getInfo(...)` | `GET` | `/ontology/relationships/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().getInfo(...)` | `GET` | `/ontology/relationships/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().getInfo(...)` | `GET` | `/ontology/relationships/info` | `Class responseType` | `@Nullable T` | +| `ontology().relationships().getInfo(...)` | `GET` | `/ontology/relationships/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().health(...)` | `GET` | `/ontology/rollouts/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().health(...)` | `GET` | `/ontology/rollouts/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().health(...)` | `GET` | `/ontology/rollouts/health` | `Class responseType` | `@Nullable T` | +| `ontology().rollouts().health(...)` | `GET` | `/ontology/rollouts/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().getInfo(...)` | `GET` | `/ontology/rollouts/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().getInfo(...)` | `GET` | `/ontology/rollouts/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().getInfo(...)` | `GET` | `/ontology/rollouts/info` | `Class responseType` | `@Nullable T` | +| `ontology().rollouts().getInfo(...)` | `GET` | `/ontology/rollouts/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().health(...)` | `GET` | `/ontology/rollups/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().health(...)` | `GET` | `/ontology/rollups/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().health(...)` | `GET` | `/ontology/rollups/health` | `Class responseType` | `@Nullable T` | +| `ontology().rollups().health(...)` | `GET` | `/ontology/rollups/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().getInfo(...)` | `GET` | `/ontology/rollups/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().getInfo(...)` | `GET` | `/ontology/rollups/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().getInfo(...)` | `GET` | `/ontology/rollups/info` | `Class responseType` | `@Nullable T` | +| `ontology().rollups().getInfo(...)` | `GET` | `/ontology/rollups/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().health(...)` | `GET` | `/ontology/schemas/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().schemas().health(...)` | `GET` | `/ontology/schemas/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().health(...)` | `GET` | `/ontology/schemas/health` | `Class responseType` | `@Nullable T` | +| `ontology().schemas().health(...)` | `GET` | `/ontology/schemas/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().getInfo(...)` | `GET` | `/ontology/schemas/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().schemas().getInfo(...)` | `GET` | `/ontology/schemas/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().getInfo(...)` | `GET` | `/ontology/schemas/info` | `Class responseType` | `@Nullable T` | +| `ontology().schemas().getInfo(...)` | `GET` | `/ontology/schemas/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().health(...)` | `GET` | `/ontology/transformations/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().transformations().health(...)` | `GET` | `/ontology/transformations/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().health(...)` | `GET` | `/ontology/transformations/health` | `Class responseType` | `@Nullable T` | +| `ontology().transformations().health(...)` | `GET` | `/ontology/transformations/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().getInfo(...)` | `GET` | `/ontology/transformations/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().transformations().getInfo(...)` | `GET` | `/ontology/transformations/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().getInfo(...)` | `GET` | `/ontology/transformations/info` | `Class responseType` | `@Nullable T` | +| `ontology().transformations().getInfo(...)` | `GET` | `/ontology/transformations/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().validation().health(...)` | `GET` | `/ontology/validation/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().validation().health(...)` | `GET` | `/ontology/validation/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().health(...)` | `GET` | `/ontology/validation/health` | `Class responseType` | `@Nullable T` | +| `ontology().validation().health(...)` | `GET` | `/ontology/validation/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().validation().getInfo(...)` | `GET` | `/ontology/validation/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().validation().getInfo(...)` | `GET` | `/ontology/validation/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().getInfo(...)` | `GET` | `/ontology/validation/info` | `Class responseType` | `@Nullable T` | +| `ontology().validation().getInfo(...)` | `GET` | `/ontology/validation/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().versions().health(...)` | `GET` | `/ontology/versions/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().health(...)` | `GET` | `/ontology/versions/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().health(...)` | `GET` | `/ontology/versions/health` | `Class responseType` | `@Nullable T` | +| `ontology().versions().health(...)` | `GET` | `/ontology/versions/health` | `TypeReference responseType` | `@Nullable T` | +| `ontology().versions().getInfo(...)` | `GET` | `/ontology/versions/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().getInfo(...)` | `GET` | `/ontology/versions/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().getInfo(...)` | `GET` | `/ontology/versions/info` | `Class responseType` | `@Nullable T` | +| `ontology().versions().getInfo(...)` | `GET` | `/ontology/versions/info` | `TypeReference responseType` | `@Nullable T` | +| `ontology().engine().capabilities().list(...)` | `GET` | `/ontology/engine/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().engine().capabilities().list(...)` | `GET` | `/ontology/engine/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().capabilities().list(...)` | `GET` | `/ontology/engine/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().engine().capabilities().list(...)` | `GET` | `/ontology/engine/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().export(...)` | `POST` | `/ontology/engine/ontologies/export` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().export(...)` | `POST` | `/ontology/engine/ontologies/export` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().export(...)` | `POST` | `/ontology/engine/ontologies/export` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().export(...)` | `POST` | `/ontology/engine/ontologies/export` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().createExportShacl(...)` | `POST` | `/ontology/engine/ontologies/export-shacl` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().createExportShacl(...)` | `POST` | `/ontology/engine/ontologies/export-shacl` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().createExportShacl(...)` | `POST` | `/ontology/engine/ontologies/export-shacl` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().createExportShacl(...)` | `POST` | `/ontology/engine/ontologies/export-shacl` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().generate(...)` | `POST` | `/ontology/engine/ontologies/generate` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().generate(...)` | `POST` | `/ontology/engine/ontologies/generate` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().generate(...)` | `POST` | `/ontology/engine/ontologies/generate` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().generate(...)` | `POST` | `/ontology/engine/ontologies/generate` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().validate(...)` | `POST` | `/ontology/engine/ontologies/validate` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().validate(...)` | `POST` | `/ontology/engine/ontologies/validate` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().validate(...)` | `POST` | `/ontology/engine/ontologies/validate` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().validate(...)` | `POST` | `/ontology/engine/ontologies/validate` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().runs().list(...)` | `GET` | `/ontology/engine/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().engine().runs().list(...)` | `GET` | `/ontology/engine/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().runs().list(...)` | `GET` | `/ontology/engine/runs` | `Class responseType` | `@Nullable T` | +| `ontology().engine().runs().list(...)` | `GET` | `/ontology/engine/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().engine().runs().get(...)` | `GET` | `/ontology/engine/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().engine().runs().get(...)` | `GET` | `/ontology/engine/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().runs().get(...)` | `GET` | `/ontology/engine/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().engine().runs().get(...)` | `GET` | `/ontology/engine/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().runs().create(...)` | `POST` | `/ontology/engine/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().runs().create(...)` | `POST` | `/ontology/engine/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().runs().create(...)` | `POST` | `/ontology/engine/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().runs().create(...)` | `POST` | `/ontology/engine/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().capabilities().list(...)` | `GET` | `/ontology/events/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().events().capabilities().list(...)` | `GET` | `/ontology/events/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().events().capabilities().list(...)` | `GET` | `/ontology/events/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().events().capabilities().list(...)` | `GET` | `/ontology/events/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().list(...)` | `GET` | `/ontology/events/events` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().events().events().list(...)` | `GET` | `/ontology/events/events` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().list(...)` | `GET` | `/ontology/events/events` | `Class responseType` | `@Nullable T` | +| `ontology().events().events().list(...)` | `GET` | `/ontology/events/events` | `TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().get(...)` | `GET` | `/ontology/events/events/{param}` | `String eventId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().events().events().get(...)` | `GET` | `/ontology/events/events/{param}` | `String eventId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().get(...)` | `GET` | `/ontology/events/events/{param}` | `String eventId, Class responseType` | `@Nullable T` | +| `ontology().events().events().get(...)` | `GET` | `/ontology/events/events/{param}` | `String eventId, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().create(...)` | `POST` | `/ontology/events/events` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().events().create(...)` | `POST` | `/ontology/events/events` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().create(...)` | `POST` | `/ontology/events/events` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().events().create(...)` | `POST` | `/ontology/events/events` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().runs().list(...)` | `GET` | `/ontology/events/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().events().runs().list(...)` | `GET` | `/ontology/events/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().events().runs().list(...)` | `GET` | `/ontology/events/runs` | `Class responseType` | `@Nullable T` | +| `ontology().events().runs().list(...)` | `GET` | `/ontology/events/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().events().runs().get(...)` | `GET` | `/ontology/events/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().events().runs().get(...)` | `GET` | `/ontology/events/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().events().runs().get(...)` | `GET` | `/ontology/events/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().events().runs().get(...)` | `GET` | `/ontology/events/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().events().runs().create(...)` | `POST` | `/ontology/events/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().runs().create(...)` | `POST` | `/ontology/events/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().runs().create(...)` | `POST` | `/ontology/events/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().runs().create(...)` | `POST` | `/ontology/events/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().capabilities().list(...)` | `GET` | `/ontology/extract/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().extract().capabilities().list(...)` | `GET` | `/ontology/extract/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().capabilities().list(...)` | `GET` | `/ontology/extract/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().extract().capabilities().list(...)` | `GET` | `/ontology/extract/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().analyze(...)` | `POST` | `/ontology/extract/extract/analyze` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().analyze(...)` | `POST` | `/ontology/extract/extract/analyze` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().analyze(...)` | `POST` | `/ontology/extract/extract/analyze` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().analyze(...)` | `POST` | `/ontology/extract/extract/analyze` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().createArchitecture(...)` | `POST` | `/ontology/extract/extract/architecture` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().createArchitecture(...)` | `POST` | `/ontology/extract/extract/architecture` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().createArchitecture(...)` | `POST` | `/ontology/extract/extract/architecture` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().createArchitecture(...)` | `POST` | `/ontology/extract/extract/architecture` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().runs().list(...)` | `GET` | `/ontology/extract/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().extract().runs().list(...)` | `GET` | `/ontology/extract/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().runs().list(...)` | `GET` | `/ontology/extract/runs` | `Class responseType` | `@Nullable T` | +| `ontology().extract().runs().list(...)` | `GET` | `/ontology/extract/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().extract().runs().get(...)` | `GET` | `/ontology/extract/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().extract().runs().get(...)` | `GET` | `/ontology/extract/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().runs().get(...)` | `GET` | `/ontology/extract/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().extract().runs().get(...)` | `GET` | `/ontology/extract/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().runs().create(...)` | `POST` | `/ontology/extract/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().runs().create(...)` | `POST` | `/ontology/extract/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().runs().create(...)` | `POST` | `/ontology/extract/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().runs().create(...)` | `POST` | `/ontology/extract/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().capabilities().list(...)` | `GET` | `/ontology/graph/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().graph().capabilities().list(...)` | `GET` | `/ontology/graph/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().capabilities().list(...)` | `GET` | `/ontology/graph/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().graph().capabilities().list(...)` | `GET` | `/ontology/graph/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().graph().entities().get(...)` | `GET` | `/ontology/graph/entities/{param}` | `String entityId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().graph().entities().get(...)` | `GET` | `/ontology/graph/entities/{param}` | `String entityId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().entities().get(...)` | `GET` | `/ontology/graph/entities/{param}` | `String entityId, Class responseType` | `@Nullable T` | +| `ontology().graph().entities().get(...)` | `GET` | `/ontology/graph/entities/{param}` | `String entityId, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().entities().getProvenance(...)` | `GET` | `/ontology/graph/entities/{param}/provenance` | `String entityId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().graph().entities().getProvenance(...)` | `GET` | `/ontology/graph/entities/{param}/provenance` | `String entityId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().entities().getProvenance(...)` | `GET` | `/ontology/graph/entities/{param}/provenance` | `String entityId, Class responseType` | `@Nullable T` | +| `ontology().graph().entities().getProvenance(...)` | `GET` | `/ontology/graph/entities/{param}/provenance` | `String entityId, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().entities().update(...)` | `PUT` | `/ontology/graph/entities/{param}` | `String entityId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().entities().update(...)` | `PUT` | `/ontology/graph/entities/{param}` | `String entityId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().entities().update(...)` | `PUT` | `/ontology/graph/entities/{param}` | `String entityId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().entities().update(...)` | `PUT` | `/ontology/graph/entities/{param}` | `String entityId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().analyze(...)` | `POST` | `/ontology/graph/graph/analyze` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().analyze(...)` | `POST` | `/ontology/graph/graph/analyze` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().analyze(...)` | `POST` | `/ontology/graph/graph/analyze` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().analyze(...)` | `POST` | `/ontology/graph/graph/analyze` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().createBuild(...)` | `POST` | `/ontology/graph/graph/build` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().createBuild(...)` | `POST` | `/ontology/graph/graph/build` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().createBuild(...)` | `POST` | `/ontology/graph/graph/build` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().createBuild(...)` | `POST` | `/ontology/graph/graph/build` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().createBulkRead(...)` | `POST` | `/ontology/graph/graph/bulk-read` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().createBulkRead(...)` | `POST` | `/ontology/graph/graph/bulk-read` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().createBulkRead(...)` | `POST` | `/ontology/graph/graph/bulk-read` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().createBulkRead(...)` | `POST` | `/ontology/graph/graph/bulk-read` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().createNeighborhood(...)` | `POST` | `/ontology/graph/graph/neighborhood` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().createNeighborhood(...)` | `POST` | `/ontology/graph/graph/neighborhood` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().createNeighborhood(...)` | `POST` | `/ontology/graph/graph/neighborhood` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().createNeighborhood(...)` | `POST` | `/ontology/graph/graph/neighborhood` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().createPath(...)` | `POST` | `/ontology/graph/graph/path` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().createPath(...)` | `POST` | `/ontology/graph/graph/path` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().createPath(...)` | `POST` | `/ontology/graph/graph/path` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().createPath(...)` | `POST` | `/ontology/graph/graph/path` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().query(...)` | `POST` | `/ontology/graph/graph/query` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().query(...)` | `POST` | `/ontology/graph/graph/query` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().graph().query(...)` | `POST` | `/ontology/graph/graph/query` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().graph().query(...)` | `POST` | `/ontology/graph/graph/query` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().relationships().get(...)` | `GET` | `/ontology/graph/relationships/{param}` | `String relationshipId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().graph().relationships().get(...)` | `GET` | `/ontology/graph/relationships/{param}` | `String relationshipId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().relationships().get(...)` | `GET` | `/ontology/graph/relationships/{param}` | `String relationshipId, Class responseType` | `@Nullable T` | +| `ontology().graph().relationships().get(...)` | `GET` | `/ontology/graph/relationships/{param}` | `String relationshipId, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().relationships().update(...)` | `PUT` | `/ontology/graph/relationships/{param}` | `String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().relationships().update(...)` | `PUT` | `/ontology/graph/relationships/{param}` | `String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().relationships().update(...)` | `PUT` | `/ontology/graph/relationships/{param}` | `String relationshipId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().relationships().update(...)` | `PUT` | `/ontology/graph/relationships/{param}` | `String relationshipId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().runs().list(...)` | `GET` | `/ontology/graph/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().graph().runs().list(...)` | `GET` | `/ontology/graph/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().runs().list(...)` | `GET` | `/ontology/graph/runs` | `Class responseType` | `@Nullable T` | +| `ontology().graph().runs().list(...)` | `GET` | `/ontology/graph/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().graph().runs().get(...)` | `GET` | `/ontology/graph/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().graph().runs().get(...)` | `GET` | `/ontology/graph/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().runs().get(...)` | `GET` | `/ontology/graph/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().graph().runs().get(...)` | `GET` | `/ontology/graph/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().runs().create(...)` | `POST` | `/ontology/graph/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().runs().create(...)` | `POST` | `/ontology/graph/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().graph().runs().create(...)` | `POST` | `/ontology/graph/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().graph().runs().create(...)` | `POST` | `/ontology/graph/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().capabilities().list(...)` | `GET` | `/ontology/objects/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().capabilities().list(...)` | `GET` | `/ontology/objects/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().capabilities().list(...)` | `GET` | `/ontology/objects/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().objects().capabilities().list(...)` | `GET` | `/ontology/objects/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().delete(...)` | `DELETE` | `/ontology/objects/object-types/{param}` | `String objectTypeId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().delete(...)` | `DELETE` | `/ontology/objects/object-types/{param}` | `String objectTypeId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().delete(...)` | `DELETE` | `/ontology/objects/object-types/{param}` | `String objectTypeId, Class responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().delete(...)` | `DELETE` | `/ontology/objects/object-types/{param}` | `String objectTypeId, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().list(...)` | `GET` | `/ontology/objects/object-types` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().list(...)` | `GET` | `/ontology/objects/object-types` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().list(...)` | `GET` | `/ontology/objects/object-types` | `Class responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().list(...)` | `GET` | `/ontology/objects/object-types` | `TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().get(...)` | `GET` | `/ontology/objects/object-types/{param}` | `String objectTypeId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().get(...)` | `GET` | `/ontology/objects/object-types/{param}` | `String objectTypeId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().get(...)` | `GET` | `/ontology/objects/object-types/{param}` | `String objectTypeId, Class responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().get(...)` | `GET` | `/ontology/objects/object-types/{param}` | `String objectTypeId, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().update(...)` | `PUT` | `/ontology/objects/object-types/{param}` | `String objectTypeId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().update(...)` | `PUT` | `/ontology/objects/object-types/{param}` | `String objectTypeId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().update(...)` | `PUT` | `/ontology/objects/object-types/{param}` | `String objectTypeId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().objects().objectTypes().update(...)` | `PUT` | `/ontology/objects/object-types/{param}` | `String objectTypeId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objects().delete(...)` | `DELETE` | `/ontology/objects/objects/{param}` | `String objectId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().objects().delete(...)` | `DELETE` | `/ontology/objects/objects/{param}` | `String objectId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objects().delete(...)` | `DELETE` | `/ontology/objects/objects/{param}` | `String objectId, Class responseType` | `@Nullable T` | +| `ontology().objects().objects().delete(...)` | `DELETE` | `/ontology/objects/objects/{param}` | `String objectId, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objects().list(...)` | `GET` | `/ontology/objects/objects` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().objects().list(...)` | `GET` | `/ontology/objects/objects` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objects().list(...)` | `GET` | `/ontology/objects/objects` | `Class responseType` | `@Nullable T` | +| `ontology().objects().objects().list(...)` | `GET` | `/ontology/objects/objects` | `TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objects().get(...)` | `GET` | `/ontology/objects/objects/{param}` | `String objectId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().objects().get(...)` | `GET` | `/ontology/objects/objects/{param}` | `String objectId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objects().get(...)` | `GET` | `/ontology/objects/objects/{param}` | `String objectId, Class responseType` | `@Nullable T` | +| `ontology().objects().objects().get(...)` | `GET` | `/ontology/objects/objects/{param}` | `String objectId, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objects().update(...)` | `PUT` | `/ontology/objects/objects/{param}` | `String objectId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().objects().objects().update(...)` | `PUT` | `/ontology/objects/objects/{param}` | `String objectId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().objects().update(...)` | `PUT` | `/ontology/objects/objects/{param}` | `String objectId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().objects().objects().update(...)` | `PUT` | `/ontology/objects/objects/{param}` | `String objectId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().runs().list(...)` | `GET` | `/ontology/objects/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().runs().list(...)` | `GET` | `/ontology/objects/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().runs().list(...)` | `GET` | `/ontology/objects/runs` | `Class responseType` | `@Nullable T` | +| `ontology().objects().runs().list(...)` | `GET` | `/ontology/objects/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().objects().runs().get(...)` | `GET` | `/ontology/objects/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().objects().runs().get(...)` | `GET` | `/ontology/objects/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().runs().get(...)` | `GET` | `/ontology/objects/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().objects().runs().get(...)` | `GET` | `/ontology/objects/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().runs().create(...)` | `POST` | `/ontology/objects/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().objects().runs().create(...)` | `POST` | `/ontology/objects/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().objects().runs().create(...)` | `POST` | `/ontology/objects/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().objects().runs().create(...)` | `POST` | `/ontology/objects/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().capabilities().list(...)` | `GET` | `/ontology/reasoning/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().reasoning().capabilities().list(...)` | `GET` | `/ontology/reasoning/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().capabilities().list(...)` | `GET` | `/ontology/reasoning/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().reasoning().capabilities().list(...)` | `GET` | `/ontology/reasoning/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().facts().create(...)` | `POST` | `/ontology/reasoning/facts` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().facts().create(...)` | `POST` | `/ontology/reasoning/facts` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().facts().create(...)` | `POST` | `/ontology/reasoning/facts` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().facts().create(...)` | `POST` | `/ontology/reasoning/facts` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().facts().createLoadGraph(...)` | `POST` | `/ontology/reasoning/facts/load-graph` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().facts().createLoadGraph(...)` | `POST` | `/ontology/reasoning/facts/load-graph` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().facts().createLoadGraph(...)` | `POST` | `/ontology/reasoning/facts/load-graph` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().facts().createLoadGraph(...)` | `POST` | `/ontology/reasoning/facts/load-graph` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().reason().createBackward(...)` | `POST` | `/ontology/reasoning/reason/backward` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().reason().createBackward(...)` | `POST` | `/ontology/reasoning/reason/backward` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().reason().createBackward(...)` | `POST` | `/ontology/reasoning/reason/backward` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().reason().createBackward(...)` | `POST` | `/ontology/reasoning/reason/backward` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().reason().createForward(...)` | `POST` | `/ontology/reasoning/reason/forward` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().reason().createForward(...)` | `POST` | `/ontology/reasoning/reason/forward` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().reason().createForward(...)` | `POST` | `/ontology/reasoning/reason/forward` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().reason().createForward(...)` | `POST` | `/ontology/reasoning/reason/forward` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().rules().delete(...)` | `DELETE` | `/ontology/reasoning/rules/{param}` | `String ruleId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().reasoning().rules().delete(...)` | `DELETE` | `/ontology/reasoning/rules/{param}` | `String ruleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().rules().delete(...)` | `DELETE` | `/ontology/reasoning/rules/{param}` | `String ruleId, Class responseType` | `@Nullable T` | +| `ontology().reasoning().rules().delete(...)` | `DELETE` | `/ontology/reasoning/rules/{param}` | `String ruleId, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().rules().list(...)` | `GET` | `/ontology/reasoning/rules` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().reasoning().rules().list(...)` | `GET` | `/ontology/reasoning/rules` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().rules().list(...)` | `GET` | `/ontology/reasoning/rules` | `Class responseType` | `@Nullable T` | +| `ontology().reasoning().rules().list(...)` | `GET` | `/ontology/reasoning/rules` | `TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().rules().create(...)` | `POST` | `/ontology/reasoning/rules` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().rules().create(...)` | `POST` | `/ontology/reasoning/rules` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().rules().create(...)` | `POST` | `/ontology/reasoning/rules` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().rules().create(...)` | `POST` | `/ontology/reasoning/rules` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().rules().update(...)` | `PUT` | `/ontology/reasoning/rules/{param}` | `String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().rules().update(...)` | `PUT` | `/ontology/reasoning/rules/{param}` | `String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().rules().update(...)` | `PUT` | `/ontology/reasoning/rules/{param}` | `String ruleId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().rules().update(...)` | `PUT` | `/ontology/reasoning/rules/{param}` | `String ruleId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().runs().list(...)` | `GET` | `/ontology/reasoning/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().reasoning().runs().list(...)` | `GET` | `/ontology/reasoning/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().runs().list(...)` | `GET` | `/ontology/reasoning/runs` | `Class responseType` | `@Nullable T` | +| `ontology().reasoning().runs().list(...)` | `GET` | `/ontology/reasoning/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().runs().get(...)` | `GET` | `/ontology/reasoning/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().reasoning().runs().get(...)` | `GET` | `/ontology/reasoning/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().runs().get(...)` | `GET` | `/ontology/reasoning/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().reasoning().runs().get(...)` | `GET` | `/ontology/reasoning/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().runs().create(...)` | `POST` | `/ontology/reasoning/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().runs().create(...)` | `POST` | `/ontology/reasoning/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().reasoning().runs().create(...)` | `POST` | `/ontology/reasoning/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().reasoning().runs().create(...)` | `POST` | `/ontology/reasoning/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().capabilities().list(...)` | `GET` | `/ontology/relationships/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().capabilities().list(...)` | `GET` | `/ontology/relationships/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().capabilities().list(...)` | `GET` | `/ontology/relationships/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().relationships().capabilities().list(...)` | `GET` | `/ontology/relationships/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationshipTypes().delete(...)` | `DELETE` | `/ontology/relationships/relationship-types/{param}` | `String relationshipTypeId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationshipTypes().delete(...)` | `DELETE` | `/ontology/relationships/relationship-types/{param}` | `String relationshipTypeId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationshipTypes().delete(...)` | `DELETE` | `/ontology/relationships/relationship-types/{param}` | `String relationshipTypeId, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationshipTypes().delete(...)` | `DELETE` | `/ontology/relationships/relationship-types/{param}` | `String relationshipTypeId, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationshipTypes().list(...)` | `GET` | `/ontology/relationships/relationship-types` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationshipTypes().list(...)` | `GET` | `/ontology/relationships/relationship-types` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationshipTypes().list(...)` | `GET` | `/ontology/relationships/relationship-types` | `Class responseType` | `@Nullable T` | +| `ontology().relationships().relationshipTypes().list(...)` | `GET` | `/ontology/relationships/relationship-types` | `TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationships().delete(...)` | `DELETE` | `/ontology/relationships/relationships/{param}` | `String relationshipId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationships().delete(...)` | `DELETE` | `/ontology/relationships/relationships/{param}` | `String relationshipId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationships().delete(...)` | `DELETE` | `/ontology/relationships/relationships/{param}` | `String relationshipId, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationships().delete(...)` | `DELETE` | `/ontology/relationships/relationships/{param}` | `String relationshipId, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationships().list(...)` | `GET` | `/ontology/relationships/relationships` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationships().list(...)` | `GET` | `/ontology/relationships/relationships` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationships().list(...)` | `GET` | `/ontology/relationships/relationships` | `Class responseType` | `@Nullable T` | +| `ontology().relationships().relationships().list(...)` | `GET` | `/ontology/relationships/relationships` | `TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationships().get(...)` | `GET` | `/ontology/relationships/relationships/{param}` | `String relationshipId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationships().get(...)` | `GET` | `/ontology/relationships/relationships/{param}` | `String relationshipId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationships().get(...)` | `GET` | `/ontology/relationships/relationships/{param}` | `String relationshipId, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationships().get(...)` | `GET` | `/ontology/relationships/relationships/{param}` | `String relationshipId, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationships().update(...)` | `PUT` | `/ontology/relationships/relationships/{param}` | `String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationships().update(...)` | `PUT` | `/ontology/relationships/relationships/{param}` | `String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().relationships().update(...)` | `PUT` | `/ontology/relationships/relationships/{param}` | `String relationshipId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().relationships().relationships().update(...)` | `PUT` | `/ontology/relationships/relationships/{param}` | `String relationshipId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().runs().list(...)` | `GET` | `/ontology/relationships/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().runs().list(...)` | `GET` | `/ontology/relationships/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().runs().list(...)` | `GET` | `/ontology/relationships/runs` | `Class responseType` | `@Nullable T` | +| `ontology().relationships().runs().list(...)` | `GET` | `/ontology/relationships/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().runs().get(...)` | `GET` | `/ontology/relationships/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().relationships().runs().get(...)` | `GET` | `/ontology/relationships/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().runs().get(...)` | `GET` | `/ontology/relationships/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().relationships().runs().get(...)` | `GET` | `/ontology/relationships/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().runs().create(...)` | `POST` | `/ontology/relationships/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().relationships().runs().create(...)` | `POST` | `/ontology/relationships/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().relationships().runs().create(...)` | `POST` | `/ontology/relationships/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().relationships().runs().create(...)` | `POST` | `/ontology/relationships/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().capabilities().list(...)` | `GET` | `/ontology/rollouts/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().capabilities().list(...)` | `GET` | `/ontology/rollouts/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().capabilities().list(...)` | `GET` | `/ontology/rollouts/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().rollouts().capabilities().list(...)` | `GET` | `/ontology/rollouts/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().delete(...)` | `DELETE` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().delete(...)` | `DELETE` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().delete(...)` | `DELETE` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().delete(...)` | `DELETE` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().list(...)` | `GET` | `/ontology/rollouts/rollouts` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().list(...)` | `GET` | `/ontology/rollouts/rollouts` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().list(...)` | `GET` | `/ontology/rollouts/rollouts` | `Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().list(...)` | `GET` | `/ontology/rollouts/rollouts` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().get(...)` | `GET` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().get(...)` | `GET` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().get(...)` | `GET` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().get(...)` | `GET` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().status(...)` | `GET` | `/ontology/rollouts/rollouts/{param}/status` | `String rolloutId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().status(...)` | `GET` | `/ontology/rollouts/rollouts/{param}/status` | `String rolloutId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().status(...)` | `GET` | `/ontology/rollouts/rollouts/{param}/status` | `String rolloutId, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().status(...)` | `GET` | `/ontology/rollouts/rollouts/{param}/status` | `String rolloutId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().create(...)` | `POST` | `/ontology/rollouts/rollouts` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().create(...)` | `POST` | `/ontology/rollouts/rollouts` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().create(...)` | `POST` | `/ontology/rollouts/rollouts` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().create(...)` | `POST` | `/ontology/rollouts/rollouts` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().pause(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/pause` | `String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().pause(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/pause` | `String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().pause(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/pause` | `String rolloutId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().pause(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/pause` | `String rolloutId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().resume(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/resume` | `String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().resume(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/resume` | `String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().resume(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/resume` | `String rolloutId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().resume(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/resume` | `String rolloutId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().rollback(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/rollback` | `String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().rollback(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/rollback` | `String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().rollback(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/rollback` | `String rolloutId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().rollback(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/rollback` | `String rolloutId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().createStart(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/start` | `String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().createStart(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/start` | `String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().createStart(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/start` | `String rolloutId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().createStart(...)` | `POST` | `/ontology/rollouts/rollouts/{param}/start` | `String rolloutId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().update(...)` | `PUT` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().update(...)` | `PUT` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().update(...)` | `PUT` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().rollouts().update(...)` | `PUT` | `/ontology/rollouts/rollouts/{param}` | `String rolloutId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().runs().list(...)` | `GET` | `/ontology/rollouts/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().runs().list(...)` | `GET` | `/ontology/rollouts/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().runs().list(...)` | `GET` | `/ontology/rollouts/runs` | `Class responseType` | `@Nullable T` | +| `ontology().rollouts().runs().list(...)` | `GET` | `/ontology/rollouts/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().runs().get(...)` | `GET` | `/ontology/rollouts/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollouts().runs().get(...)` | `GET` | `/ontology/rollouts/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().runs().get(...)` | `GET` | `/ontology/rollouts/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().rollouts().runs().get(...)` | `GET` | `/ontology/rollouts/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().runs().create(...)` | `POST` | `/ontology/rollouts/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().runs().create(...)` | `POST` | `/ontology/rollouts/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollouts().runs().create(...)` | `POST` | `/ontology/rollouts/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollouts().runs().create(...)` | `POST` | `/ontology/rollouts/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().capabilities().list(...)` | `GET` | `/ontology/rollups/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().capabilities().list(...)` | `GET` | `/ontology/rollups/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().capabilities().list(...)` | `GET` | `/ontology/rollups/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().rollups().capabilities().list(...)` | `GET` | `/ontology/rollups/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollupResults().get(...)` | `GET` | `/ontology/rollups/rollup-results/{param}` | `String executionId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollupResults().get(...)` | `GET` | `/ontology/rollups/rollup-results/{param}` | `String executionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollupResults().get(...)` | `GET` | `/ontology/rollups/rollup-results/{param}` | `String executionId, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollupResults().get(...)` | `GET` | `/ontology/rollups/rollup-results/{param}` | `String executionId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().delete(...)` | `DELETE` | `/ontology/rollups/rollups/{param}` | `String rollupId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().delete(...)` | `DELETE` | `/ontology/rollups/rollups/{param}` | `String rollupId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().delete(...)` | `DELETE` | `/ontology/rollups/rollups/{param}` | `String rollupId, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().delete(...)` | `DELETE` | `/ontology/rollups/rollups/{param}` | `String rollupId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().list(...)` | `GET` | `/ontology/rollups/rollups` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().list(...)` | `GET` | `/ontology/rollups/rollups` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().list(...)` | `GET` | `/ontology/rollups/rollups` | `Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().list(...)` | `GET` | `/ontology/rollups/rollups` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().get(...)` | `GET` | `/ontology/rollups/rollups/{param}` | `String rollupId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().get(...)` | `GET` | `/ontology/rollups/rollups/{param}` | `String rollupId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().get(...)` | `GET` | `/ontology/rollups/rollups/{param}` | `String rollupId, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().get(...)` | `GET` | `/ontology/rollups/rollups/{param}` | `String rollupId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().getResult(...)` | `GET` | `/ontology/rollups/rollups/{param}/result` | `String rollupId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().getResult(...)` | `GET` | `/ontology/rollups/rollups/{param}/result` | `String rollupId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().getResult(...)` | `GET` | `/ontology/rollups/rollups/{param}/result` | `String rollupId, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().getResult(...)` | `GET` | `/ontology/rollups/rollups/{param}/result` | `String rollupId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().create(...)` | `POST` | `/ontology/rollups/rollups` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().create(...)` | `POST` | `/ontology/rollups/rollups` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().create(...)` | `POST` | `/ontology/rollups/rollups` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().create(...)` | `POST` | `/ontology/rollups/rollups` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().execute(...)` | `POST` | `/ontology/rollups/rollups/{param}/execute` | `String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().execute(...)` | `POST` | `/ontology/rollups/rollups/{param}/execute` | `String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().execute(...)` | `POST` | `/ontology/rollups/rollups/{param}/execute` | `String rollupId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().execute(...)` | `POST` | `/ontology/rollups/rollups/{param}/execute` | `String rollupId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().preview(...)` | `POST` | `/ontology/rollups/rollups/{param}/preview` | `String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().preview(...)` | `POST` | `/ontology/rollups/rollups/{param}/preview` | `String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().preview(...)` | `POST` | `/ontology/rollups/rollups/{param}/preview` | `String rollupId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().preview(...)` | `POST` | `/ontology/rollups/rollups/{param}/preview` | `String rollupId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().update(...)` | `PUT` | `/ontology/rollups/rollups/{param}` | `String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().update(...)` | `PUT` | `/ontology/rollups/rollups/{param}` | `String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().rollups().update(...)` | `PUT` | `/ontology/rollups/rollups/{param}` | `String rollupId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().rollups().update(...)` | `PUT` | `/ontology/rollups/rollups/{param}` | `String rollupId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().runs().list(...)` | `GET` | `/ontology/rollups/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().runs().list(...)` | `GET` | `/ontology/rollups/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().runs().list(...)` | `GET` | `/ontology/rollups/runs` | `Class responseType` | `@Nullable T` | +| `ontology().rollups().runs().list(...)` | `GET` | `/ontology/rollups/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().runs().get(...)` | `GET` | `/ontology/rollups/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().rollups().runs().get(...)` | `GET` | `/ontology/rollups/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().runs().get(...)` | `GET` | `/ontology/rollups/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().rollups().runs().get(...)` | `GET` | `/ontology/rollups/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().runs().create(...)` | `POST` | `/ontology/rollups/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().runs().create(...)` | `POST` | `/ontology/rollups/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().rollups().runs().create(...)` | `POST` | `/ontology/rollups/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().rollups().runs().create(...)` | `POST` | `/ontology/rollups/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().capabilities().list(...)` | `GET` | `/ontology/schemas/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().schemas().capabilities().list(...)` | `GET` | `/ontology/schemas/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().capabilities().list(...)` | `GET` | `/ontology/schemas/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().schemas().capabilities().list(...)` | `GET` | `/ontology/schemas/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().runs().list(...)` | `GET` | `/ontology/schemas/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().schemas().runs().list(...)` | `GET` | `/ontology/schemas/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().runs().list(...)` | `GET` | `/ontology/schemas/runs` | `Class responseType` | `@Nullable T` | +| `ontology().schemas().runs().list(...)` | `GET` | `/ontology/schemas/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().runs().get(...)` | `GET` | `/ontology/schemas/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().schemas().runs().get(...)` | `GET` | `/ontology/schemas/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().runs().get(...)` | `GET` | `/ontology/schemas/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().schemas().runs().get(...)` | `GET` | `/ontology/schemas/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().runs().create(...)` | `POST` | `/ontology/schemas/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().schemas().runs().create(...)` | `POST` | `/ontology/schemas/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().runs().create(...)` | `POST` | `/ontology/schemas/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().schemas().runs().create(...)` | `POST` | `/ontology/schemas/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().delete(...)` | `DELETE` | `/ontology/schemas/schemas/{param}` | `String schemaId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().delete(...)` | `DELETE` | `/ontology/schemas/schemas/{param}` | `String schemaId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().delete(...)` | `DELETE` | `/ontology/schemas/schemas/{param}` | `String schemaId, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().delete(...)` | `DELETE` | `/ontology/schemas/schemas/{param}` | `String schemaId, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().list(...)` | `GET` | `/ontology/schemas/schemas` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().list(...)` | `GET` | `/ontology/schemas/schemas` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().list(...)` | `GET` | `/ontology/schemas/schemas` | `Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().list(...)` | `GET` | `/ontology/schemas/schemas` | `TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().get(...)` | `GET` | `/ontology/schemas/schemas/{param}` | `String schemaId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().get(...)` | `GET` | `/ontology/schemas/schemas/{param}` | `String schemaId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().get(...)` | `GET` | `/ontology/schemas/schemas/{param}` | `String schemaId, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().get(...)` | `GET` | `/ontology/schemas/schemas/{param}` | `String schemaId, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().create(...)` | `POST` | `/ontology/schemas/schemas` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().create(...)` | `POST` | `/ontology/schemas/schemas` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().create(...)` | `POST` | `/ontology/schemas/schemas` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().create(...)` | `POST` | `/ontology/schemas/schemas` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().validate(...)` | `POST` | `/ontology/schemas/schemas/validate` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().validate(...)` | `POST` | `/ontology/schemas/schemas/validate` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().schemas().schemas().validate(...)` | `POST` | `/ontology/schemas/schemas/validate` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().schemas().schemas().validate(...)` | `POST` | `/ontology/schemas/schemas/validate` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().capabilities().list(...)` | `GET` | `/ontology/transformations/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().transformations().capabilities().list(...)` | `GET` | `/ontology/transformations/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().capabilities().list(...)` | `GET` | `/ontology/transformations/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().transformations().capabilities().list(...)` | `GET` | `/ontology/transformations/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().runs().list(...)` | `GET` | `/ontology/transformations/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().transformations().runs().list(...)` | `GET` | `/ontology/transformations/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().runs().list(...)` | `GET` | `/ontology/transformations/runs` | `Class responseType` | `@Nullable T` | +| `ontology().transformations().runs().list(...)` | `GET` | `/ontology/transformations/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().runs().get(...)` | `GET` | `/ontology/transformations/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().transformations().runs().get(...)` | `GET` | `/ontology/transformations/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().runs().get(...)` | `GET` | `/ontology/transformations/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().transformations().runs().get(...)` | `GET` | `/ontology/transformations/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().runs().create(...)` | `POST` | `/ontology/transformations/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().transformations().runs().create(...)` | `POST` | `/ontology/transformations/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().runs().create(...)` | `POST` | `/ontology/transformations/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().transformations().runs().create(...)` | `POST` | `/ontology/transformations/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().transformations().create(...)` | `POST` | `/ontology/transformations/transformations` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().transformations().transformations().create(...)` | `POST` | `/ontology/transformations/transformations` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().transformations().transformations().create(...)` | `POST` | `/ontology/transformations/transformations` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().transformations().transformations().create(...)` | `POST` | `/ontology/transformations/transformations` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().capabilities().list(...)` | `GET` | `/ontology/validation/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().validation().capabilities().list(...)` | `GET` | `/ontology/validation/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().capabilities().list(...)` | `GET` | `/ontology/validation/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().validation().capabilities().list(...)` | `GET` | `/ontology/validation/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().validation().payloads().validate(...)` | `POST` | `/ontology/validation/payloads/validate` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().validation().payloads().validate(...)` | `POST` | `/ontology/validation/payloads/validate` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().payloads().validate(...)` | `POST` | `/ontology/validation/payloads/validate` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().validation().payloads().validate(...)` | `POST` | `/ontology/validation/payloads/validate` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().rules().delete(...)` | `DELETE` | `/ontology/validation/rules/{param}` | `String ruleId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().validation().rules().delete(...)` | `DELETE` | `/ontology/validation/rules/{param}` | `String ruleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().rules().delete(...)` | `DELETE` | `/ontology/validation/rules/{param}` | `String ruleId, Class responseType` | `@Nullable T` | +| `ontology().validation().rules().delete(...)` | `DELETE` | `/ontology/validation/rules/{param}` | `String ruleId, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().rules().list(...)` | `GET` | `/ontology/validation/rules` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().validation().rules().list(...)` | `GET` | `/ontology/validation/rules` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().rules().list(...)` | `GET` | `/ontology/validation/rules` | `Class responseType` | `@Nullable T` | +| `ontology().validation().rules().list(...)` | `GET` | `/ontology/validation/rules` | `TypeReference responseType` | `@Nullable T` | +| `ontology().validation().rules().get(...)` | `GET` | `/ontology/validation/rules/{param}` | `String ruleId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().validation().rules().get(...)` | `GET` | `/ontology/validation/rules/{param}` | `String ruleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().rules().get(...)` | `GET` | `/ontology/validation/rules/{param}` | `String ruleId, Class responseType` | `@Nullable T` | +| `ontology().validation().rules().get(...)` | `GET` | `/ontology/validation/rules/{param}` | `String ruleId, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().rules().create(...)` | `POST` | `/ontology/validation/rules` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().validation().rules().create(...)` | `POST` | `/ontology/validation/rules` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().rules().create(...)` | `POST` | `/ontology/validation/rules` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().validation().rules().create(...)` | `POST` | `/ontology/validation/rules` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().runs().list(...)` | `GET` | `/ontology/validation/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().validation().runs().list(...)` | `GET` | `/ontology/validation/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().runs().list(...)` | `GET` | `/ontology/validation/runs` | `Class responseType` | `@Nullable T` | +| `ontology().validation().runs().list(...)` | `GET` | `/ontology/validation/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().validation().runs().get(...)` | `GET` | `/ontology/validation/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().validation().runs().get(...)` | `GET` | `/ontology/validation/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().runs().get(...)` | `GET` | `/ontology/validation/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().validation().runs().get(...)` | `GET` | `/ontology/validation/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().runs().create(...)` | `POST` | `/ontology/validation/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().validation().runs().create(...)` | `POST` | `/ontology/validation/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().validation().runs().create(...)` | `POST` | `/ontology/validation/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().validation().runs().create(...)` | `POST` | `/ontology/validation/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().audit().verify(...)` | `POST` | `/ontology/versions/audit/verify` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().audit().verify(...)` | `POST` | `/ontology/versions/audit/verify` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().audit().verify(...)` | `POST` | `/ontology/versions/audit/verify` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().audit().verify(...)` | `POST` | `/ontology/versions/audit/verify` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().capabilities().list(...)` | `GET` | `/ontology/versions/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().capabilities().list(...)` | `GET` | `/ontology/versions/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().capabilities().list(...)` | `GET` | `/ontology/versions/capabilities` | `Class responseType` | `@Nullable T` | +| `ontology().versions().capabilities().list(...)` | `GET` | `/ontology/versions/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().list(...)` | `GET` | `/ontology/versions/release-bundles` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().list(...)` | `GET` | `/ontology/versions/release-bundles` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().list(...)` | `GET` | `/ontology/versions/release-bundles` | `Class responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().list(...)` | `GET` | `/ontology/versions/release-bundles` | `TypeReference responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().get(...)` | `GET` | `/ontology/versions/release-bundles/{param}` | `String bundleId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().get(...)` | `GET` | `/ontology/versions/release-bundles/{param}` | `String bundleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().get(...)` | `GET` | `/ontology/versions/release-bundles/{param}` | `String bundleId, Class responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().get(...)` | `GET` | `/ontology/versions/release-bundles/{param}` | `String bundleId, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().create(...)` | `POST` | `/ontology/versions/release-bundles` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().create(...)` | `POST` | `/ontology/versions/release-bundles` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().create(...)` | `POST` | `/ontology/versions/release-bundles` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().releaseBundles().create(...)` | `POST` | `/ontology/versions/release-bundles` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().runs().list(...)` | `GET` | `/ontology/versions/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().runs().list(...)` | `GET` | `/ontology/versions/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().runs().list(...)` | `GET` | `/ontology/versions/runs` | `Class responseType` | `@Nullable T` | +| `ontology().versions().runs().list(...)` | `GET` | `/ontology/versions/runs` | `TypeReference responseType` | `@Nullable T` | +| `ontology().versions().runs().get(...)` | `GET` | `/ontology/versions/runs/{param}` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().runs().get(...)` | `GET` | `/ontology/versions/runs/{param}` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().runs().get(...)` | `GET` | `/ontology/versions/runs/{param}` | `String runId, Class responseType` | `@Nullable T` | +| `ontology().versions().runs().get(...)` | `GET` | `/ontology/versions/runs/{param}` | `String runId, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().runs().create(...)` | `POST` | `/ontology/versions/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().runs().create(...)` | `POST` | `/ontology/versions/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().runs().create(...)` | `POST` | `/ontology/versions/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().runs().create(...)` | `POST` | `/ontology/versions/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().versions().delete(...)` | `DELETE` | `/ontology/versions/versions/{param}` | `String versionId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().versions().delete(...)` | `DELETE` | `/ontology/versions/versions/{param}` | `String versionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().versions().delete(...)` | `DELETE` | `/ontology/versions/versions/{param}` | `String versionId, Class responseType` | `@Nullable T` | +| `ontology().versions().versions().delete(...)` | `DELETE` | `/ontology/versions/versions/{param}` | `String versionId, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().versions().get(...)` | `GET` | `/ontology/versions/versions/{param}` | `String versionId, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().versions().versions().get(...)` | `GET` | `/ontology/versions/versions/{param}` | `String versionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().versions().get(...)` | `GET` | `/ontology/versions/versions/{param}` | `String versionId, Class responseType` | `@Nullable T` | +| `ontology().versions().versions().get(...)` | `GET` | `/ontology/versions/versions/{param}` | `String versionId, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().versions().create(...)` | `POST` | `/ontology/versions/versions` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().versions().create(...)` | `POST` | `/ontology/versions/versions` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().versions().create(...)` | `POST` | `/ontology/versions/versions` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().versions().create(...)` | `POST` | `/ontology/versions/versions` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().versions().compare(...)` | `POST` | `/ontology/versions/versions/compare` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().versions().compare(...)` | `POST` | `/ontology/versions/versions/compare` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().versions().versions().compare(...)` | `POST` | `/ontology/versions/versions/compare` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().versions().versions().compare(...)` | `POST` | `/ontology/versions/versions/compare` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().compareVersions().create(...)` | `POST` | `/ontology/engine/ontologies/compare-versions` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().compareVersions().create(...)` | `POST` | `/ontology/engine/ontologies/compare-versions` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().compareVersions().create(...)` | `POST` | `/ontology/engine/ontologies/compare-versions` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().compareVersions().create(...)` | `POST` | `/ontology/engine/ontologies/compare-versions` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().inferClasses().create(...)` | `POST` | `/ontology/engine/ontologies/infer-classes` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().inferClasses().create(...)` | `POST` | `/ontology/engine/ontologies/infer-classes` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().inferClasses().create(...)` | `POST` | `/ontology/engine/ontologies/infer-classes` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().inferClasses().create(...)` | `POST` | `/ontology/engine/ontologies/infer-classes` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().inferProperties().create(...)` | `POST` | `/ontology/engine/ontologies/infer-properties` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().inferProperties().create(...)` | `POST` | `/ontology/engine/ontologies/infer-properties` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().engine().ontologies().inferProperties().create(...)` | `POST` | `/ontology/engine/ontologies/infer-properties` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().engine().ontologies().inferProperties().create(...)` | `POST` | `/ontology/engine/ontologies/infer-properties` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().checkpoints().get(...)` | `GET` | `/ontology/events/events/checkpoints/{param}` | `String consumer, QueryParams query, Class responseType` | `@Nullable T` | +| `ontology().events().events().checkpoints().get(...)` | `GET` | `/ontology/events/events/checkpoints/{param}` | `String consumer, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().checkpoints().get(...)` | `GET` | `/ontology/events/events/checkpoints/{param}` | `String consumer, Class responseType` | `@Nullable T` | +| `ontology().events().events().checkpoints().get(...)` | `GET` | `/ontology/events/events/checkpoints/{param}` | `String consumer, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().checkpoints().create(...)` | `POST` | `/ontology/events/events/checkpoints` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().events().checkpoints().create(...)` | `POST` | `/ontology/events/events/checkpoints` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().checkpoints().create(...)` | `POST` | `/ontology/events/events/checkpoints` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().events().checkpoints().create(...)` | `POST` | `/ontology/events/events/checkpoints` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().leases().acknowledge(...)` | `POST` | `/ontology/events/events/leases/acknowledge` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().events().leases().acknowledge(...)` | `POST` | `/ontology/events/events/leases/acknowledge` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().leases().acknowledge(...)` | `POST` | `/ontology/events/events/leases/acknowledge` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().events().leases().acknowledge(...)` | `POST` | `/ontology/events/events/leases/acknowledge` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().leases().acquire(...)` | `POST` | `/ontology/events/events/leases/acquire` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().events().leases().acquire(...)` | `POST` | `/ontology/events/events/leases/acquire` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().events().events().leases().acquire(...)` | `POST` | `/ontology/events/events/leases/acquire` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().events().events().leases().acquire(...)` | `POST` | `/ontology/events/events/leases/acquire` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().coreferences().create(...)` | `POST` | `/ontology/extract/extract/coreferences` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().coreferences().create(...)` | `POST` | `/ontology/extract/extract/coreferences` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().coreferences().create(...)` | `POST` | `/ontology/extract/extract/coreferences` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().coreferences().create(...)` | `POST` | `/ontology/extract/extract/coreferences` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().entities().create(...)` | `POST` | `/ontology/extract/extract/entities` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().entities().create(...)` | `POST` | `/ontology/extract/extract/entities` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().entities().create(...)` | `POST` | `/ontology/extract/extract/entities` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().entities().create(...)` | `POST` | `/ontology/extract/extract/entities` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().events().create(...)` | `POST` | `/ontology/extract/extract/events` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().events().create(...)` | `POST` | `/ontology/extract/extract/events` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().events().create(...)` | `POST` | `/ontology/extract/extract/events` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().events().create(...)` | `POST` | `/ontology/extract/extract/events` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().relations().create(...)` | `POST` | `/ontology/extract/extract/relations` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().relations().create(...)` | `POST` | `/ontology/extract/extract/relations` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().relations().create(...)` | `POST` | `/ontology/extract/extract/relations` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().relations().create(...)` | `POST` | `/ontology/extract/extract/relations` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().triplets().create(...)` | `POST` | `/ontology/extract/extract/triplets` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().triplets().create(...)` | `POST` | `/ontology/extract/extract/triplets` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `ontology().extract().extract().triplets().create(...)` | `POST` | `/ontology/extract/extract/triplets` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `ontology().extract().extract().triplets().create(...)` | `POST` | `/ontology/extract/extract/triplets` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/pipelines.md b/docs/api/pipelines.md index 5acc913..fa36e66 100644 --- a/docs/api/pipelines.md +++ b/docs/api/pipelines.md @@ -2,32 +2,53 @@ Service accessor: `frontal.pipelines()` (`PipelinesClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getDataPipelinesCapabilities(...)` | `GET` | `/data/pipelines/capabilities` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesCapabilities(...)` | `GET` | `/data/pipelines/capabilities` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesHealth(...)` | `GET` | `/data/pipelines/health` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesHealth(...)` | `GET` | `/data/pipelines/health` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesInfo(...)` | `GET` | `/data/pipelines/info` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesInfo(...)` | `GET` | `/data/pipelines/info` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesPipelineRuns(...)` | `GET` | `/data/pipelines/pipeline-runs` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesPipelineRuns(...)` | `GET` | `/data/pipelines/pipeline-runs` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesPipelineRunsParam(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getDataPipelinesPipelineRunsParam(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesPipelines(...)` | `GET` | `/data/pipelines/pipelines` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesPipelines(...)` | `GET` | `/data/pipelines/pipelines` | `query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesPipelinesParam(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getDataPipelinesPipelinesParam(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getDataPipelinesRuns(...)` | `GET` | `/data/pipelines/runs` | `query, Class responseType` | `@Nullable T` | -| `getDataPipelinesRuns(...)` | `GET` | `/data/pipelines/runs` | `query, TypeReference responseType` | `@Nullable T` | -| `postDataPipelinesPipelines(...)` | `POST` | `/data/pipelines/pipelines` | `query, body, Class responseType` | `@Nullable T` | -| `postDataPipelinesPipelines(...)` | `POST` | `/data/pipelines/pipelines` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postDataPipelinesRuns(...)` | `POST` | `/data/pipelines/runs` | `query, body, Class responseType` | `@Nullable T` | -| `postDataPipelinesRuns(...)` | `POST` | `/data/pipelines/runs` | `query, body, TypeReference responseType` | `@Nullable T` | -| `streamDataPipelinesPipelineRunsParam(...)` | `STREAM` | `/data/pipelines/pipeline-runs/{param}` | `pathParam1, query` | `Flow.Publisher` | -| `streamDataPipelinesPipelineRunsParamBlocking(...)` | `STREAM` | `/data/pipelines/pipeline-runs/{param}` | `pathParam1, query` | `SseEventIterator` | -| No catalogued operations | — | — | — | — | +| `pipelines().data().pipelines().health(...)` | `GET` | `/data/pipelines/health` | `QueryParams query, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().health(...)` | `GET` | `/data/pipelines/health` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().health(...)` | `GET` | `/data/pipelines/health` | `Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().health(...)` | `GET` | `/data/pipelines/health` | `TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().getInfo(...)` | `GET` | `/data/pipelines/info` | `QueryParams query, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().getInfo(...)` | `GET` | `/data/pipelines/info` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().getInfo(...)` | `GET` | `/data/pipelines/info` | `Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().getInfo(...)` | `GET` | `/data/pipelines/info` | `TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().capabilities().list(...)` | `GET` | `/data/pipelines/capabilities` | `QueryParams query, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().capabilities().list(...)` | `GET` | `/data/pipelines/capabilities` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().capabilities().list(...)` | `GET` | `/data/pipelines/capabilities` | `Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().capabilities().list(...)` | `GET` | `/data/pipelines/capabilities` | `TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().list(...)` | `GET` | `/data/pipelines/pipeline-runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().list(...)` | `GET` | `/data/pipelines/pipeline-runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().list(...)` | `GET` | `/data/pipelines/pipeline-runs` | `Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().list(...)` | `GET` | `/data/pipelines/pipeline-runs` | `TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().get(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `String pipelineRunId, QueryParams query, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().get(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `String pipelineRunId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().get(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `String pipelineRunId, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().get(...)` | `GET` | `/data/pipelines/pipeline-runs/{param}` | `String pipelineRunId, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelineRuns().get2(...)` | `STREAM` | `/data/pipelines/pipeline-runs/{param}` | `String pipelineRunId, QueryParams query` | `Flow.Publisher` | +| `pipelines().data().pipelines().pipelineRuns().get2(...)` | `STREAM` | `/data/pipelines/pipeline-runs/{param}` | `String pipelineRunId` | `Flow.Publisher` | +| `pipelines().data().pipelines().pipelineRuns().get2Blocking(...)` | `STREAM` | `/data/pipelines/pipeline-runs/{param}` | `String pipelineRunId, QueryParams query` | `SseEventIterator` | +| `pipelines().data().pipelines().pipelineRuns().get2Blocking(...)` | `STREAM` | `/data/pipelines/pipeline-runs/{param}` | `String pipelineRunId` | `SseEventIterator` | +| `pipelines().data().pipelines().pipelines().list(...)` | `GET` | `/data/pipelines/pipelines` | `QueryParams query, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().list(...)` | `GET` | `/data/pipelines/pipelines` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().list(...)` | `GET` | `/data/pipelines/pipelines` | `Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().list(...)` | `GET` | `/data/pipelines/pipelines` | `TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().get(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `String pipelineId, QueryParams query, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().get(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `String pipelineId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().get(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `String pipelineId, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().get(...)` | `GET` | `/data/pipelines/pipelines/{param}` | `String pipelineId, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().create(...)` | `POST` | `/data/pipelines/pipelines` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().create(...)` | `POST` | `/data/pipelines/pipelines` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().create(...)` | `POST` | `/data/pipelines/pipelines` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().pipelines().create(...)` | `POST` | `/data/pipelines/pipelines` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().runs().list(...)` | `GET` | `/data/pipelines/runs` | `QueryParams query, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().runs().list(...)` | `GET` | `/data/pipelines/runs` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().runs().list(...)` | `GET` | `/data/pipelines/runs` | `Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().runs().list(...)` | `GET` | `/data/pipelines/runs` | `TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().runs().create(...)` | `POST` | `/data/pipelines/runs` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().runs().create(...)` | `POST` | `/data/pipelines/runs` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `pipelines().data().pipelines().runs().create(...)` | `POST` | `/data/pipelines/runs` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `pipelines().data().pipelines().runs().create(...)` | `POST` | `/data/pipelines/runs` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/providers.md b/docs/api/providers.md index 06249c8..406f7c8 100644 --- a/docs/api/providers.md +++ b/docs/api/providers.md @@ -2,12 +2,13 @@ Service accessor: `frontal.providers()` (`ProvidersClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getProvidersProviderSlug(...)` | `GET` | `/providers/{param}` | `providerSlug, query, Class responseType` | `@Nullable T` | -| `getProvidersProviderSlug(...)` | `GET` | `/providers/{param}` | `providerSlug, query, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `providers().get(...)` | `GET` | `/providers/{param}` | `String providerSlug, QueryParams query, Class responseType` | `@Nullable T` | +| `providers().get(...)` | `GET` | `/providers/{param}` | `String providerSlug, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `providers().get(...)` | `GET` | `/providers/{param}` | `String providerSlug, Class responseType` | `@Nullable T` | +| `providers().get(...)` | `GET` | `/providers/{param}` | `String providerSlug, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/react.md b/docs/api/react.md index aec9b3d..2cbf34e 100644 --- a/docs/api/react.md +++ b/docs/api/react.md @@ -2,10 +2,9 @@ Service accessor: `frontal.react()` (`ReactClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| No catalogued operations | — | — | — | — | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/sandbox.md b/docs/api/sandbox.md index 937fa14..bddf2ec 100644 --- a/docs/api/sandbox.md +++ b/docs/api/sandbox.md @@ -2,16 +2,21 @@ Service accessor: `frontal.sandbox()` (`SandboxClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `getSandboxLanguages(...)` | `GET` | `/sandbox/languages` | `query, Class responseType` | `@Nullable T` | -| `getSandboxLanguages(...)` | `GET` | `/sandbox/languages` | `query, TypeReference responseType` | `@Nullable T` | -| `postSandboxSelfTest(...)` | `POST` | `/sandbox/self-test` | `query, body, Class responseType` | `@Nullable T` | -| `postSandboxSelfTest(...)` | `POST` | `/sandbox/self-test` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postSandboxSubmit(...)` | `POST` | `/sandbox/submit` | `query, body, Class responseType` | `@Nullable T` | -| `postSandboxSubmit(...)` | `POST` | `/sandbox/submit` | `query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `sandbox().createSelfTest(...)` | `POST` | `/sandbox/self-test` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `sandbox().createSelfTest(...)` | `POST` | `/sandbox/self-test` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `sandbox().createSelfTest(...)` | `POST` | `/sandbox/self-test` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `sandbox().createSelfTest(...)` | `POST` | `/sandbox/self-test` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `sandbox().submit(...)` | `POST` | `/sandbox/submit` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `sandbox().submit(...)` | `POST` | `/sandbox/submit` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `sandbox().submit(...)` | `POST` | `/sandbox/submit` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `sandbox().submit(...)` | `POST` | `/sandbox/submit` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `sandbox().languages().list(...)` | `GET` | `/sandbox/languages` | `QueryParams query, Class responseType` | `@Nullable T` | +| `sandbox().languages().list(...)` | `GET` | `/sandbox/languages` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `sandbox().languages().list(...)` | `GET` | `/sandbox/languages` | `Class responseType` | `@Nullable T` | +| `sandbox().languages().list(...)` | `GET` | `/sandbox/languages` | `TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/schedules.md b/docs/api/schedules.md index 068e954..5249f9d 100644 --- a/docs/api/schedules.md +++ b/docs/api/schedules.md @@ -2,30 +2,49 @@ Service accessor: `frontal.schedules()` (`SchedulesClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteWorkflowsSchedulesParam(...)` | `DELETE` | `/workflows/schedules/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteWorkflowsSchedulesParam(...)` | `DELETE` | `/workflows/schedules/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsSchedules(...)` | `GET` | `/workflows/schedules` | `query, Class responseType` | `@Nullable T` | -| `getWorkflowsSchedules(...)` | `GET` | `/workflows/schedules` | `query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsSchedulesParam(...)` | `GET` | `/workflows/schedules/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWorkflowsSchedulesParam(...)` | `GET` | `/workflows/schedules/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `patchWorkflowsSchedulesParam(...)` | `PATCH` | `/workflows/schedules/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `patchWorkflowsSchedulesParam(...)` | `PATCH` | `/workflows/schedules/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsCronParse(...)` | `POST` | `/workflows/cron/parse` | `query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsCronParse(...)` | `POST` | `/workflows/cron/parse` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsCronValidate(...)` | `POST` | `/workflows/cron/validate` | `query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsCronValidate(...)` | `POST` | `/workflows/cron/validate` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsSchedules(...)` | `POST` | `/workflows/schedules` | `query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsSchedules(...)` | `POST` | `/workflows/schedules` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsSchedulesParamPause(...)` | `POST` | `/workflows/schedules/{param}/pause` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsSchedulesParamPause(...)` | `POST` | `/workflows/schedules/{param}/pause` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsSchedulesParamResume(...)` | `POST` | `/workflows/schedules/{param}/resume` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsSchedulesParamResume(...)` | `POST` | `/workflows/schedules/{param}/resume` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsSchedulesParamTrigger(...)` | `POST` | `/workflows/schedules/{param}/trigger` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsSchedulesParamTrigger(...)` | `POST` | `/workflows/schedules/{param}/trigger` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `schedules().workflows().cron().parse(...)` | `POST` | `/workflows/cron/parse` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().cron().parse(...)` | `POST` | `/workflows/cron/parse` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().cron().parse(...)` | `POST` | `/workflows/cron/parse` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().cron().parse(...)` | `POST` | `/workflows/cron/parse` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().cron().validate(...)` | `POST` | `/workflows/cron/validate` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().cron().validate(...)` | `POST` | `/workflows/cron/validate` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().cron().validate(...)` | `POST` | `/workflows/cron/validate` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().cron().validate(...)` | `POST` | `/workflows/cron/validate` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().delete(...)` | `DELETE` | `/workflows/schedules/{param}` | `String scheduleId, QueryParams query, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().delete(...)` | `DELETE` | `/workflows/schedules/{param}` | `String scheduleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().delete(...)` | `DELETE` | `/workflows/schedules/{param}` | `String scheduleId, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().delete(...)` | `DELETE` | `/workflows/schedules/{param}` | `String scheduleId, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().list(...)` | `GET` | `/workflows/schedules` | `QueryParams query, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().list(...)` | `GET` | `/workflows/schedules` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().list(...)` | `GET` | `/workflows/schedules` | `Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().list(...)` | `GET` | `/workflows/schedules` | `TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().get(...)` | `GET` | `/workflows/schedules/{param}` | `String scheduleId, QueryParams query, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().get(...)` | `GET` | `/workflows/schedules/{param}` | `String scheduleId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().get(...)` | `GET` | `/workflows/schedules/{param}` | `String scheduleId, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().get(...)` | `GET` | `/workflows/schedules/{param}` | `String scheduleId, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().update(...)` | `PATCH` | `/workflows/schedules/{param}` | `String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().update(...)` | `PATCH` | `/workflows/schedules/{param}` | `String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().update(...)` | `PATCH` | `/workflows/schedules/{param}` | `String scheduleId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().update(...)` | `PATCH` | `/workflows/schedules/{param}` | `String scheduleId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().create(...)` | `POST` | `/workflows/schedules` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().create(...)` | `POST` | `/workflows/schedules` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().create(...)` | `POST` | `/workflows/schedules` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().create(...)` | `POST` | `/workflows/schedules` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().pause(...)` | `POST` | `/workflows/schedules/{param}/pause` | `String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().pause(...)` | `POST` | `/workflows/schedules/{param}/pause` | `String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().pause(...)` | `POST` | `/workflows/schedules/{param}/pause` | `String scheduleId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().pause(...)` | `POST` | `/workflows/schedules/{param}/pause` | `String scheduleId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().resume(...)` | `POST` | `/workflows/schedules/{param}/resume` | `String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().resume(...)` | `POST` | `/workflows/schedules/{param}/resume` | `String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().resume(...)` | `POST` | `/workflows/schedules/{param}/resume` | `String scheduleId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().resume(...)` | `POST` | `/workflows/schedules/{param}/resume` | `String scheduleId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().trigger(...)` | `POST` | `/workflows/schedules/{param}/trigger` | `String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().trigger(...)` | `POST` | `/workflows/schedules/{param}/trigger` | `String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `schedules().workflows().schedules().trigger(...)` | `POST` | `/workflows/schedules/{param}/trigger` | `String scheduleId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `schedules().workflows().schedules().trigger(...)` | `POST` | `/workflows/schedules/{param}/trigger` | `String scheduleId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/webhook-endpoints.md b/docs/api/webhook-endpoints.md index 691c4a6..f7e03db 100644 --- a/docs/api/webhook-endpoints.md +++ b/docs/api/webhook-endpoints.md @@ -2,24 +2,37 @@ Service accessor: `frontal.webhookEndpoints()` (`WebhookEndpointsClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteWebhookEndpointsId(...)` | `DELETE` | `/webhook-endpoints/{param}` | `id, query, Class responseType` | `@Nullable T` | -| `deleteWebhookEndpointsId(...)` | `DELETE` | `/webhook-endpoints/{param}` | `id, query, TypeReference responseType` | `@Nullable T` | -| `getWebhookEndpoints(...)` | `GET` | `/webhook-endpoints` | `query, Class responseType` | `@Nullable T` | -| `getWebhookEndpoints(...)` | `GET` | `/webhook-endpoints` | `query, TypeReference responseType` | `@Nullable T` | -| `getWebhookEndpointsId(...)` | `GET` | `/webhook-endpoints/{param}` | `id, query, Class responseType` | `@Nullable T` | -| `getWebhookEndpointsId(...)` | `GET` | `/webhook-endpoints/{param}` | `id, query, TypeReference responseType` | `@Nullable T` | -| `getWebhookEndpointsIdDeliveries(...)` | `GET` | `/webhook-endpoints/{param}/deliveries` | `id, query, Class responseType` | `@Nullable T` | -| `getWebhookEndpointsIdDeliveries(...)` | `GET` | `/webhook-endpoints/{param}/deliveries` | `id, query, TypeReference responseType` | `@Nullable T` | -| `patchWebhookEndpointsId(...)` | `PATCH` | `/webhook-endpoints/{param}` | `id, query, body, Class responseType` | `@Nullable T` | -| `patchWebhookEndpointsId(...)` | `PATCH` | `/webhook-endpoints/{param}` | `id, query, body, TypeReference responseType` | `@Nullable T` | -| `postWebhookEndpoints(...)` | `POST` | `/webhook-endpoints` | `query, body, Class responseType` | `@Nullable T` | -| `postWebhookEndpoints(...)` | `POST` | `/webhook-endpoints` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWebhookEndpointsIdRotateSecret(...)` | `POST` | `/webhook-endpoints/{param}/rotate-secret` | `id, query, body, Class responseType` | `@Nullable T` | -| `postWebhookEndpointsIdRotateSecret(...)` | `POST` | `/webhook-endpoints/{param}/rotate-secret` | `id, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `webhookEndpoints().delete(...)` | `DELETE` | `/webhook-endpoints/{param}` | `String id, QueryParams query, Class responseType` | `@Nullable T` | +| `webhookEndpoints().delete(...)` | `DELETE` | `/webhook-endpoints/{param}` | `String id, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().delete(...)` | `DELETE` | `/webhook-endpoints/{param}` | `String id, Class responseType` | `@Nullable T` | +| `webhookEndpoints().delete(...)` | `DELETE` | `/webhook-endpoints/{param}` | `String id, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().list(...)` | `GET` | `/webhook-endpoints` | `QueryParams query, Class responseType` | `@Nullable T` | +| `webhookEndpoints().list(...)` | `GET` | `/webhook-endpoints` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().list(...)` | `GET` | `/webhook-endpoints` | `Class responseType` | `@Nullable T` | +| `webhookEndpoints().list(...)` | `GET` | `/webhook-endpoints` | `TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().get(...)` | `GET` | `/webhook-endpoints/{param}` | `String id, QueryParams query, Class responseType` | `@Nullable T` | +| `webhookEndpoints().get(...)` | `GET` | `/webhook-endpoints/{param}` | `String id, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().get(...)` | `GET` | `/webhook-endpoints/{param}` | `String id, Class responseType` | `@Nullable T` | +| `webhookEndpoints().get(...)` | `GET` | `/webhook-endpoints/{param}` | `String id, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().update(...)` | `PATCH` | `/webhook-endpoints/{param}` | `String id, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhookEndpoints().update(...)` | `PATCH` | `/webhook-endpoints/{param}` | `String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().update(...)` | `PATCH` | `/webhook-endpoints/{param}` | `String id, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhookEndpoints().update(...)` | `PATCH` | `/webhook-endpoints/{param}` | `String id, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().create(...)` | `POST` | `/webhook-endpoints` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhookEndpoints().create(...)` | `POST` | `/webhook-endpoints` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().create(...)` | `POST` | `/webhook-endpoints` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhookEndpoints().create(...)` | `POST` | `/webhook-endpoints` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().rotateSecret(...)` | `POST` | `/webhook-endpoints/{param}/rotate-secret` | `String id, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhookEndpoints().rotateSecret(...)` | `POST` | `/webhook-endpoints/{param}/rotate-secret` | `String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().rotateSecret(...)` | `POST` | `/webhook-endpoints/{param}/rotate-secret` | `String id, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhookEndpoints().rotateSecret(...)` | `POST` | `/webhook-endpoints/{param}/rotate-secret` | `String id, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().deliveries().list(...)` | `GET` | `/webhook-endpoints/{param}/deliveries` | `String id, QueryParams query, Class responseType` | `@Nullable T` | +| `webhookEndpoints().deliveries().list(...)` | `GET` | `/webhook-endpoints/{param}/deliveries` | `String id, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhookEndpoints().deliveries().list(...)` | `GET` | `/webhook-endpoints/{param}/deliveries` | `String id, Class responseType` | `@Nullable T` | +| `webhookEndpoints().deliveries().list(...)` | `GET` | `/webhook-endpoints/{param}/deliveries` | `String id, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/webhooks.md b/docs/api/webhooks.md index 0689695..3a38565 100644 --- a/docs/api/webhooks.md +++ b/docs/api/webhooks.md @@ -2,30 +2,49 @@ Service accessor: `frontal.webhooks()` (`WebhooksClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteWebhooksParam(...)` | `DELETE` | `/webhooks/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteWebhooksParam(...)` | `DELETE` | `/webhooks/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWebhooks(...)` | `GET` | `/webhooks` | `query, Class responseType` | `@Nullable T` | -| `getWebhooks(...)` | `GET` | `/webhooks` | `query, TypeReference responseType` | `@Nullable T` | -| `getWebhooksDeliveries(...)` | `GET` | `/webhooks/deliveries` | `query, Class responseType` | `@Nullable T` | -| `getWebhooksDeliveries(...)` | `GET` | `/webhooks/deliveries` | `query, TypeReference responseType` | `@Nullable T` | -| `getWebhooksDeliveriesParam(...)` | `GET` | `/webhooks/deliveries/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWebhooksDeliveriesParam(...)` | `GET` | `/webhooks/deliveries/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWebhooksStats(...)` | `GET` | `/webhooks/stats` | `query, Class responseType` | `@Nullable T` | -| `getWebhooksStats(...)` | `GET` | `/webhooks/stats` | `query, TypeReference responseType` | `@Nullable T` | -| `getWebhooksParam(...)` | `GET` | `/webhooks/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWebhooksParam(...)` | `GET` | `/webhooks/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `postWebhooks(...)` | `POST` | `/webhooks` | `query, body, Class responseType` | `@Nullable T` | -| `postWebhooks(...)` | `POST` | `/webhooks` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWebhooksDeliveriesParamRetry(...)` | `POST` | `/webhooks/deliveries/{param}/retry` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWebhooksDeliveriesParamRetry(...)` | `POST` | `/webhooks/deliveries/{param}/retry` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWebhooksParamRotateSecret(...)` | `POST` | `/webhooks/{param}/rotate-secret` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWebhooksParamRotateSecret(...)` | `POST` | `/webhooks/{param}/rotate-secret` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `putWebhooksParam(...)` | `PUT` | `/webhooks/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `putWebhooksParam(...)` | `PUT` | `/webhooks/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `webhooks().delete(...)` | `DELETE` | `/webhooks/{param}` | `String webhookId, QueryParams query, Class responseType` | `@Nullable T` | +| `webhooks().delete(...)` | `DELETE` | `/webhooks/{param}` | `String webhookId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhooks().delete(...)` | `DELETE` | `/webhooks/{param}` | `String webhookId, Class responseType` | `@Nullable T` | +| `webhooks().delete(...)` | `DELETE` | `/webhooks/{param}` | `String webhookId, TypeReference responseType` | `@Nullable T` | +| `webhooks().list(...)` | `GET` | `/webhooks` | `QueryParams query, Class responseType` | `@Nullable T` | +| `webhooks().list(...)` | `GET` | `/webhooks` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhooks().list(...)` | `GET` | `/webhooks` | `Class responseType` | `@Nullable T` | +| `webhooks().list(...)` | `GET` | `/webhooks` | `TypeReference responseType` | `@Nullable T` | +| `webhooks().get(...)` | `GET` | `/webhooks/{param}` | `String webhookId, QueryParams query, Class responseType` | `@Nullable T` | +| `webhooks().get(...)` | `GET` | `/webhooks/{param}` | `String webhookId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhooks().get(...)` | `GET` | `/webhooks/{param}` | `String webhookId, Class responseType` | `@Nullable T` | +| `webhooks().get(...)` | `GET` | `/webhooks/{param}` | `String webhookId, TypeReference responseType` | `@Nullable T` | +| `webhooks().create(...)` | `POST` | `/webhooks` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhooks().create(...)` | `POST` | `/webhooks` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhooks().create(...)` | `POST` | `/webhooks` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhooks().create(...)` | `POST` | `/webhooks` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhooks().rotateSecret(...)` | `POST` | `/webhooks/{param}/rotate-secret` | `String webhookId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhooks().rotateSecret(...)` | `POST` | `/webhooks/{param}/rotate-secret` | `String webhookId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhooks().rotateSecret(...)` | `POST` | `/webhooks/{param}/rotate-secret` | `String webhookId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhooks().rotateSecret(...)` | `POST` | `/webhooks/{param}/rotate-secret` | `String webhookId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhooks().update(...)` | `PUT` | `/webhooks/{param}` | `String webhookId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhooks().update(...)` | `PUT` | `/webhooks/{param}` | `String webhookId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhooks().update(...)` | `PUT` | `/webhooks/{param}` | `String webhookId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhooks().update(...)` | `PUT` | `/webhooks/{param}` | `String webhookId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhooks().deliveries().list(...)` | `GET` | `/webhooks/deliveries` | `QueryParams query, Class responseType` | `@Nullable T` | +| `webhooks().deliveries().list(...)` | `GET` | `/webhooks/deliveries` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhooks().deliveries().list(...)` | `GET` | `/webhooks/deliveries` | `Class responseType` | `@Nullable T` | +| `webhooks().deliveries().list(...)` | `GET` | `/webhooks/deliveries` | `TypeReference responseType` | `@Nullable T` | +| `webhooks().deliveries().get(...)` | `GET` | `/webhooks/deliveries/{param}` | `String deliveryId, QueryParams query, Class responseType` | `@Nullable T` | +| `webhooks().deliveries().get(...)` | `GET` | `/webhooks/deliveries/{param}` | `String deliveryId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhooks().deliveries().get(...)` | `GET` | `/webhooks/deliveries/{param}` | `String deliveryId, Class responseType` | `@Nullable T` | +| `webhooks().deliveries().get(...)` | `GET` | `/webhooks/deliveries/{param}` | `String deliveryId, TypeReference responseType` | `@Nullable T` | +| `webhooks().deliveries().retry(...)` | `POST` | `/webhooks/deliveries/{param}/retry` | `String deliveryId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhooks().deliveries().retry(...)` | `POST` | `/webhooks/deliveries/{param}/retry` | `String deliveryId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhooks().deliveries().retry(...)` | `POST` | `/webhooks/deliveries/{param}/retry` | `String deliveryId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `webhooks().deliveries().retry(...)` | `POST` | `/webhooks/deliveries/{param}/retry` | `String deliveryId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `webhooks().stats().list(...)` | `GET` | `/webhooks/stats` | `QueryParams query, Class responseType` | `@Nullable T` | +| `webhooks().stats().list(...)` | `GET` | `/webhooks/stats` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `webhooks().stats().list(...)` | `GET` | `/webhooks/stats` | `Class responseType` | `@Nullable T` | +| `webhooks().stats().list(...)` | `GET` | `/webhooks/stats` | `TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/docs/api/workflows.md b/docs/api/workflows.md index f977e9b..281d069 100644 --- a/docs/api/workflows.md +++ b/docs/api/workflows.md @@ -2,70 +2,129 @@ Service accessor: `frontal.workflows()` (`WorkflowsServiceClient`). -Named methods are generated from the committed route catalog. Build query values with `QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; select `JsonNode` or a caller-provided model for unmodeled responses. +Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available. | Method | HTTP | Route | Parameters | Response | | --- | --- | --- | --- | --- | -| `deleteWorkflowsParam(...)` | `DELETE` | `/workflows/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `deleteWorkflowsParam(...)` | `DELETE` | `/workflows/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflows(...)` | `GET` | `/workflows` | `query, Class responseType` | `@Nullable T` | -| `getWorkflows(...)` | `GET` | `/workflows` | `query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsApprovals(...)` | `GET` | `/workflows/approvals` | `query, Class responseType` | `@Nullable T` | -| `getWorkflowsApprovals(...)` | `GET` | `/workflows/approvals` | `query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsApprovalsParam(...)` | `GET` | `/workflows/approvals/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWorkflowsApprovalsParam(...)` | `GET` | `/workflows/approvals/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsExecutions(...)` | `GET` | `/workflows/executions` | `query, Class responseType` | `@Nullable T` | -| `getWorkflowsExecutions(...)` | `GET` | `/workflows/executions` | `query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsExecutionsParam(...)` | `GET` | `/workflows/executions/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWorkflowsExecutionsParam(...)` | `GET` | `/workflows/executions/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsExecutionsParamTasks(...)` | `GET` | `/workflows/executions/{param}/tasks` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWorkflowsExecutionsParamTasks(...)` | `GET` | `/workflows/executions/{param}/tasks` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsRunsParamSteps(...)` | `GET` | `/workflows/runs/{param}/steps` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWorkflowsRunsParamSteps(...)` | `GET` | `/workflows/runs/{param}/steps` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsTasksParam(...)` | `GET` | `/workflows/tasks/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWorkflowsTasksParam(...)` | `GET` | `/workflows/tasks/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsTemplates(...)` | `GET` | `/workflows/templates` | `query, Class responseType` | `@Nullable T` | -| `getWorkflowsTemplates(...)` | `GET` | `/workflows/templates` | `query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsTemplatesParam(...)` | `GET` | `/workflows/templates/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWorkflowsTemplatesParam(...)` | `GET` | `/workflows/templates/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsParam(...)` | `GET` | `/workflows/{param}` | `pathParam1, query, Class responseType` | `@Nullable T` | -| `getWorkflowsParam(...)` | `GET` | `/workflows/{param}` | `pathParam1, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsWorkflowIdRunId(...)` | `GET` | `/workflows/{param}/{param}` | `workflowId, runId, query, Class responseType` | `@Nullable T` | -| `getWorkflowsWorkflowIdRunId(...)` | `GET` | `/workflows/{param}/{param}` | `workflowId, runId, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsWorkflowIdRunIdSummary(...)` | `GET` | `/workflows/{param}/{param}/summary` | `workflowId, runId, query, Class responseType` | `@Nullable T` | -| `getWorkflowsWorkflowIdRunIdSummary(...)` | `GET` | `/workflows/{param}/{param}/summary` | `workflowId, runId, query, TypeReference responseType` | `@Nullable T` | -| `getWorkflowsWorkflowIdRunIdTimeline(...)` | `GET` | `/workflows/{param}/{param}/timeline` | `workflowId, runId, query, Class responseType` | `@Nullable T` | -| `getWorkflowsWorkflowIdRunIdTimeline(...)` | `GET` | `/workflows/{param}/{param}/timeline` | `workflowId, runId, query, TypeReference responseType` | `@Nullable T` | -| `patchWorkflowsParam(...)` | `PATCH` | `/workflows/{param}` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `patchWorkflowsParam(...)` | `PATCH` | `/workflows/{param}` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflows(...)` | `POST` | `/workflows` | `query, body, Class responseType` | `@Nullable T` | -| `postWorkflows(...)` | `POST` | `/workflows` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsApprovalsParamApprove(...)` | `POST` | `/workflows/approvals/{param}/approve` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsApprovalsParamApprove(...)` | `POST` | `/workflows/approvals/{param}/approve` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsApprovalsParamReject(...)` | `POST` | `/workflows/approvals/{param}/reject` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsApprovalsParamReject(...)` | `POST` | `/workflows/approvals/{param}/reject` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsBatch(...)` | `POST` | `/workflows/batch` | `query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsBatch(...)` | `POST` | `/workflows/batch` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsExecutions(...)` | `POST` | `/workflows/executions` | `query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsExecutions(...)` | `POST` | `/workflows/executions` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsSearch(...)` | `POST` | `/workflows/search` | `query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsSearch(...)` | `POST` | `/workflows/search` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsTasksParamCancel(...)` | `POST` | `/workflows/tasks/{param}/cancel` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsTasksParamCancel(...)` | `POST` | `/workflows/tasks/{param}/cancel` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsTasksParamRetry(...)` | `POST` | `/workflows/tasks/{param}/retry` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsTasksParamRetry(...)` | `POST` | `/workflows/tasks/{param}/retry` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsTemplates(...)` | `POST` | `/workflows/templates` | `query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsTemplates(...)` | `POST` | `/workflows/templates` | `query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsTemplatesParamInstantiate(...)` | `POST` | `/workflows/templates/{param}/instantiate` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsTemplatesParamInstantiate(...)` | `POST` | `/workflows/templates/{param}/instantiate` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsParamArchive(...)` | `POST` | `/workflows/{param}/archive` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsParamArchive(...)` | `POST` | `/workflows/{param}/archive` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsParamPublish(...)` | `POST` | `/workflows/{param}/publish` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsParamPublish(...)` | `POST` | `/workflows/{param}/publish` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsParamRestore(...)` | `POST` | `/workflows/{param}/restore` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsParamRestore(...)` | `POST` | `/workflows/{param}/restore` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| `postWorkflowsParamVersions(...)` | `POST` | `/workflows/{param}/versions` | `pathParam1, query, body, Class responseType` | `@Nullable T` | -| `postWorkflowsParamVersions(...)` | `POST` | `/workflows/{param}/versions` | `pathParam1, query, body, TypeReference responseType` | `@Nullable T` | -| No catalogued operations | — | — | — | — | +| `workflows().delete(...)` | `DELETE` | `/workflows/{param}` | `String workflowId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().delete(...)` | `DELETE` | `/workflows/{param}` | `String workflowId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().delete(...)` | `DELETE` | `/workflows/{param}` | `String workflowId, Class responseType` | `@Nullable T` | +| `workflows().delete(...)` | `DELETE` | `/workflows/{param}` | `String workflowId, TypeReference responseType` | `@Nullable T` | +| `workflows().list(...)` | `GET` | `/workflows` | `QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().list(...)` | `GET` | `/workflows` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().list(...)` | `GET` | `/workflows` | `Class responseType` | `@Nullable T` | +| `workflows().list(...)` | `GET` | `/workflows` | `TypeReference responseType` | `@Nullable T` | +| `workflows().get(...)` | `GET` | `/workflows/{param}` | `String workflowId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().get(...)` | `GET` | `/workflows/{param}` | `String workflowId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().get(...)` | `GET` | `/workflows/{param}` | `String workflowId, Class responseType` | `@Nullable T` | +| `workflows().get(...)` | `GET` | `/workflows/{param}` | `String workflowId, TypeReference responseType` | `@Nullable T` | +| `workflows().get2(...)` | `GET` | `/workflows/{param}/{param}` | `String workflowId, String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().get2(...)` | `GET` | `/workflows/{param}/{param}` | `String workflowId, String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().get2(...)` | `GET` | `/workflows/{param}/{param}` | `String workflowId, String runId, Class responseType` | `@Nullable T` | +| `workflows().get2(...)` | `GET` | `/workflows/{param}/{param}` | `String workflowId, String runId, TypeReference responseType` | `@Nullable T` | +| `workflows().summary(...)` | `GET` | `/workflows/{param}/{param}/summary` | `String workflowId, String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().summary(...)` | `GET` | `/workflows/{param}/{param}/summary` | `String workflowId, String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().summary(...)` | `GET` | `/workflows/{param}/{param}/summary` | `String workflowId, String runId, Class responseType` | `@Nullable T` | +| `workflows().summary(...)` | `GET` | `/workflows/{param}/{param}/summary` | `String workflowId, String runId, TypeReference responseType` | `@Nullable T` | +| `workflows().timeline(...)` | `GET` | `/workflows/{param}/{param}/timeline` | `String workflowId, String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().timeline(...)` | `GET` | `/workflows/{param}/{param}/timeline` | `String workflowId, String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().timeline(...)` | `GET` | `/workflows/{param}/{param}/timeline` | `String workflowId, String runId, Class responseType` | `@Nullable T` | +| `workflows().timeline(...)` | `GET` | `/workflows/{param}/{param}/timeline` | `String workflowId, String runId, TypeReference responseType` | `@Nullable T` | +| `workflows().update(...)` | `PATCH` | `/workflows/{param}` | `String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().update(...)` | `PATCH` | `/workflows/{param}` | `String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().update(...)` | `PATCH` | `/workflows/{param}` | `String workflowId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().update(...)` | `PATCH` | `/workflows/{param}` | `String workflowId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().create(...)` | `POST` | `/workflows` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().create(...)` | `POST` | `/workflows` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().create(...)` | `POST` | `/workflows` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().create(...)` | `POST` | `/workflows` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().batch(...)` | `POST` | `/workflows/batch` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().batch(...)` | `POST` | `/workflows/batch` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().batch(...)` | `POST` | `/workflows/batch` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().batch(...)` | `POST` | `/workflows/batch` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().search(...)` | `POST` | `/workflows/search` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().search(...)` | `POST` | `/workflows/search` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().search(...)` | `POST` | `/workflows/search` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().search(...)` | `POST` | `/workflows/search` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().archive(...)` | `POST` | `/workflows/{param}/archive` | `String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().archive(...)` | `POST` | `/workflows/{param}/archive` | `String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().archive(...)` | `POST` | `/workflows/{param}/archive` | `String workflowId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().archive(...)` | `POST` | `/workflows/{param}/archive` | `String workflowId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().publish(...)` | `POST` | `/workflows/{param}/publish` | `String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().publish(...)` | `POST` | `/workflows/{param}/publish` | `String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().publish(...)` | `POST` | `/workflows/{param}/publish` | `String workflowId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().publish(...)` | `POST` | `/workflows/{param}/publish` | `String workflowId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().restore(...)` | `POST` | `/workflows/{param}/restore` | `String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().restore(...)` | `POST` | `/workflows/{param}/restore` | `String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().restore(...)` | `POST` | `/workflows/{param}/restore` | `String workflowId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().restore(...)` | `POST` | `/workflows/{param}/restore` | `String workflowId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().approvals().list(...)` | `GET` | `/workflows/approvals` | `QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().approvals().list(...)` | `GET` | `/workflows/approvals` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().approvals().list(...)` | `GET` | `/workflows/approvals` | `Class responseType` | `@Nullable T` | +| `workflows().approvals().list(...)` | `GET` | `/workflows/approvals` | `TypeReference responseType` | `@Nullable T` | +| `workflows().approvals().get(...)` | `GET` | `/workflows/approvals/{param}` | `String approvalId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().approvals().get(...)` | `GET` | `/workflows/approvals/{param}` | `String approvalId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().approvals().get(...)` | `GET` | `/workflows/approvals/{param}` | `String approvalId, Class responseType` | `@Nullable T` | +| `workflows().approvals().get(...)` | `GET` | `/workflows/approvals/{param}` | `String approvalId, TypeReference responseType` | `@Nullable T` | +| `workflows().approvals().approve(...)` | `POST` | `/workflows/approvals/{param}/approve` | `String approvalId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().approvals().approve(...)` | `POST` | `/workflows/approvals/{param}/approve` | `String approvalId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().approvals().approve(...)` | `POST` | `/workflows/approvals/{param}/approve` | `String approvalId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().approvals().approve(...)` | `POST` | `/workflows/approvals/{param}/approve` | `String approvalId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().approvals().reject(...)` | `POST` | `/workflows/approvals/{param}/reject` | `String approvalId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().approvals().reject(...)` | `POST` | `/workflows/approvals/{param}/reject` | `String approvalId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().approvals().reject(...)` | `POST` | `/workflows/approvals/{param}/reject` | `String approvalId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().approvals().reject(...)` | `POST` | `/workflows/approvals/{param}/reject` | `String approvalId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().executions().list(...)` | `GET` | `/workflows/executions` | `QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().executions().list(...)` | `GET` | `/workflows/executions` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().executions().list(...)` | `GET` | `/workflows/executions` | `Class responseType` | `@Nullable T` | +| `workflows().executions().list(...)` | `GET` | `/workflows/executions` | `TypeReference responseType` | `@Nullable T` | +| `workflows().executions().get(...)` | `GET` | `/workflows/executions/{param}` | `String executionId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().executions().get(...)` | `GET` | `/workflows/executions/{param}` | `String executionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().executions().get(...)` | `GET` | `/workflows/executions/{param}` | `String executionId, Class responseType` | `@Nullable T` | +| `workflows().executions().get(...)` | `GET` | `/workflows/executions/{param}` | `String executionId, TypeReference responseType` | `@Nullable T` | +| `workflows().executions().create(...)` | `POST` | `/workflows/executions` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().executions().create(...)` | `POST` | `/workflows/executions` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().executions().create(...)` | `POST` | `/workflows/executions` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().executions().create(...)` | `POST` | `/workflows/executions` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().tasks().get(...)` | `GET` | `/workflows/tasks/{param}` | `String taskId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().tasks().get(...)` | `GET` | `/workflows/tasks/{param}` | `String taskId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().tasks().get(...)` | `GET` | `/workflows/tasks/{param}` | `String taskId, Class responseType` | `@Nullable T` | +| `workflows().tasks().get(...)` | `GET` | `/workflows/tasks/{param}` | `String taskId, TypeReference responseType` | `@Nullable T` | +| `workflows().tasks().cancel(...)` | `POST` | `/workflows/tasks/{param}/cancel` | `String taskId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().tasks().cancel(...)` | `POST` | `/workflows/tasks/{param}/cancel` | `String taskId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().tasks().cancel(...)` | `POST` | `/workflows/tasks/{param}/cancel` | `String taskId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().tasks().cancel(...)` | `POST` | `/workflows/tasks/{param}/cancel` | `String taskId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().tasks().retry(...)` | `POST` | `/workflows/tasks/{param}/retry` | `String taskId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().tasks().retry(...)` | `POST` | `/workflows/tasks/{param}/retry` | `String taskId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().tasks().retry(...)` | `POST` | `/workflows/tasks/{param}/retry` | `String taskId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().tasks().retry(...)` | `POST` | `/workflows/tasks/{param}/retry` | `String taskId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().templates().list(...)` | `GET` | `/workflows/templates` | `QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().templates().list(...)` | `GET` | `/workflows/templates` | `QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().templates().list(...)` | `GET` | `/workflows/templates` | `Class responseType` | `@Nullable T` | +| `workflows().templates().list(...)` | `GET` | `/workflows/templates` | `TypeReference responseType` | `@Nullable T` | +| `workflows().templates().get(...)` | `GET` | `/workflows/templates/{param}` | `String templateId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().templates().get(...)` | `GET` | `/workflows/templates/{param}` | `String templateId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().templates().get(...)` | `GET` | `/workflows/templates/{param}` | `String templateId, Class responseType` | `@Nullable T` | +| `workflows().templates().get(...)` | `GET` | `/workflows/templates/{param}` | `String templateId, TypeReference responseType` | `@Nullable T` | +| `workflows().templates().create(...)` | `POST` | `/workflows/templates` | `QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().templates().create(...)` | `POST` | `/workflows/templates` | `QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().templates().create(...)` | `POST` | `/workflows/templates` | `@Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().templates().create(...)` | `POST` | `/workflows/templates` | `@Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().templates().instantiate(...)` | `POST` | `/workflows/templates/{param}/instantiate` | `String templateId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().templates().instantiate(...)` | `POST` | `/workflows/templates/{param}/instantiate` | `String templateId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().templates().instantiate(...)` | `POST` | `/workflows/templates/{param}/instantiate` | `String templateId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().templates().instantiate(...)` | `POST` | `/workflows/templates/{param}/instantiate` | `String templateId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().versions().create(...)` | `POST` | `/workflows/{param}/versions` | `String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().versions().create(...)` | `POST` | `/workflows/{param}/versions` | `String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().versions().create(...)` | `POST` | `/workflows/{param}/versions` | `String workflowId, @Nullable JsonNode body, Class responseType` | `@Nullable T` | +| `workflows().versions().create(...)` | `POST` | `/workflows/{param}/versions` | `String workflowId, @Nullable JsonNode body, TypeReference responseType` | `@Nullable T` | +| `workflows().executions().tasks().list(...)` | `GET` | `/workflows/executions/{param}/tasks` | `String executionId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().executions().tasks().list(...)` | `GET` | `/workflows/executions/{param}/tasks` | `String executionId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().executions().tasks().list(...)` | `GET` | `/workflows/executions/{param}/tasks` | `String executionId, Class responseType` | `@Nullable T` | +| `workflows().executions().tasks().list(...)` | `GET` | `/workflows/executions/{param}/tasks` | `String executionId, TypeReference responseType` | `@Nullable T` | +| `workflows().runs().steps().list(...)` | `GET` | `/workflows/runs/{param}/steps` | `String runId, QueryParams query, Class responseType` | `@Nullable T` | +| `workflows().runs().steps().list(...)` | `GET` | `/workflows/runs/{param}/steps` | `String runId, QueryParams query, TypeReference responseType` | `@Nullable T` | +| `workflows().runs().steps().list(...)` | `GET` | `/workflows/runs/{param}/steps` | `String runId, Class responseType` | `@Nullable T` | +| `workflows().runs().steps().list(...)` | `GET` | `/workflows/runs/{param}/steps` | `String runId, TypeReference responseType` | `@Nullable T` | The generic `request(...)` methods and `Endpoints` constants remain available. diff --git a/examples/README.md b/examples/README.md index e47a11f..1a21cfd 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,6 +1,6 @@ # Java examples -Examples in this repository use Java 17 and the Maven coordinate `dev.frontal:frontal-sdk:2.0.0`. Named service methods take immutable `QueryParams`, `JsonNode` request bodies when schemas are unavailable, and caller-selected response types. `Endpoints` remains available for generic requests. +Examples in this repository use Java 17 and the Maven coordinate `dev.frontal:frontal-sdk:2.0.0`. Service clients group methods by nested resources and use concise collection, item, and action methods. Calls accept `JsonNode` request bodies where schemas are unavailable, caller-selected response types, and optional `QueryParams`. `Endpoints` remains available for generic requests. For standalone starter applications tailored to common deployment patterns, see [`templates/README.md`](../templates/README.md). @@ -11,7 +11,7 @@ try (Frontal client = Frontal.builder() .apiKey("frt_test_key") .apiBaseUrl(mock.url("/v1").toString()) .build()) { - PageResult agents = client.agents().list(QueryParams.empty(), JsonNode.class); + PageResult agents = client.agents().listPages(QueryParams.empty(), JsonNode.class); for (JsonNode agent : agents) { System.out.println(agent.path("id").asText()); } diff --git a/scripts/README.md b/scripts/README.md index 0f613ec..4122fdc 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -1,6 +1,6 @@ # Java repository scripts -`sync_endpoint_inventory.py` adds operations from the committed public OpenAPI snapshot to `contracts/sdk-endpoints.json`. `generate_endpoints.py` writes route constants, named service operation clients, per-service API references, and route coverage reports. Run Spotless after generation so generated Java matches repository formatting. `check_contracts.py` verifies the inventory, generated API references, Java constants, and named methods, then confirms every public and AI OpenAPI operation maps to an endpoint. `generate_docs_manifest.py` indexes Markdown documentation and writes `docs/mcp.json` plus the root `mcp.json`. The Python utilities use the standard library and do not affect the Java runtime or package dependencies. +`sync_endpoint_inventory.py` adds operations from the committed public OpenAPI snapshot to `contracts/sdk-endpoints.json`. `generate_endpoints.py` writes route constants, nested resource clients with concise operation names, per-service API references, and route coverage reports. Run Spotless after generation so generated Java matches repository formatting. `check_contracts.py` verifies the inventory, generated API references, Java constants, and named methods, then confirms every public and AI OpenAPI operation maps to an endpoint. `generate_docs_manifest.py` indexes Markdown documentation and writes `docs/mcp.json` plus the root `mcp.json`. The Python utilities use the standard library and do not affect the Java runtime or package dependencies. Run them directly: From ce899c81d4bb727c4b31ab6a6e709870f8625793 Mon Sep 17 00:00:00 2001 From: Gabriel Fonseca Date: Fri, 9 Oct 2026 11:53:52 +0100 Subject: [PATCH 4/6] chore: regenerate SDK clients and update endpoints --- scripts/generate_endpoints.py | 545 +- .../frontal/sdk/resources/AgentsClient.java | 95 +- .../sdk/resources/AgentsRunsClient.java | 320 + .../sdk/resources/AgentsServiceClient.java | 307 +- .../sdk/resources/AgentsVersionsClient.java | 67 + .../frontal/sdk/resources/AiChatClient.java | 22 + .../resources/AiChatCompletionsClient.java | 67 + .../dev/frontal/sdk/resources/AiClient.java | 53 +- .../sdk/resources/AiInternalClient.java | 288 + .../sdk/resources/AiInternalModelsClient.java | 111 + .../sdk/resources/AiServiceClient.java | 265 +- .../frontal/sdk/resources/AuditClient.java | 125 +- .../sdk/resources/AuditEventsClient.java | 219 + .../sdk/resources/AuthAccountClient.java | 384 ++ .../sdk/resources/AuthAccountMfaClient.java | 231 + .../AuthAccountSecurityApiKeysClient.java | 275 + .../resources/AuthAccountSecurityClient.java | 29 + .../AuthAccountSecurityDevicesClient.java | 275 + .../resources/AuthAccountSessionsClient.java | 171 + .../sdk/resources/AuthAdminClient.java | 126 + .../sdk/resources/AuthAdminUsersClient.java | 282 + .../AuthAdminUsersFactorsClient.java | 123 + .../frontal/sdk/resources/AuthAuthClient.java | 115 + .../dev/frontal/sdk/resources/AuthClient.java | 1728 +---- .../sdk/resources/AuthFactorsClient.java | 279 + .../resources/AuthMfaBackupCodesClient.java | 67 + .../frontal/sdk/resources/AuthMfaClient.java | 278 + .../frontal/sdk/resources/AuthUserClient.java | 22 + .../resources/AuthUserIdentitiesClient.java | 167 + .../sdk/resources/BillingAddonsClient.java | 22 + .../BillingAddonsEntitlementsClient.java | 67 + .../frontal/sdk/resources/BillingClient.java | 899 +-- .../sdk/resources/BillingCustomersClient.java | 95 + .../BillingCustomersEntitlementsClient.java | 67 + .../BillingCustomersInvoicesClient.java | 67 + .../BillingCustomersPortalClient.java | 67 + .../BillingCustomersWalletsClient.java | 67 + .../sdk/resources/BillingInvoicesClient.java | 231 + .../sdk/resources/BillingMetersClient.java | 71 + .../sdk/resources/BillingPlansClient.java | 78 + .../BillingPlansEntitlementsClient.java | 67 + .../sdk/resources/BillingPricesClient.java | 22 + .../resources/BillingPricesLookupClient.java | 67 + .../resources/BillingSubscriptionsClient.java | 246 + ...illingSubscriptionsEntitlementsClient.java | 67 + .../BillingWalletsBalanceClient.java | 67 + .../sdk/resources/BillingWalletsClient.java | 141 + .../BillingWalletsTransactionsClient.java | 67 + .../dev/frontal/sdk/resources/BlobClient.java | 340 +- .../sdk/resources/BlobObjectClient.java | 318 + .../sdk/resources/BlobObjectInfoClient.java | 71 + .../sdk/resources/BlobObjectListClient.java | 71 + .../sdk/resources/BlobObjectSignClient.java | 75 + .../sdk/resources/ConnectionTestsClient.java | 53 +- .../resources/ConnectorsCatalogClient.java | 67 + .../sdk/resources/ConnectorsClient.java | 444 +- .../ConnectorsConnectionTestsClient.java | 67 + .../ConnectorsDiagnosticsClient.java | 63 + .../ConnectorsInstallationsClient.java | 387 ++ .../resources/ConnectorsSyncRunsClient.java | 71 + .../DataAggregationsAggregationsClient.java | 174 + ...regationsAggregationsExecutionsClient.java | 71 + .../DataAggregationsCapabilitiesClient.java | 63 + .../sdk/resources/DataAggregationsClient.java | 132 + .../resources/DataAggregationsRunsClient.java | 167 + .../resources/DataArchivalArchivalClient.java | 22 + .../DataArchivalArchivalPoliciesClient.java | 174 + ...hivalArchivalPoliciesExecutionsClient.java | 71 + .../DataArchivalCapabilitiesClient.java | 63 + .../sdk/resources/DataArchivalClient.java | 132 + .../sdk/resources/DataArchivalRunsClient.java | 167 + .../DataCatalogCapabilitiesClient.java | 63 + .../resources/DataCatalogCatalogClient.java | 29 + ...CatalogCatalogDatasetsArtifactsClient.java | 71 + .../DataCatalogCatalogDatasetsClient.java | 122 + .../DataCatalogCatalogSourcesClient.java | 115 + .../sdk/resources/DataCatalogClient.java | 132 + .../sdk/resources/DataCatalogRunsClient.java | 167 + .../dev/frontal/sdk/resources/DataClient.java | 4815 +------------- .../DataEnrichmentCapabilitiesClient.java | 63 + .../sdk/resources/DataEnrichmentClient.java | 132 + .../DataEnrichmentEnrichmentClient.java | 22 + ...ataEnrichmentEnrichmentProfilesClient.java | 174 + ...entEnrichmentProfilesExecutionsClient.java | 71 + .../resources/DataEnrichmentRunsClient.java | 167 + .../DataExportsCapabilitiesClient.java | 63 + .../sdk/resources/DataExportsClient.java | 132 + .../resources/DataExportsExportsClient.java | 174 + .../DataExportsExportsExecutionsClient.java | 71 + .../sdk/resources/DataExportsRunsClient.java | 167 + .../DataIngestCapabilitiesClient.java | 63 + .../sdk/resources/DataIngestClient.java | 139 + .../DataIngestDatasetsArtifactsClient.java | 71 + .../resources/DataIngestDatasetsClient.java | 174 + .../sdk/resources/DataIngestRunsClient.java | 167 + .../resources/DataIngestSchemasClient.java | 115 + .../DataNormalizationCapabilitiesClient.java | 63 + .../resources/DataNormalizationClient.java | 132 + .../DataNormalizationNormalizationClient.java | 22 + ...malizationNormalizationProfilesClient.java | 174 + ...NormalizationProfilesExecutionsClient.java | 71 + .../DataNormalizationRunsClient.java | 167 + .../DataPipelinesCapabilitiesClient.java | 63 + .../sdk/resources/DataPipelinesClient.java | 139 + .../DataPipelinesPipelineRunsClient.java | 115 + .../DataPipelinesPipelinesClient.java | 167 + .../resources/DataPipelinesRunsClient.java | 167 + .../DataQualityCapabilitiesClient.java | 63 + .../sdk/resources/DataQualityClient.java | 132 + .../resources/DataQualityQualityClient.java | 22 + .../DataQualityQualityRulesetsClient.java | 174 + ...alityQualityRulesetsEvaluationsClient.java | 71 + .../sdk/resources/DataQualityRunsClient.java | 167 + .../DataQueryCapabilitiesClient.java | 63 + .../sdk/resources/DataQueryClient.java | 132 + .../sdk/resources/DataQueryQueryClient.java | 67 + .../sdk/resources/DataQueryRunsClient.java | 167 + .../DataSchemasCapabilitiesClient.java | 63 + .../sdk/resources/DataSchemasClient.java | 132 + .../sdk/resources/DataSchemasRunsClient.java | 167 + .../resources/DataSchemasSchemasClient.java | 219 + .../DataServingCapabilitiesClient.java | 63 + .../sdk/resources/DataServingClient.java | 132 + .../sdk/resources/DataServingRunsClient.java | 167 + .../resources/DataServingServingClient.java | 22 + .../DataServingServingProductsClient.java | 174 + ...ServingServingProductsRefreshesClient.java | 71 + .../DataStreamsCapabilitiesClient.java | 63 + .../sdk/resources/DataStreamsClient.java | 132 + .../sdk/resources/DataStreamsRunsClient.java | 167 + .../resources/DataStreamsStreamsClient.java | 174 + .../DataStreamsStreamsDeliveriesClient.java | 71 + .../resources/DataSyncCapabilitiesClient.java | 63 + .../frontal/sdk/resources/DataSyncClient.java | 132 + .../sdk/resources/DataSyncRunsClient.java | 167 + .../sdk/resources/DataSyncSyncClient.java | 22 + .../sdk/resources/DataSyncSyncJobsClient.java | 174 + .../DataSyncSyncJobsExecutionsClient.java | 71 + ...DataTransformationsCapabilitiesClient.java | 63 + .../resources/DataTransformationsClient.java | 132 + .../DataTransformationsRunsClient.java | 167 + ...aTransformationsTransformationsClient.java | 174 + ...ationsTransformationsExecutionsClient.java | 71 + .../dev/frontal/sdk/resources/Endpoints.java | 3864 +++++------ .../sdk/resources/EventsBenchmarkClient.java | 119 + .../frontal/sdk/resources/EventsClient.java | 389 +- .../sdk/resources/EventsRawClient.java | 22 + .../resources/EventsRawReprocessClient.java | 119 + .../sdk/resources/EventsReprocessClient.java | 67 + .../sdk/resources/EventsUsageClient.java | 67 + .../sdk/resources/GovernanceAccessClient.java | 67 + .../sdk/resources/GovernanceClient.java | 759 +-- ...GovernanceComplianceAssessmentsClient.java | 167 + .../resources/GovernanceComplianceClient.java | 84 + .../GovernanceComplianceFrameworksClient.java | 63 + .../GovernanceComplianceViolationsClient.java | 119 + .../GovernancePermissionsClient.java | 167 + .../resources/GovernancePoliciesClient.java | 393 ++ .../GovernancePoliciesTemplatesClient.java | 63 + .../GovernancePoliciesVersionsClient.java | 67 + .../sdk/resources/GovernanceRolesClient.java | 219 + .../sdk/resources/InvocationsClient.java | 36 +- .../frontal/sdk/resources/LineageClient.java | 165 +- .../sdk/resources/LineageEdgesClient.java | 115 + .../sdk/resources/LineageNodesClient.java | 167 + .../resources/ObservabilityAlertsClient.java | 349 + .../ObservabilityAlertsIncidentsClient.java | 63 + .../ObservabilityAlertsRulesClient.java | 331 + .../sdk/resources/ObservabilityClient.java | 1107 +--- .../ObservabilityDashboardsClient.java | 331 + .../resources/ObservabilityEventsClient.java | 126 + .../ObservabilityEventsStatsClient.java | 63 + .../resources/ObservabilityLogsClient.java | 156 + .../resources/ObservabilityMetricsClient.java | 163 + .../resources/ObservabilityTracesClient.java | 167 + .../frontal/sdk/resources/OntologyClient.java | 5698 +---------------- .../OntologyEngineCapabilitiesClient.java | 63 + .../sdk/resources/OntologyEngineClient.java | 132 + .../OntologyEngineOntologiesClient.java | 244 + ...EngineOntologiesCompareVersionsClient.java | 67 + ...ogyEngineOntologiesInferClassesClient.java | 67 + ...EngineOntologiesInferPropertiesClient.java | 67 + .../resources/OntologyEngineRunsClient.java | 167 + .../OntologyEventsCapabilitiesClient.java | 63 + .../sdk/resources/OntologyEventsClient.java | 132 + ...OntologyEventsEventsCheckpointsClient.java | 119 + .../resources/OntologyEventsEventsClient.java | 181 + .../OntologyEventsEventsLeasesClient.java | 119 + .../resources/OntologyEventsRunsClient.java | 167 + .../OntologyExtractCapabilitiesClient.java | 63 + .../sdk/resources/OntologyExtractClient.java | 132 + .../OntologyExtractExtractClient.java | 154 + ...ologyExtractExtractCoreferencesClient.java | 67 + .../OntologyExtractExtractEntitiesClient.java | 67 + .../OntologyExtractExtractEventsClient.java | 67 + ...OntologyExtractExtractRelationsClient.java | 67 + .../OntologyExtractExtractTripletsClient.java | 67 + .../resources/OntologyExtractRunsClient.java | 167 + .../OntologyGraphCapabilitiesClient.java | 63 + .../sdk/resources/OntologyGraphClient.java | 146 + .../OntologyGraphEntitiesClient.java | 175 + .../resources/OntologyGraphGraphClient.java | 327 + .../OntologyGraphRelationshipsClient.java | 123 + .../resources/OntologyGraphRunsClient.java | 167 + .../OntologyObjectsCapabilitiesClient.java | 63 + .../sdk/resources/OntologyObjectsClient.java | 139 + .../OntologyObjectsObjectTypesClient.java | 223 + .../OntologyObjectsObjectsClient.java | 223 + .../resources/OntologyObjectsRunsClient.java | 167 + .../OntologyReasoningCapabilitiesClient.java | 63 + .../resources/OntologyReasoningClient.java | 198 + .../OntologyReasoningFactsClient.java | 119 + .../OntologyReasoningReasonClient.java | 119 + .../OntologyReasoningRulesClient.java | 223 + .../OntologyReasoningRunsClient.java | 167 + ...tologyRelationshipsCapabilitiesClient.java | 63 + .../OntologyRelationshipsClient.java | 139 + ...yRelationshipsRelationshipTypesClient.java | 115 + ...ologyRelationshipsRelationshipsClient.java | 223 + .../OntologyRelationshipsRunsClient.java | 167 + .../OntologyRolloutsCapabilitiesClient.java | 63 + .../sdk/resources/OntologyRolloutsClient.java | 132 + .../OntologyRolloutsRolloutsClient.java | 551 ++ .../resources/OntologyRolloutsRunsClient.java | 167 + .../OntologyRollupsCapabilitiesClient.java | 63 + .../sdk/resources/OntologyRollupsClient.java | 139 + .../OntologyRollupsRollupResultsClient.java | 67 + .../OntologyRollupsRollupsClient.java | 439 ++ .../resources/OntologyRollupsRunsClient.java | 167 + .../OntologySchemasCapabilitiesClient.java | 63 + .../sdk/resources/OntologySchemasClient.java | 132 + .../resources/OntologySchemasRunsClient.java | 167 + .../OntologySchemasSchemasClient.java | 271 + ...logyTransformationsCapabilitiesClient.java | 63 + .../OntologyTransformationsClient.java | 132 + .../OntologyTransformationsRunsClient.java | 167 + ...yTransformationsTransformationsClient.java | 67 + .../OntologyValidationCapabilitiesClient.java | 63 + .../resources/OntologyValidationClient.java | 139 + .../OntologyValidationPayloadsClient.java | 67 + .../OntologyValidationRulesClient.java | 219 + .../OntologyValidationRunsClient.java | 167 + .../OntologyVersionsAuditClient.java | 67 + .../OntologyVersionsCapabilitiesClient.java | 63 + .../sdk/resources/OntologyVersionsClient.java | 146 + .../OntologyVersionsReleaseBundlesClient.java | 167 + .../resources/OntologyVersionsRunsClient.java | 167 + .../OntologyVersionsVersionsClient.java | 223 + .../sdk/resources/PipelinesClient.java | 342 +- .../sdk/resources/PipelinesDataClient.java | 22 + ...elinesDataPipelinesCapabilitiesClient.java | 63 + .../PipelinesDataPipelinesClient.java | 139 + ...elinesDataPipelinesPipelineRunsClient.java | 156 + ...PipelinesDataPipelinesPipelinesClient.java | 167 + .../PipelinesDataPipelinesRunsClient.java | 115 + .../sdk/resources/ProvidersClient.java | 38 +- .../frontal/sdk/resources/ReactClient.java | 9 +- .../frontal/sdk/resources/SandboxClient.java | 82 +- .../sdk/resources/SandboxLanguagesClient.java | 63 + .../sdk/resources/SchedulesClient.java | 367 +- .../resources/SchedulesWorkflowsClient.java | 29 + .../SchedulesWorkflowsCronClient.java | 119 + .../SchedulesWorkflowsSchedulesClient.java | 443 ++ .../sdk/resources/WebhookEndpointsClient.java | 246 +- .../WebhookEndpointsDeliveriesClient.java | 67 + .../frontal/sdk/resources/WebhooksClient.java | 272 +- .../resources/WebhooksDeliveriesClient.java | 171 + .../sdk/resources/WebhooksStatsClient.java | 63 + .../resources/WorkflowsApprovalsClient.java | 227 + .../sdk/resources/WorkflowsClient.java | 71 +- .../resources/WorkflowsExecutionsClient.java | 174 + .../WorkflowsExecutionsTasksClient.java | 67 + .../sdk/resources/WorkflowsRunsClient.java | 22 + .../resources/WorkflowsRunsStepsClient.java | 67 + .../sdk/resources/WorkflowsServiceClient.java | 759 +-- .../sdk/resources/WorkflowsTasksClient.java | 179 + .../resources/WorkflowsTemplatesClient.java | 223 + .../resources/WorkflowsVersionsClient.java | 71 + .../dev/frontal/examples/cronexport/Main.java | 2 +- 279 files changed, 36617 insertions(+), 19903 deletions(-) create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AgentsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AgentsVersionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AiChatClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AiChatCompletionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AiInternalClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AiInternalModelsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuditEventsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAccountClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAccountMfaClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityApiKeysClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityDevicesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAccountSessionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAdminClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersFactorsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthAuthClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthFactorsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthMfaBackupCodesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthMfaClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthUserClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/AuthUserIdentitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingAddonsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingAddonsEntitlementsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingCustomersClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingCustomersEntitlementsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingCustomersInvoicesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingCustomersPortalClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingCustomersWalletsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingInvoicesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingMetersClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingPlansClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingPlansEntitlementsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingPricesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingPricesLookupClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsEntitlementsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingWalletsBalanceClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingWalletsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BillingWalletsTransactionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BlobObjectClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BlobObjectInfoClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BlobObjectListClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/BlobObjectSignClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ConnectorsCatalogClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ConnectorsConnectionTestsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ConnectorsDiagnosticsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ConnectorsInstallationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ConnectorsSyncRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsExecutionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataAggregationsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataAggregationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataAggregationsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesExecutionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataArchivalCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataArchivalClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataArchivalRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataCatalogCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsArtifactsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogSourcesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataCatalogClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataCatalogRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesExecutionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataExportsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataExportsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsExecutionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataExportsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataIngestCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataIngestClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsArtifactsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataIngestRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataIngestSchemasClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataNormalizationCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataNormalizationClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesExecutionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataNormalizationRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataPipelinesCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataPipelinesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelineRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelinesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataPipelinesRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQualityCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQualityClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsEvaluationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQualityRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQueryCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQueryClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQueryQueryClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataQueryRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSchemasCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSchemasClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSchemasRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSchemasSchemasClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataServingCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataServingClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataServingRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataServingServingClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsRefreshesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataStreamsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataStreamsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataStreamsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsDeliveriesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSyncCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSyncClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSyncRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsExecutionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataTransformationsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataTransformationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataTransformationsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsExecutionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/EventsBenchmarkClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/EventsRawClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/EventsRawReprocessClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/EventsReprocessClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/EventsUsageClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernanceAccessClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceAssessmentsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceFrameworksClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceViolationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernancePermissionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesTemplatesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesVersionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/GovernanceRolesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/LineageEdgesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/LineageNodesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsIncidentsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsRulesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityDashboardsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsStatsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityLogsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityMetricsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/ObservabilityTracesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEngineCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEngineClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesCompareVersionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferClassesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferPropertiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEngineRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEventsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEventsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsCheckpointsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsLeasesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyEventsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractCoreferencesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEntitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEventsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractRelationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractTripletsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyExtractRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyGraphCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyGraphClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyGraphEntitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyGraphGraphClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRelationshipsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectTypesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningFactsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningReasonClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRulesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipTypesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRolloutsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupResultsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologySchemasCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologySchemasClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologySchemasRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologySchemasSchemasClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsTransformationsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyValidationCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyValidationClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyValidationPayloadsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRulesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsAuditClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsReleaseBundlesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsVersionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/PipelinesDataClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesCapabilitiesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelineRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelinesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/SandboxLanguagesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsCronClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsSchedulesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsDeliveriesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WebhooksDeliveriesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WebhooksStatsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsApprovalsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsTasksClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsStepsClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsTasksClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsTemplatesClient.java create mode 100644 services/src/main/java/dev/frontal/sdk/resources/WorkflowsVersionsClient.java diff --git a/scripts/generate_endpoints.py b/scripts/generate_endpoints.py index a5dba7b..7f72c19 100644 --- a/scripts/generate_endpoints.py +++ b/scripts/generate_endpoints.py @@ -39,6 +39,15 @@ } CUSTOM_CLIENTS = {"agents", "ai", "workflows"} SERVICE_ALIASES = {"action-runs": "agents"} +ACTION_SEGMENTS = { + "acknowledge", "acquire", "activate", "analyze", "analytics", "archive", "approve", "assign", "batch", "benchmark-v1", "benchmark-v2", "bulk", + "cancel", "check", "clone", "compare", "complete", "conversation", "copy", "disable", + "enable", "execute", "export", "extend", "finalize", "generate", "health", "infer", + "ingest", "instantiate", "login", "logout", "move", "parse", "pause", "preview", "publish", "reprocess", "reprocess-all", "reprocess-pending", + "query", "refresh", "reject", "replay", "resolve", "restore", "resume", "retry", "rollback", + "rotate-secret", "search", "setup", "share", "status", "stream", "submit", "summary", "timeline", + "toggle", "top-up", "trigger", "trust", "validate", "verify", "void", "usage", "usage-meter", "rerank", "federated", +} def routes_for_sdk_service(routes: dict, service: str) -> list[dict]: @@ -80,6 +89,54 @@ def java_identifier(value: str, fallback: str) -> str: return result +def path_parts(path: str, service: str) -> list[str]: + parts = [part for part in path.strip("/").split("/") if part] + service_root = service + if service == "ai" and parts and parts[0] == "ai": + return parts[1:] + if parts and parts[0] == service_root: + return parts[1:] + return parts + + +def resource_word(segment: str) -> str: + words = re.findall(r"[A-Za-z0-9]+", segment) + return java_identifier(" ".join(words), "resource") + + +def singularize(word: str) -> str: + if word.endswith("ies") and len(word) > 3: + return word[:-3] + "y" + if word.endswith("sses"): + return word[:-2] + if word.endswith("s") and not word.endswith(("ss", "us", "is")): + return word[:-1] + return word + + +def parameter_names(service: str, path: str, operation_params: list[str]) -> list[str]: + count = path.count("{param}") + if len(operation_params) == count and all(operation_params): + return [java_identifier(name, f"id{index + 1}") for index, name in enumerate(operation_params)] + parts = path_parts(path, service) + names = [] + service_noun = singularize(resource_word(service)) + for index, part in enumerate(parts): + if part.startswith("{"): + previous = next( + (candidate for candidate in reversed(parts[:index]) if not candidate.startswith("{")), + service_noun, + ) + noun = singularize(resource_word(previous)) + names.append((noun or "resource") + "Id") + seen: dict[str, int] = {} + result = [] + for name in names: + seen[name] = seen.get(name, 0) + 1 + result.append(name if seen[name] == 1 else f"{name}{seen[name]}") + return result + + JAVA_KEYWORDS = { "abstract", "assert", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "default", "do", "double", "else", "enum", "extends", "final", "finally", "float", @@ -103,7 +160,7 @@ def operation_metadata() -> dict[tuple[str, str, str], tuple[str, list[str]]]: if len(tags) == 1: params = [parameter.get("name", "") for parameter in operation.get("parameters", []) if parameter.get("in") == "path"] - key = (tags[0], method, normalize_path(path)) + key = (SERVICE_ALIASES.get(tags[0], tags[0]), method, normalize_path(path)) result[key] = (operation.get("operationId", ""), params) return result @@ -124,178 +181,358 @@ def append_javadoc( lines.append(" */") +def is_collection_segment(segment: str) -> bool: + lower = segment.lower() + return lower.endswith("s") and not lower.endswith(("ss", "us", "is")) + + +def resource_binding(service: str, route: dict) -> tuple[tuple[str, ...], str]: + parts = path_parts(route["path"], service) + static_parts = [part for part in parts if not part.startswith("{")] + last = parts[-1] if parts else "" + last_static = static_parts[-1] if static_parts else "" + lower = last_static.lower() + method = route["method"] + + if not parts: + operation = {"GET": "list", "POST": "create", "PUT": "update", "PATCH": "update", "DELETE": "delete"}.get(method, "request") + return (), operation + if service == "agents" and route["path"].startswith("/action-runs/"): + return ("runs",), "getByActionRunId" + if service == "ai" and route["path"].endswith("/internal/models/defaults"): + return ("internal", "models"), "defaults" + if service == "ai" and route["path"].endswith("/ai/chat/completions"): + return ("chat", "completions"), "create" + if service == "ai" and route["path"].endswith("/internal/embeddings"): + return ("internal",), "embed" + if service == "ai" and route["path"].endswith("/internal/predictions"): + suffix = {"POST": "predict", "POSTFORMDATA": "predictForm", "POSTRAW": "predictRaw"}.get(method) + return ("internal",), suffix or "predict" + + if last.startswith("{"): + node = tuple(static_parts) + operation = {"GET": "get", "DELETE": "delete", "PUT": "update", "PATCH": "update"}.get(method, "get") + return node, operation + + if lower in ACTION_SEGMENTS: + return tuple(static_parts[:-1]), resource_word(last_static) + + if is_collection_segment(last_static): + operation = {"GET": "list", "POST": "create", "PUT": "update", "PATCH": "update", "DELETE": "delete"}.get(method, "get") + return tuple(static_parts), operation + + node = tuple(static_parts[:-1]) + resource = singularize(resource_word(last_static)) + operation = {"GET": "get", "POST": "create", "PUT": "update", "PATCH": "update", "DELETE": "delete"}.get(method, "get") + return node, operation + resource[:1].upper() + resource[1:] + + +def append_regular_operation( + lines: list[str], + documentation_rows: list[tuple[str, str, str, str, str]], + call_lines: list[str], + *, + method_name: str, + method: str, + path: str, + annotation_value: str, + endpoint: str, + path_args: list[str], + params: list[str], + path_values: str, + client_chain: str, +) -> None: + is_form = method == "POSTFORMDATA" + has_body = method not in {"GET", "GETRAW", "DELETE", "HEAD", "OPTIONS"} + body_type = "byte[]" if method == "POSTRAW" else "@Nullable JsonNode" + tail = ["QueryParams query"] + if is_form: + tail.extend(["Map fields", "Map files"]) + elif has_body: + tail.append(f"{body_type} body") + if is_form: + call = f"requestForm({endpoint}, {path_values}, query, fields, files, responseType)" + elif method == "POSTRAW": + call = f"requestRaw({endpoint}, {path_values}, query, body, responseType)" + else: + call = f"request({endpoint}, {path_values}, query, {'body' if has_body else 'null'}, responseType)" + signature = ", ".join([*path_args, *tail, "Class responseType"]) + method_parameters = [*params, "query"] + if is_form: + method_parameters.extend(["fields", "files"]) + elif has_body: + method_parameters.append("body") + method_parameters.append("responseType") + append_javadoc( + lines, + f"Calls the contract route {{@code {method} {path}}}.", + method_parameters, + typed=True, + returns="the decoded response, or null when the response body is empty", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f' @SdkOperation("{annotation_value}")', + f" public @Nullable T {method_name}({signature}) throws IOException, InterruptedException {{", + f" return {call};", " }", + ]) + typed_tail = [*tail, "TypeReference responseType"] + typed_call = call.removesuffix("responseType)") + "responseType)" + append_javadoc( + lines, + f"Calls the contract route {{@code {method} {path}}} using a generic response type.", + method_parameters, + typed=True, + returns="the decoded response, or null when the response body is empty", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f" public @Nullable T {method_name}({', '.join([*path_args, *typed_tail])}) throws IOException, InterruptedException {{", + f" return {typed_call};", " }", + ]) + queryless_params = [*path_args] + queryless_values = [*params, "QueryParams.empty()"] + if is_form: + queryless_params.extend(["Map fields", "Map files"]) + queryless_values.extend(["fields", "files"]) + elif has_body: + queryless_params.append(f"{body_type} body") + queryless_values.append("body") + queryless_method_parameters = [*params] + if is_form: + queryless_method_parameters.extend(["fields", "files"]) + elif has_body: + queryless_method_parameters.append("body") + queryless_method_parameters.append("responseType") + append_javadoc( + lines, + f"Calls the contract route {{@code {method} {path}}} without query parameters.", + queryless_method_parameters, + typed=True, + returns="the decoded response, or null when the response body is empty", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f" public @Nullable T {method_name}({', '.join([*queryless_params, 'Class responseType'])}) throws IOException, InterruptedException {{", + f" return {method_name}({', '.join(queryless_values)}, responseType);", " }", + ]) + append_javadoc( + lines, + f"Calls the contract route {{@code {method} {path}}} without query parameters using a generic response type.", + queryless_method_parameters, + typed=True, + returns="the decoded response, or null when the response body is empty", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f" public @Nullable T {method_name}({', '.join([*queryless_params, 'TypeReference responseType'])}) throws IOException, InterruptedException {{", + f" return {method_name}({', '.join(queryless_values)}, responseType);", " }", "" + ]) + query_parameters = [*path_args, *tail] + queryless_parameters = queryless_params + documentation_rows.extend([ + (f"{client_chain}.{method_name}", method, path, ", ".join([*query_parameters, "Class responseType"]), "@Nullable T"), + (f"{client_chain}.{method_name}", method, path, ", ".join([*query_parameters, "TypeReference responseType"]), "@Nullable T"), + (f"{client_chain}.{method_name}", method, path, ", ".join([*queryless_parameters, "Class responseType"]), "@Nullable T"), + (f"{client_chain}.{method_name}", method, path, ", ".join([*queryless_parameters, "TypeReference responseType"]), "@Nullable T"), + ]) + call_args = [*params] + if is_form: + call_args.extend(["fields", "files"]) + elif has_body: + call_args.append("body") + call_args.append("responseType") + call_lines.append(f"client.{client_chain}.{method_name}({', '.join(call_args)});") + + def render_operation_clients(routes: dict, endpoint_names: dict, operations: dict) -> None: docs_dir = ROOT / "docs/api" docs_dir.mkdir(parents=True, exist_ok=True) index_rows = [] + method_listing: dict[str, list[str]] = {} for service, enum_value in SERVICES.items(): - service_routes = routes[service] + service_routes = routes_for_sdk_service(routes, service) base = service_type(service) class_name = f"{base}ServiceClient" if service in CUSTOM_CLIENTS else f"{base}Client" - final = "" if service in CUSTOM_CLIENTS else "final " - imports = [ - "import com.fasterxml.jackson.core.type.TypeReference;", - "import com.fasterxml.jackson.databind.JsonNode;", - "import java.io.IOException;", - "import java.util.List;", - "import org.jspecify.annotations.Nullable;", - ] - if any(route["method"] == "POSTFORMDATA" for route in service_routes): - imports.extend(["import java.nio.file.Path;", "import java.util.Map;"]) - if any(route["method"] == "STREAM" for route in service_routes): - imports.append("import java.util.concurrent.Flow;") - lines = [ - "package dev.frontal.sdk;", "", *imports, "", - f"/** Named contract operations for the {service} service. Generated by scripts/generate_endpoints.py. */", - f"public {final}class {class_name} extends ServiceClient {{", - f" {class_name}(ApiClient client) {{", f" super(ApiService.{enum_value}, client);", " }", "" - ] - used_methods: dict[str, int] = {} + bindings: dict[tuple[str, str], tuple[tuple[str, ...], str]] = {} + node_routes: dict[tuple[str, ...], list[dict]] = {(): []} + nodes: set[tuple[str, ...]] = {()} + child_names: dict[tuple[str, ...], set[str]] = {} documentation_rows = [] + call_lines = [] for route in sorted(service_routes, key=lambda item: (item["method"], item["path"])): - route_service = service - constant = endpoint_names[(route_service, route["method"], route["path"])] - metadata = operations.get((route_service, route["method"], normalize_path(route["path"])), ("", [])) - proposed = java_identifier(metadata[0], "operation") if metadata[0] else java_identifier(constant, "operation") - duplicate = used_methods.get(proposed, 0) - used_methods[proposed] = duplicate + 1 - method_name = proposed if duplicate == 0 else f"{proposed}{duplicate + 1}" - path_names = metadata[1] - path_count = route["path"].count("{param}") - if len(path_names) != path_count: - path_names = [f"pathParam{index + 1}" for index in range(path_count)] - params = [java_identifier(name, f"pathParam{index + 1}") for index, name in enumerate(path_names)] - path_args = [f"String {name}" for name in params] - path_values = f"List.of({', '.join(params)})" if params else "List.of()" - # Group names use the enum value, e.g. WEBHOOK_ENDPOINTS -> WebhookEndpoints. - group = "".join(part.title() for part in enum_value.lower().split("_")) - endpoint = f"Endpoints.{group}.{constant}" - method = route["method"] - annotation_value = f'{route_service}|{method}|{route["path"]}' - query_arg = "QueryParams query" - if method == "STREAM": - signature = ", ".join(path_args + [query_arg]) - documentation_rows.append( - (method_name, method, route["path"], ", ".join(params + ["query"]), "Flow.Publisher") - ) - documentation_rows.append( - (f"{method_name}Blocking", method, route["path"], ", ".join(params + ["query"]), "SseEventIterator") - ) - append_javadoc( - lines, - f"Opens the event stream for {{@code {method} {route['path']}}}.", - params + ["query"], - returns="a publisher that emits event data", - ) - lines.extend([ - f' @SdkOperation("{annotation_value}")', - f" public Flow.Publisher {method_name}({signature}) {{", - f" return streamPublisher({endpoint}, {path_values}, query);", " }", "" - ]) - append_javadoc( - lines, - f"Opens a blocking event stream for {{@code {method} {route['path']}}}.", - params + ["query"], - returns="an iterator that must be closed", - throws=["IOException", "InterruptedException"], - ) + binding = resource_binding(service, route) + bindings[(route["method"], route["path"])] = binding + node, _ = binding + node_routes.setdefault(node, []).append(route) + nodes.add(node) + for depth in range(1, len(node) + 1): + ancestor = node[:depth] + nodes.add(ancestor) + node_routes.setdefault(ancestor, []) + child_names.setdefault(ancestor[:-1], set()).add(ancestor[-1]) + + node_names: dict[tuple[str, ...], dict[tuple[str, str], str]] = {} + for node, grouped_routes in node_routes.items(): + counts: dict[str, int] = {} + names: dict[tuple[str, str], str] = {} + for route in grouped_routes: + name = bindings[(route["method"], route["path"])][1] + count = counts.get(name, 0) + counts[name] = count + 1 + if count: + name = f"{name}{count + 1}" + names[(route["method"], route["path"])] = name + node_names[node] = names + + def class_for(node: tuple[str, ...]) -> str: + if not node: + return class_name + suffix = "".join("".join(part.title() for part in re.findall(r"[A-Za-z0-9]+", segment)) for segment in node) + return f"{base}{suffix}Client" + + accessor = java_identifier(service, "service") + for node in sorted(nodes, key=lambda value: (len(value), value)): + current_class = class_for(node) + current_routes = node_routes.get(node, []) + imports = [ + "import com.fasterxml.jackson.core.type.TypeReference;", + "import com.fasterxml.jackson.databind.JsonNode;", + "import java.io.IOException;", + "import java.util.List;", + "import org.jspecify.annotations.Nullable;", + ] + if any(route["method"] == "POSTFORMDATA" for route in current_routes): + imports.extend(["import java.nio.file.Path;", "import java.util.Map;"]) + if any(route["method"] == "STREAM" for route in current_routes): + imports.append("import java.util.concurrent.Flow;") + final = "" if not node and service in CUSTOM_CLIENTS else "final " + lines = [ + "package dev.frontal.sdk;", "", *imports, "", + f"/** Contract operations for {service}{('/' + '/'.join(node)) if node else ''}. Generated by scripts/generate_endpoints.py. */", + f"public {final}class {current_class} extends ServiceClient {{", + f" {current_class}(ApiClient client) {{", f" super(ApiService.{enum_value}, client);", " }", "" + ] + for child in sorted(child_names.get(node, set())): + child_node = (*node, child) + method_name = java_identifier(child, "resource") + if method_name in {"client", "service", "request", "execute", "stream"}: + method_name += "Resource" lines.extend([ - f" public SseEventIterator {method_name}Blocking({signature}) throws IOException, InterruptedException {{", - f" return streamEvents({endpoint}, {path_values}, query);", " }", "" + " /** Returns the client for the nested resource.", + f" * @return the {child} resource client", + " */", + f" public {class_for(child_node)} {method_name}() {{", + f" return new {class_for(child_node)}(client());", " }", "" ]) - if method != "STREAM": - if method == "POSTFORMDATA": - tail = [query_arg, "Map fields", "Map files"] - documentation_args = params + ["query", "fields", "files"] - call = f"requestForm({endpoint}, {path_values}, query, fields, files, responseType)" + for route in sorted(current_routes, key=lambda item: (item["method"], item["path"])): + method = route["method"] + method_name = node_names[node][(method, route["path"])] + route_service = service + constant = endpoint_names[(route_service, method, route["path"])] + metadata = operations.get((route_service, method, normalize_path(route["path"])), ("", [])) + path_names = parameter_names(service, route["path"], metadata[1]) + if len(path_names) != route["path"].count("{param}"): + path_names = [f"id{index + 1}" for index in range(route["path"].count("{param}"))] + params = [java_identifier(name, f"id{index + 1}") for index, name in enumerate(path_names)] + path_args = [f"String {name}" for name in params] + path_values = f"List.of({', '.join(params)})" if params else "List.of()" + endpoint_group = "".join(part.title() for part in enum_value.lower().split("_")) + endpoint = f"Endpoints.{endpoint_group}.{constant}" + annotation_value = f'{route_service}|{method}|{route["path"]}' + query_arg = "QueryParams query" + client_chain = ".".join([f"{accessor}()", *[f"{java_identifier(part, 'resource')}()" for part in node]]) + if method == "STREAM": + signature = ", ".join(path_args + [query_arg]) + append_javadoc( + lines, + f"Opens the event stream for {{@code {method} {route['path']}}}.", + [*params, "query"], + returns="a publisher that emits event data", + ) + lines.extend([ + f' @SdkOperation("{annotation_value}")', + f" public Flow.Publisher {method_name}({signature}) {{", + f" return streamPublisher({endpoint}, {path_values}, query);", " }", + ]) + append_javadoc( + lines, + f"Opens a blocking event stream for {{@code {method} {route['path']}}}.", + [*params, "query"], + returns="an iterator that must be closed", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f" public SseEventIterator {method_name}Blocking({signature}) throws IOException, InterruptedException {{", + f" return streamEvents({endpoint}, {path_values}, query);", " }", + ]) + append_javadoc( + lines, + f"Opens the event stream for {{@code {method} {route['path']}}} with no query parameters.", + params, + returns="a publisher that emits event data", + ) + lines.extend([ + f" public Flow.Publisher {method_name}({', '.join(path_args)}) {{", + f" return {method_name}({', '.join(params + ['QueryParams.empty()'])});", " }", + ]) + append_javadoc( + lines, + f"Opens a blocking event stream for {{@code {method} {route['path']}}} with no query parameters.", + params, + returns="an iterator that must be closed", + throws=["IOException", "InterruptedException"], + ) + lines.extend([ + f" public SseEventIterator {method_name}Blocking({', '.join(path_args)}) throws IOException, InterruptedException {{", + f" return {method_name}Blocking({', '.join(params + ['QueryParams.empty()'])});", " }", "" + ]) + documentation_rows.extend([ + (f"{client_chain}.{method_name}", method, route["path"], ", ".join([*path_args, "QueryParams query"]), "Flow.Publisher"), + (f"{client_chain}.{method_name}", method, route["path"], ", ".join(path_args), "Flow.Publisher"), + (f"{client_chain}.{method_name}Blocking", method, route["path"], ", ".join([*path_args, "QueryParams query"]), "SseEventIterator"), + (f"{client_chain}.{method_name}Blocking", method, route["path"], ", ".join(path_args), "SseEventIterator"), + ]) + call_lines.extend([ + f"client.{client_chain}.{method_name}({', '.join(params)});", + f"client.{client_chain}.{method_name}Blocking({', '.join(params)});", + ]) else: - tail = [query_arg] - documentation_args = params + ["query"] - if method not in {"GET", "GETRAW", "DELETE", "HEAD", "OPTIONS"}: - body_type = "byte[]" if method == "POSTRAW" else "@Nullable JsonNode" - tail.append(f"{body_type} body") - documentation_args.append("body") - call = f"requestRaw({endpoint}, {path_values}, query, " if method == "POSTRAW" else f"request({endpoint}, {path_values}, query, " - call += "body, " if method not in {"GET", "GETRAW", "DELETE", "HEAD", "OPTIONS"} else "null, " - call += "responseType)" - common = path_args + tail - signature = ", ".join(common + ["Class responseType"]) - type_signature = f"public @Nullable T {method_name}({signature})" - method_parameters = params + ["query"] - if method == "POSTFORMDATA": - method_parameters += ["fields", "files"] - elif method not in {"GET", "GETRAW", "DELETE", "HEAD", "OPTIONS"}: - method_parameters.append("body") - method_parameters.append("responseType") - documentation_rows.append( - (method_name, method, route["path"], ", ".join(documentation_args + ["Class responseType"]), "@Nullable T") - ) - append_javadoc( - lines, - f"Calls the contract route {{@code {method} {route['path']}}}.", - method_parameters, - typed=True, - returns="the decoded response, or null when the response body is empty", - throws=["IOException", "InterruptedException"], - ) - lines.extend([ - f' @SdkOperation("{annotation_value}")', - f" {type_signature} throws IOException, InterruptedException {{", - f" return {call};", " }", "" - ]) - type_ref_signature = ", ".join(common + ["TypeReference responseType"]) - documentation_rows.append( - (method_name, method, route["path"], ", ".join(documentation_args + ["TypeReference responseType"]), "@Nullable T") - ) - type_ref_call = call.removesuffix("responseType)") + "responseType)" - append_javadoc( - lines, - f"Calls the contract route {{@code {method} {route['path']}}}.", - method_parameters, - typed=True, - returns="the decoded response, or null when the response body is empty", - throws=["IOException", "InterruptedException"], - ) - lines.extend([ - f" public @Nullable T {method_name}({type_ref_signature}) throws IOException, InterruptedException {{", - f" return {type_ref_call};", " }", "" - ]) - lines.append("}") - output = ROOT / "services/src/main/java/dev/frontal/sdk/resources" / f"{class_name}.java" - output.write_text("\n".join(lines) + "\n", encoding="utf-8") - accessor = java_identifier(service, "service") - index_rows.append((service, len(service_routes) + (len(routes["action-runs"]) if service == "agents" else 0))) + append_regular_operation( + lines, documentation_rows, call_lines, method_name=method_name, method=method, + path=route["path"], annotation_value=annotation_value, endpoint=endpoint, + path_args=path_args, params=params, path_values=path_values, client_chain=client_chain, + ) + + lines.append("}") + output = ROOT / "services/src/main/java/dev/frontal/sdk/resources" / f"{current_class}.java" + output.write_text("\n".join(lines) + "\n", encoding="utf-8") + + index_rows.append((service, len(service_routes))) doc_lines = [ f"# {base} API", "", f"Service accessor: `frontal.{accessor}()` (`{class_name}`).", "", - "Named methods are generated from the committed route catalog. Build query values with " - "`QueryParams` using exact API wire names. Routes without request schemas accept `JsonNode`; " - "select `JsonNode` or a caller-provided model for unmodeled responses.", "", + "Operations are grouped by resource path. Collection methods use `list` and `create`; item methods use `get`, `update`, and `delete`. " + "Calls can omit `QueryParams` when no query values are needed. Use contract-defined `JsonNode` bodies and caller-selected response types where schemas are not available.", "", "| Method | HTTP | Route | Parameters | Response |", "| --- | --- | --- | --- | --- |" ] - if documentation_rows: - for method_name, method, path, parameters, response in documentation_rows: - doc_lines.append( - f"| `{method_name}(...)` | `{method}` | `{path}` | `{parameters}` | `{response}` |" - ) - if service == "agents": - doc_lines.append( - "| `getActionRun(...)` | `GET` | `/action-runs/{param}` | " - "`actionRunId, query, Class or TypeReference responseType` | `@Nullable T` |" - ) - else: - doc_lines.append("| No catalogued operations | — | — | — | — |") + for method_name, method, path, parameters, response in documentation_rows: + doc_lines.append(f"| `{method_name}(...)` | `{method}` | `{path}` | `{parameters}` | `{response}` |") doc_lines.extend(["", "The generic `request(...)` methods and `Endpoints` constants remain available."]) (docs_dir / f"{service}.md").write_text("\n".join(doc_lines) + "\n", encoding="utf-8") + method_listing[service] = call_lines + + calls = [ + "# Canonical Java calls", "", + "Generated from the contract route catalog. Query parameters are optional; use `QueryParams` when required by the endpoint.", + ] + for service in sorted(method_listing): + calls.extend(["", f"## {service}", "", "```java", *method_listing[service], "```"]) + (docs_dir / "methods-as-code.md").write_text("\n".join(calls) + "\n", encoding="utf-8") index_lines = [ - "# Service API reference", - "", - "Generated from the committed route catalog for SDK service clients.", - "", - "Call-shaped listing of every method: [methods as code](./methods-as-code.md).", - "", - "| Service | Routes | Reference |", - "| --- | ---: | --- |", + "# Service API reference", "", "Generated from the committed route catalog for SDK service clients.", "", + "Call-shaped listing of every operation: [methods as code](./methods-as-code.md).", "", + "| Service | Routes | Reference |", "| --- | ---: | --- |", ] for service, route_count in sorted(index_rows): index_lines.append(f"| {service} | {route_count} | [{service}](./{service}.md) |") @@ -315,8 +552,6 @@ def render_operation_clients(routes: dict, endpoint_names: dict, operations: dic String value(); } """, encoding="utf-8") - - def constant_name(method: str, path: str) -> str: route = path.replace("{param}", "PARAM") parts = re.findall(r"[A-Za-z0-9]+", route) diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsClient.java index 23b5289..2ad2fdd 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AgentsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsClient.java @@ -1,104 +1,29 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.time.Duration; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import java.util.concurrent.Flow; import java.util.concurrent.TimeoutException; -import org.jspecify.annotations.Nullable; -/** Agent definitions, executions, conversation history, and event streaming. */ +/** Agent definitions and runs, with helpers for pagination and completion polling. */ public final class AgentsClient extends AgentsServiceClient { AgentsClient(ApiClient client) { super(client); } - public PageResult list(QueryParams query, Class itemType) throws IOException, InterruptedException { - return fetchPage(query, itemType); - } - - public @Nullable T get(String agentId, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(agentId), responseType); - } - - /** - * Retrieves an agent run by its identifier. - * @param decoded response type - * @param actionRunId identifier of the agent run - * @param query query parameters supported by the operation - * @param responseType class used to decode the response - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation is interrupted - */ - @SdkOperation("agents|GET|/action-runs/{param}") - public @Nullable T getActionRun(String actionRunId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_ACTION_RUNS_PARAM, List.of(actionRunId), query, null, responseType); - } - - /** - * Retrieves an agent run using a generic response type. - * @param decoded response type - * @param actionRunId identifier of the agent run - * @param query query parameters supported by the operation - * @param responseType type reference used to decode the response - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation is interrupted - */ - public @Nullable T getActionRun(String actionRunId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_ACTION_RUNS_PARAM, List.of(actionRunId), query, null, responseType); - } - - public @Nullable T create(JsonNode definition, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS, List.of(), QueryParams.empty(), definition, responseType); - } - - public @Nullable T update(String agentId, JsonNode update, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(agentId), QueryParams.empty(), update, responseType); - } - - public void delete(String agentId) throws IOException, InterruptedException { - requestBytes(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(agentId), QueryParams.empty(), null); - } - - public @Nullable T createRun(String agentId, JsonNode input, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(agentId), QueryParams.empty(), input, responseType); - } - - public @Nullable T run(String runId, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(runId), responseType); - } - - public @Nullable T conversation(String runId, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(runId), responseType); - } - - public @Nullable T health(Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_HEALTH, List.of(), responseType); - } - - public Flow.Publisher watch(String runId) { - return streamPublisher(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(runId), QueryParams.empty()); - } - - public SseEventIterator watchBlocking(String runId) throws IOException, InterruptedException { - return streamEvents(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(runId), QueryParams.empty()); + /** Fetches the first page of agents and exposes lazy page traversal. */ + public PageResult listPages(QueryParams query, Class itemType) throws IOException, InterruptedException { + return fetchPage(Objects.requireNonNull(query, "query"), Objects.requireNonNull(itemType, "itemType")); } + /** Waits until a run reaches a terminal status or the timeout expires. */ public JsonNode waitForCompletion(String runId, Duration interval, Duration timeout) throws IOException, InterruptedException, TimeoutException { return Poller.pollUntil( - () -> Objects.requireNonNull(run(runId, JsonNode.class), "Agent run response was empty"), + () -> Objects.requireNonNull(runs().get(runId, JsonNode.class), "Agent run response was empty"), result -> { String status = result.path("status").asText("").toLowerCase(java.util.Locale.ROOT); return List.of("completed", "succeeded", "failed", "cancelled", "rejected") @@ -108,12 +33,8 @@ public JsonNode waitForCompletion(String runId, Duration interval, Duration time timeout); } - private PageResult fetchPage(QueryParams options, Class itemType) - throws IOException, InterruptedException { - QueryParams query = Objects.requireNonNull(options, "query"); - JsonNode response = Objects.requireNonNull( - request(Endpoints.Agents.GET_AGENTS, List.of(), query, null, JsonNode.class), - "Agent list response was empty"); + private PageResult fetchPage(QueryParams query, Class itemType) throws IOException, InterruptedException { + JsonNode response = Objects.requireNonNull(list(query, JsonNode.class), "Agent list response was empty"); JsonNode items = response.isArray() ? response : response.path("data"); if (!items.isArray()) { items = response.path("agents"); diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsRunsClient.java new file mode 100644 index 0000000..73b9aae --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsRunsClient.java @@ -0,0 +1,320 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; +import java.util.concurrent.Flow; + +/** Contract operations for agents/runs. Generated by scripts/generate_endpoints.py. */ +public final class AgentsRunsClient extends ServiceClient { + AgentsRunsClient(ApiClient client) { + super(ApiService.AGENTS, client); + } + + /** + * Calls the contract route {@code GET /action-runs/{param}}. + * @param decoded response type + * @param actionRunId actionRunId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/action-runs/{param}") + public @Nullable T getByActionRunId(String actionRunId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_ACTION_RUNS_PARAM, List.of(actionRunId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /action-runs/{param}} using a generic response type. + * @param decoded response type + * @param actionRunId actionRunId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getByActionRunId(String actionRunId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_ACTION_RUNS_PARAM, List.of(actionRunId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /action-runs/{param}} without query parameters. + * @param decoded response type + * @param actionRunId actionRunId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getByActionRunId(String actionRunId, Class responseType) throws IOException, InterruptedException { + return getByActionRunId(actionRunId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /action-runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param actionRunId actionRunId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getByActionRunId(String actionRunId, TypeReference responseType) throws IOException, InterruptedException { + return getByActionRunId(actionRunId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /agents/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /agents/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /agents/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /agents/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /agents/runs/{param}/conversation}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/runs/{param}/conversation") + public @Nullable T conversation(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /agents/runs/{param}/conversation} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T conversation(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /agents/runs/{param}/conversation} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T conversation(String runId, Class responseType) throws IOException, InterruptedException { + return conversation(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /agents/runs/{param}/conversation} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T conversation(String runId, TypeReference responseType) throws IOException, InterruptedException { + return conversation(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /agents/{param}/runs}. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/{param}/runs") + public @Nullable T list(String agentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM_RUNS, List.of(agentId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /agents/{param}/runs} using a generic response type. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String agentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM_RUNS, List.of(agentId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /agents/{param}/runs} without query parameters. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String agentId, Class responseType) throws IOException, InterruptedException { + return list(agentId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /agents/{param}/runs} without query parameters using a generic response type. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String agentId, TypeReference responseType) throws IOException, InterruptedException { + return list(agentId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /agents/{param}/runs}. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|POST|/agents/{param}/runs") + public @Nullable T create(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(agentId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /agents/{param}/runs} using a generic response type. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(agentId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /agents/{param}/runs} without query parameters. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String agentId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(agentId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /agents/{param}/runs} without query parameters using a generic response type. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String agentId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(agentId, QueryParams.empty(), body, responseType); + } + + /** + * Opens the event stream for {@code STREAM /agents/runs/{param}/stream}. + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @return a publisher that emits event data + */ + @SdkOperation("agents|STREAM|/agents/runs/{param}/stream") + public Flow.Publisher stream(String runId, QueryParams query) { + return streamPublisher(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(runId), query); + } + /** + * Opens a blocking event stream for {@code STREAM /agents/runs/{param}/stream}. + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator streamBlocking(String runId, QueryParams query) throws IOException, InterruptedException { + return streamEvents(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(runId), query); + } + /** + * Opens the event stream for {@code STREAM /agents/runs/{param}/stream} with no query parameters. + * @param runId runId supplied to the operation + * @return a publisher that emits event data + */ + public Flow.Publisher stream(String runId) { + return stream(runId, QueryParams.empty()); + } + /** + * Opens a blocking event stream for {@code STREAM /agents/runs/{param}/stream} with no query parameters. + * @param runId runId supplied to the operation + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator streamBlocking(String runId) throws IOException, InterruptedException { + return streamBlocking(runId, QueryParams.empty()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java index bfd17d9..82ce0e7 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java @@ -4,19 +4,32 @@ import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; -import java.util.concurrent.Flow; import org.jspecify.annotations.Nullable; -/** Named contract operations for the agents service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for agents. Generated by scripts/generate_endpoints.py. */ public class AgentsServiceClient extends ServiceClient { AgentsServiceClient(ApiClient client) { super(ApiService.AGENTS, client); } + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public AgentsRunsClient runs() { + return new AgentsRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the versions resource client + */ + public AgentsVersionsClient versions() { + return new AgentsVersionsClient(client()); + } + /** * Calls the contract route {@code DELETE /agents/{param}}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param agentId agentId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty @@ -24,24 +37,45 @@ public class AgentsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|DELETE|/agents/{param}") - public @Nullable T deleteAgentsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T delete(String agentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(agentId), query, null, responseType); } - /** - * Calls the contract route {@code DELETE /agents/{param}}. + * Calls the contract route {@code DELETE /agents/{param}} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param agentId agentId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T deleteAgentsParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T delete(String agentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(agentId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /agents/{param}} without query parameters. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String agentId, Class responseType) throws IOException, InterruptedException { + return delete(agentId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /agents/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String agentId, TypeReference responseType) throws IOException, InterruptedException { + return delete(agentId, QueryParams.empty(), responseType); } /** @@ -54,13 +88,11 @@ public class AgentsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|GET|/agents") - public @Nullable T getAgents(QueryParams query, Class responseType) - throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /agents}. + * Calls the contract route {@code GET /agents} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param responseType responseType supplied to the operation @@ -68,109 +100,84 @@ public class AgentsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getAgents(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /agents/health}. + * Calls the contract route {@code GET /agents} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("agents|GET|/agents/health") - public @Nullable T getAgentsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_HEALTH, List.of(), query, null, responseType); + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /agents/health}. + * Calls the contract route {@code GET /agents} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getAgentsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_HEALTH, List.of(), query, null, responseType); + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /agents/runs/{param}}. + * Calls the contract route {@code GET /agents/health}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("agents|GET|/agents/runs/{param}") - public @Nullable T getAgentsRunsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(pathParam1), query, null, responseType); + @SdkOperation("agents|GET|/agents/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_HEALTH, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /agents/runs/{param}}. + * Calls the contract route {@code GET /agents/health} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getAgentsRunsParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_HEALTH, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /agents/runs/{param}/conversation}. + * Calls the contract route {@code GET /agents/health} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("agents|GET|/agents/runs/{param}/conversation") - public @Nullable T getAgentsRunsParamConversation(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(pathParam1), query, null, responseType); + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /agents/runs/{param}/conversation}. + * Calls the contract route {@code GET /agents/health} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getAgentsRunsParamConversation( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(pathParam1), query, null, responseType); + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); } /** * Calls the contract route {@code GET /agents/{param}}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param agentId agentId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty @@ -178,123 +185,103 @@ public class AgentsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|GET|/agents/{param}") - public @Nullable T getAgentsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String agentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(agentId), query, null, responseType); } - /** - * Calls the contract route {@code GET /agents/{param}}. + * Calls the contract route {@code GET /agents/{param}} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param agentId agentId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getAgentsParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String agentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(agentId), query, null, responseType); } - /** - * Calls the contract route {@code GET /agents/{param}/runs}. + * Calls the contract route {@code GET /agents/{param}} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param agentId agentId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("agents|GET|/agents/{param}/runs") - public @Nullable T getAgentsParamRuns(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_PARAM_RUNS, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String agentId, Class responseType) throws IOException, InterruptedException { + return get(agentId, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /agents/{param}/runs}. + * Calls the contract route {@code GET /agents/{param}} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param agentId agentId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getAgentsParamRuns(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_PARAM_RUNS, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String agentId, TypeReference responseType) throws IOException, InterruptedException { + return get(agentId, QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /agents/{param}/versions}. + * Calls the contract route {@code POST /agents}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation + * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("agents|GET|/agents/{param}/versions") - public @Nullable T getAgentsParamVersions(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_PARAM_VERSIONS, List.of(pathParam1), query, null, responseType); + @SdkOperation("agents|POST|/agents") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code GET /agents/{param}/versions}. + * Calls the contract route {@code POST /agents} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation + * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getAgentsParamVersions(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.GET_AGENTS_PARAM_VERSIONS, List.of(pathParam1), query, null, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /agents}. + * Calls the contract route {@code POST /agents} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("agents|POST|/agents") - public @Nullable T postAgents(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS, List.of(), query, body, responseType); + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /agents}. + * Calls the contract route {@code POST /agents} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAgents(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS, List.of(), query, body, responseType); + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); } /** * Calls the contract route {@code POST /agents/{param}/rollback}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param agentId agentId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -303,16 +290,13 @@ public class AgentsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|POST|/agents/{param}/rollback") - public @Nullable T postAgentsParamRollback( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS_PARAM_ROLLBACK, List.of(pathParam1), query, body, responseType); + public @Nullable T rollback(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS_PARAM_ROLLBACK, List.of(agentId), query, body, responseType); } - /** - * Calls the contract route {@code POST /agents/{param}/rollback}. + * Calls the contract route {@code POST /agents/{param}/rollback} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param agentId agentId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -320,51 +304,40 @@ public class AgentsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAgentsParamRollback( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS_PARAM_ROLLBACK, List.of(pathParam1), query, body, responseType); + public @Nullable T rollback(String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.POST_AGENTS_PARAM_ROLLBACK, List.of(agentId), query, body, responseType); } - /** - * Calls the contract route {@code POST /agents/{param}/runs}. + * Calls the contract route {@code POST /agents/{param}/rollback} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param agentId agentId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("agents|POST|/agents/{param}/runs") - public @Nullable T postAgentsParamRuns( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(pathParam1), query, body, responseType); + public @Nullable T rollback(String agentId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return rollback(agentId, QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /agents/{param}/runs}. + * Calls the contract route {@code POST /agents/{param}/rollback} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param agentId agentId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAgentsParamRuns( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(pathParam1), query, body, responseType); + public @Nullable T rollback(String agentId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return rollback(agentId, QueryParams.empty(), body, responseType); } /** * Calls the contract route {@code PUT /agents/{param}}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param agentId agentId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -373,16 +346,13 @@ public class AgentsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|PUT|/agents/{param}") - public @Nullable T putAgentsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(pathParam1), query, body, responseType); + public @Nullable T update(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(agentId), query, body, responseType); } - /** - * Calls the contract route {@code PUT /agents/{param}}. + * Calls the contract route {@code PUT /agents/{param}} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param agentId agentId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -390,33 +360,34 @@ public class AgentsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T putAgentsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(pathParam1), query, body, responseType); + public @Nullable T update(String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(agentId), query, body, responseType); } - /** - * Opens the event stream for {@code STREAM /agents/runs/{param}/stream}. - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @return a publisher that emits event data + * Calls the contract route {@code PUT /agents/{param}} without query parameters. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails */ - @SdkOperation("agents|STREAM|/agents/runs/{param}/stream") - public Flow.Publisher streamAgentsRunsParamStream(String pathParam1, QueryParams query) { - return streamPublisher(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(pathParam1), query); + public @Nullable T update(String agentId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(agentId, QueryParams.empty(), body, responseType); } - /** - * Opens a blocking event stream for {@code STREAM /agents/runs/{param}/stream}. - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @return an iterator that must be closed + * Calls the contract route {@code PUT /agents/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public SseEventIterator streamAgentsRunsParamStreamBlocking(String pathParam1, QueryParams query) - throws IOException, InterruptedException { - return streamEvents(Endpoints.Agents.STREAM_AGENTS_RUNS_PARAM_STREAM, List.of(pathParam1), query); + public @Nullable T update(String agentId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(agentId, QueryParams.empty(), body, responseType); } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsVersionsClient.java new file mode 100644 index 0000000..f4b9ceb --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsVersionsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for agents/versions. Generated by scripts/generate_endpoints.py. */ +public final class AgentsVersionsClient extends ServiceClient { + AgentsVersionsClient(ApiClient client) { + super(ApiService.AGENTS, client); + } + + /** + * Calls the contract route {@code GET /agents/{param}/versions}. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("agents|GET|/agents/{param}/versions") + public @Nullable T list(String agentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM_VERSIONS, List.of(agentId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /agents/{param}/versions} using a generic response type. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String agentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Agents.GET_AGENTS_PARAM_VERSIONS, List.of(agentId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /agents/{param}/versions} without query parameters. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String agentId, Class responseType) throws IOException, InterruptedException { + return list(agentId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /agents/{param}/versions} without query parameters using a generic response type. + * @param decoded response type + * @param agentId agentId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String agentId, TypeReference responseType) throws IOException, InterruptedException { + return list(agentId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiChatClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiChatClient.java new file mode 100644 index 0000000..875f928 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AiChatClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ai/chat. Generated by scripts/generate_endpoints.py. */ +public final class AiChatClient extends ServiceClient { + AiChatClient(ApiClient client) { + super(ApiService.AI, client); + } + + /** Returns the client for the nested resource. + * @return the completions resource client + */ + public AiChatCompletionsClient completions() { + return new AiChatCompletionsClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiChatCompletionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiChatCompletionsClient.java new file mode 100644 index 0000000..eb20cb1 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AiChatCompletionsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ai/chat/completions. Generated by scripts/generate_endpoints.py. */ +public final class AiChatCompletionsClient extends ServiceClient { + AiChatCompletionsClient(ApiClient client) { + super(ApiService.AI, client); + } + + /** + * Calls the contract route {@code POST /ai/chat/completions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POST|/ai/chat/completions") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ai/chat/completions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ai/chat/completions} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ai/chat/completions} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiClient.java index 50c914c..335b05a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AiClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AiClient.java @@ -1,68 +1,21 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import java.io.IOException; -import java.nio.file.Path; -import java.util.List; -import java.util.Map; import org.jspecify.annotations.Nullable; -/** Frontal AI gateway operations backed by the AI OpenAPI snapshot. */ +/** AI gateway operations, with a convenience method for a basic text prompt. */ public final class AiClient extends AiServiceClient { AiClient(ApiClient client) { super(client); } - public @Nullable T health(Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_HEALTH, List.of(), QueryParams.empty(), null, responseType); - } - - public @Nullable T listModels(Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), QueryParams.empty(), null, responseType); - } - - public @Nullable T modelDefaults(Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), QueryParams.empty(), null, responseType); - } - - public @Nullable T chatCompletion(JsonNode input, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), QueryParams.empty(), input, responseType); - } - + /** Sends a user prompt to a chat completion model. */ public @Nullable T generateText(String model, String prompt, Class responseType) throws IOException, InterruptedException { ObjectNode body = client().objectMapper().createObjectNode(); body.put("model", model); body.putArray("messages").addObject().put("role", "user").put("content", prompt); - return chatCompletion(body, responseType); - } - - public @Nullable T embeddings(JsonNode input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), QueryParams.empty(), input, responseType); - } - - public @Nullable T predict(JsonNode input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), QueryParams.empty(), input, responseType); - } - - public @Nullable T rerank(JsonNode input, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), QueryParams.empty(), input, responseType); - } - - public @Nullable T predictForm(Map fields, Map files, Class responseType) - throws IOException, InterruptedException { - return requestForm( - Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, - List.of(), - QueryParams.empty(), - fields, - files, - responseType); - } - - public byte[] predictRaw(byte[] input) throws IOException, InterruptedException { - return requestRawBytes(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), QueryParams.empty(), input); + return chat().completions().create(body, responseType); } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiInternalClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiInternalClient.java new file mode 100644 index 0000000..db88d97 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AiInternalClient.java @@ -0,0 +1,288 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; +import java.nio.file.Path; +import java.util.Map; + +/** Contract operations for ai/internal. Generated by scripts/generate_endpoints.py. */ +public final class AiInternalClient extends ServiceClient { + AiInternalClient(ApiClient client) { + super(ApiService.AI, client); + } + + /** Returns the client for the nested resource. + * @return the models resource client + */ + public AiInternalModelsClient models() { + return new AiInternalModelsClient(client()); + } + + /** + * Calls the contract route {@code POST /internal/embeddings}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POST|/internal/embeddings") + public @Nullable T embed(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /internal/embeddings} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T embed(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /internal/embeddings} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T embed(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return embed(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /internal/embeddings} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T embed(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return embed(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POST|/internal/predictions") + public @Nullable T predict(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /internal/predictions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predict(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /internal/predictions} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predict(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return predict(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /internal/predictions} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predict(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return predict(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /internal/rerank}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POST|/internal/rerank") + public @Nullable T rerank(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /internal/rerank} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rerank(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /internal/rerank} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rerank(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return rerank(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /internal/rerank} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rerank(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return rerank(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POSTFORMDATA /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POSTFORMDATA|/internal/predictions") + public @Nullable T predictForm(QueryParams query, Map fields, Map files, Class responseType) throws IOException, InterruptedException { + return requestForm(Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); + } + /** + * Calls the contract route {@code POSTFORMDATA /internal/predictions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predictForm(QueryParams query, Map fields, Map files, TypeReference responseType) throws IOException, InterruptedException { + return requestForm(Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); + } + /** + * Calls the contract route {@code POSTFORMDATA /internal/predictions} without query parameters. + * @param decoded response type + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predictForm(Map fields, Map files, Class responseType) throws IOException, InterruptedException { + return predictForm(QueryParams.empty(), fields, files, responseType); + } + /** + * Calls the contract route {@code POSTFORMDATA /internal/predictions} without query parameters using a generic response type. + * @param decoded response type + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predictForm(Map fields, Map files, TypeReference responseType) throws IOException, InterruptedException { + return predictForm(QueryParams.empty(), fields, files, responseType); + } + + /** + * Calls the contract route {@code POSTRAW /internal/predictions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|POSTRAW|/internal/predictions") + public @Nullable T predictRaw(QueryParams query, byte[] body, Class responseType) throws IOException, InterruptedException { + return requestRaw(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POSTRAW /internal/predictions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predictRaw(QueryParams query, byte[] body, TypeReference responseType) throws IOException, InterruptedException { + return requestRaw(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POSTRAW /internal/predictions} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predictRaw(byte[] body, Class responseType) throws IOException, InterruptedException { + return predictRaw(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POSTRAW /internal/predictions} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T predictRaw(byte[] body, TypeReference responseType) throws IOException, InterruptedException { + return predictRaw(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiInternalModelsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiInternalModelsClient.java new file mode 100644 index 0000000..38f787d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AiInternalModelsClient.java @@ -0,0 +1,111 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ai/internal/models. Generated by scripts/generate_endpoints.py. */ +public final class AiInternalModelsClient extends ServiceClient { + AiInternalModelsClient(ApiClient client) { + super(ApiService.AI, client); + } + + /** + * Calls the contract route {@code GET /internal/models}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|GET|/internal/models") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /internal/models} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /internal/models} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /internal/models} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /internal/models/defaults}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ai|GET|/internal/models/defaults") + public @Nullable T defaults(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /internal/models/defaults} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T defaults(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /internal/models/defaults} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T defaults(Class responseType) throws IOException, InterruptedException { + return defaults(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /internal/models/defaults} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T defaults(TypeReference responseType) throws IOException, InterruptedException { + return defaults(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java index 60a8ab9..3952992 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java @@ -3,296 +3,75 @@ import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; -import java.nio.file.Path; import java.util.List; -import java.util.Map; import org.jspecify.annotations.Nullable; -/** Named contract operations for the ai service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for ai. Generated by scripts/generate_endpoints.py. */ public class AiServiceClient extends ServiceClient { AiServiceClient(ApiClient client) { super(ApiService.AI, client); } - /** - * Calls the contract route {@code GET /health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ai|GET|/health") - public @Nullable T getHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /internal/models}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ai|GET|/internal/models") - public @Nullable T getInternalModels(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /internal/models}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the chat resource client */ - public @Nullable T getInternalModels(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), query, null, responseType); + public AiChatClient chat() { + return new AiChatClient(client()); } - /** - * Calls the contract route {@code GET /internal/models/defaults}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the internal resource client */ - @SdkOperation("ai|GET|/internal/models/defaults") - public @Nullable T getInternalModelsDefaults(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), query, null, responseType); + public AiInternalClient internal() { + return new AiInternalClient(client()); } /** - * Calls the contract route {@code GET /internal/models/defaults}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getInternalModelsDefaults(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /ai/chat/completions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ai|POST|/ai/chat/completions") - public @Nullable T postAiChatCompletions(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ai/chat/completions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postAiChatCompletions( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /internal/embeddings}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ai|POST|/internal/embeddings") - public @Nullable T postInternalEmbeddings(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /internal/embeddings}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postInternalEmbeddings( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /internal/predictions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ai|POST|/internal/predictions") - public @Nullable T postInternalPredictions(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /internal/predictions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postInternalPredictions( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /internal/rerank}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ai|POST|/internal/rerank") - public @Nullable T postInternalRerank(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /internal/rerank}. + * Calls the contract route {@code GET /health}. * @param decoded response type * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postInternalRerank(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), query, body, responseType); + @SdkOperation("ai|GET|/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_HEALTH, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code POSTFORMDATA /internal/predictions}. + * Calls the contract route {@code GET /health} using a generic response type. * @param decoded response type * @param query query supplied to the operation - * @param fields fields supplied to the operation - * @param files files supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("ai|POSTFORMDATA|/internal/predictions") - public @Nullable T postformdataInternalPredictions( - QueryParams query, Map fields, Map files, Class responseType) - throws IOException, InterruptedException { - return requestForm( - Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ai.GET_HEALTH, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code POSTFORMDATA /internal/predictions}. + * Calls the contract route {@code GET /health} without query parameters. * @param decoded response type - * @param query query supplied to the operation - * @param fields fields supplied to the operation - * @param files files supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postformdataInternalPredictions( - QueryParams query, Map fields, Map files, TypeReference responseType) - throws IOException, InterruptedException { - return requestForm( - Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code POSTRAW /internal/predictions}. + * Calls the contract route {@code GET /health} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("ai|POSTRAW|/internal/predictions") - public @Nullable T postrawInternalPredictions(QueryParams query, byte[] body, Class responseType) - throws IOException, InterruptedException { - return requestRaw(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code POSTRAW /internal/predictions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postrawInternalPredictions(QueryParams query, byte[] body, TypeReference responseType) - throws IOException, InterruptedException { - return requestRaw(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java index 585ec8e..cbec918 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java @@ -6,132 +6,17 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the audit service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for audit. Generated by scripts/generate_endpoints.py. */ public final class AuditClient extends ServiceClient { AuditClient(ApiClient client) { super(ApiService.AUDIT, client); } - /** - * Calls the contract route {@code GET /audit/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the events resource client */ - @SdkOperation("audit|GET|/audit/events") - public @Nullable T getAuditEvents(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Audit.GET_AUDIT_EVENTS, List.of(), query, null, responseType); + public AuditEventsClient events() { + return new AuditEventsClient(client()); } - /** - * Calls the contract route {@code GET /audit/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuditEvents(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Audit.GET_AUDIT_EVENTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /audit/events/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("audit|GET|/audit/events/{param}") - public @Nullable T getAuditEventsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Audit.GET_AUDIT_EVENTS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /audit/events/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuditEventsParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Audit.GET_AUDIT_EVENTS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /audit/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("audit|POST|/audit/events") - public @Nullable T postAuditEvents(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Audit.POST_AUDIT_EVENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /audit/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postAuditEvents(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Audit.POST_AUDIT_EVENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /audit/events/batch}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("audit|POST|/audit/events/batch") - public @Nullable T postAuditEventsBatch(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Audit.POST_AUDIT_EVENTS_BATCH, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /audit/events/batch}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postAuditEventsBatch( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Audit.POST_AUDIT_EVENTS_BATCH, List.of(), query, body, responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuditEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuditEventsClient.java new file mode 100644 index 0000000..56991b7 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuditEventsClient.java @@ -0,0 +1,219 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for audit/events. Generated by scripts/generate_endpoints.py. */ +public final class AuditEventsClient extends ServiceClient { + AuditEventsClient(ApiClient client) { + super(ApiService.AUDIT, client); + } + + /** + * Calls the contract route {@code GET /audit/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("audit|GET|/audit/events") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Audit.GET_AUDIT_EVENTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /audit/events} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Audit.GET_AUDIT_EVENTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /audit/events} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /audit/events} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /audit/events/{param}}. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("audit|GET|/audit/events/{param}") + public @Nullable T get(String eventId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Audit.GET_AUDIT_EVENTS_PARAM, List.of(eventId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /audit/events/{param}} using a generic response type. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String eventId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Audit.GET_AUDIT_EVENTS_PARAM, List.of(eventId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /audit/events/{param}} without query parameters. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String eventId, Class responseType) throws IOException, InterruptedException { + return get(eventId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /audit/events/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String eventId, TypeReference responseType) throws IOException, InterruptedException { + return get(eventId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /audit/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("audit|POST|/audit/events") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Audit.POST_AUDIT_EVENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /audit/events} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Audit.POST_AUDIT_EVENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /audit/events} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /audit/events} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /audit/events/batch}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("audit|POST|/audit/events/batch") + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Audit.POST_AUDIT_EVENTS_BATCH, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /audit/events/batch} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Audit.POST_AUDIT_EVENTS_BATCH, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /audit/events/batch} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T batch(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return batch(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /audit/events/batch} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return batch(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountClient.java new file mode 100644 index 0000000..528baf0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountClient.java @@ -0,0 +1,384 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/account. Generated by scripts/generate_endpoints.py. */ +public final class AuthAccountClient extends ServiceClient { + AuthAccountClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** Returns the client for the nested resource. + * @return the mfa resource client + */ + public AuthAccountMfaClient mfa() { + return new AuthAccountMfaClient(client()); + } + + /** Returns the client for the nested resource. + * @return the security resource client + */ + public AuthAccountSecurityClient security() { + return new AuthAccountSecurityClient(client()); + } + + /** Returns the client for the nested resource. + * @return the sessions resource client + */ + public AuthAccountSessionsClient sessions() { + return new AuthAccountSessionsClient(client()); + } + + /** + * Calls the contract route {@code DELETE /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/profile") + public @Nullable T deleteProfile(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/profile} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteProfile(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/profile} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteProfile(Class responseType) throws IOException, InterruptedException { + return deleteProfile(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/profile} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T deleteProfile(TypeReference responseType) throws IOException, InterruptedException { + return deleteProfile(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/audit-log}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/audit-log") + public @Nullable T getAuditLog(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_AUDIT_LOG, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/audit-log} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuditLog(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_AUDIT_LOG, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/audit-log} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuditLog(Class responseType) throws IOException, InterruptedException { + return getAuditLog(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/audit-log} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getAuditLog(TypeReference responseType) throws IOException, InterruptedException { + return getAuditLog(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/mfa}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/mfa") + public @Nullable T getMfa(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/mfa} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getMfa(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/mfa} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getMfa(Class responseType) throws IOException, InterruptedException { + return getMfa(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/mfa} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getMfa(TypeReference responseType) throws IOException, InterruptedException { + return getMfa(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/profile") + public @Nullable T getProfile(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/profile} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getProfile(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/profile} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getProfile(Class responseType) throws IOException, InterruptedException { + return getProfile(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/profile} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getProfile(TypeReference responseType) throws IOException, InterruptedException { + return getProfile(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/mfa") + public @Nullable T createMfa(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createMfa(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createMfa(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createMfa(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createMfa(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createMfa(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/password}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/password") + public @Nullable T createPassword(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_PASSWORD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/password} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPassword(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_PASSWORD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/password} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPassword(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createPassword(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/password} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPassword(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createPassword(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/account/profile}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|PUT|/auth/account/profile") + public @Nullable T updateProfile(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_PROFILE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/account/profile} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T updateProfile(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_PROFILE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/account/profile} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T updateProfile(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return updateProfile(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/account/profile} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T updateProfile(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return updateProfile(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountMfaClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountMfaClient.java new file mode 100644 index 0000000..7bd7a5f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountMfaClient.java @@ -0,0 +1,231 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/account/mfa. Generated by scripts/generate_endpoints.py. */ +public final class AuthAccountMfaClient extends ServiceClient { + AuthAccountMfaClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code DELETE /auth/account/mfa/{param}}. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/mfa/{param}") + public @Nullable T delete(String mfaId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_MFA_PARAM, List.of(mfaId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/mfa/{param}} using a generic response type. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String mfaId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_MFA_PARAM, List.of(mfaId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/mfa/{param}} without query parameters. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String mfaId, Class responseType) throws IOException, InterruptedException { + return delete(mfaId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/mfa/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String mfaId, TypeReference responseType) throws IOException, InterruptedException { + return delete(mfaId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/mfa/{param}}. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/mfa/{param}") + public @Nullable T get(String mfaId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA_PARAM, List.of(mfaId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/mfa/{param}} using a generic response type. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String mfaId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA_PARAM, List.of(mfaId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/mfa/{param}} without query parameters. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String mfaId, Class responseType) throws IOException, InterruptedException { + return get(mfaId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/mfa/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String mfaId, TypeReference responseType) throws IOException, InterruptedException { + return get(mfaId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/challenge}. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/mfa/{param}/challenge") + public @Nullable T createChallenge(String mfaId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE, List.of(mfaId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/challenge} using a generic response type. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createChallenge(String mfaId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE, List.of(mfaId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/challenge} without query parameters. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createChallenge(String mfaId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createChallenge(mfaId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/challenge} without query parameters using a generic response type. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createChallenge(String mfaId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createChallenge(mfaId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/verify}. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/mfa/{param}/verify") + public @Nullable T verify(String mfaId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY, List.of(mfaId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/verify} using a generic response type. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(String mfaId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY, List.of(mfaId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/verify} without query parameters. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(String mfaId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return verify(mfaId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/mfa/{param}/verify} without query parameters using a generic response type. + * @param decoded response type + * @param mfaId mfaId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(String mfaId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return verify(mfaId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityApiKeysClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityApiKeysClient.java new file mode 100644 index 0000000..3e6a639 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityApiKeysClient.java @@ -0,0 +1,275 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/account/security/api-keys. Generated by scripts/generate_endpoints.py. */ +public final class AuthAccountSecurityApiKeysClient extends ServiceClient { + AuthAccountSecurityApiKeysClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/security/api-keys/{param}") + public @Nullable T delete(String apiKeyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}} using a generic response type. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String apiKeyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}} without query parameters. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String apiKeyId, Class responseType) throws IOException, InterruptedException { + return delete(apiKeyId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String apiKeyId, TypeReference responseType) throws IOException, InterruptedException { + return delete(apiKeyId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/api-keys}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/security/api-keys") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/api-keys} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/api-keys} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/api-keys} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/security/api-keys/{param}") + public @Nullable T get(String apiKeyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/api-keys/{param}} using a generic response type. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String apiKeyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/api-keys/{param}} without query parameters. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String apiKeyId, Class responseType) throws IOException, InterruptedException { + return get(apiKeyId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/api-keys/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String apiKeyId, TypeReference responseType) throws IOException, InterruptedException { + return get(apiKeyId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/api-keys}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/security/api-keys") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/api-keys} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/api-keys} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/api-keys} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}}. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|PUT|/auth/account/security/api-keys/{param}") + public @Nullable T update(String apiKeyId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}} using a generic response type. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String apiKeyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}} without query parameters. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String apiKeyId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(apiKeyId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param apiKeyId apiKeyId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String apiKeyId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(apiKeyId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityClient.java new file mode 100644 index 0000000..3b44df6 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityClient.java @@ -0,0 +1,29 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/account/security. Generated by scripts/generate_endpoints.py. */ +public final class AuthAccountSecurityClient extends ServiceClient { + AuthAccountSecurityClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** Returns the client for the nested resource. + * @return the api-keys resource client + */ + public AuthAccountSecurityApiKeysClient apiKeys() { + return new AuthAccountSecurityApiKeysClient(client()); + } + + /** Returns the client for the nested resource. + * @return the devices resource client + */ + public AuthAccountSecurityDevicesClient devices() { + return new AuthAccountSecurityDevicesClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityDevicesClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityDevicesClient.java new file mode 100644 index 0000000..7634c19 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityDevicesClient.java @@ -0,0 +1,275 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/account/security/devices. Generated by scripts/generate_endpoints.py. */ +public final class AuthAccountSecurityDevicesClient extends ServiceClient { + AuthAccountSecurityDevicesClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code DELETE /auth/account/security/devices/{param}}. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/security/devices/{param}") + public @Nullable T delete(String deviceId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/security/devices/{param}} using a generic response type. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String deviceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/security/devices/{param}} without query parameters. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String deviceId, Class responseType) throws IOException, InterruptedException { + return delete(deviceId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/security/devices/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String deviceId, TypeReference responseType) throws IOException, InterruptedException { + return delete(deviceId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/devices}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/security/devices") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/devices} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/devices} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/devices} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/security/devices/{param}}. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/security/devices/{param}") + public @Nullable T get(String deviceId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/devices/{param}} using a generic response type. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String deviceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/devices/{param}} without query parameters. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String deviceId, Class responseType) throws IOException, InterruptedException { + return get(deviceId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/security/devices/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String deviceId, TypeReference responseType) throws IOException, InterruptedException { + return get(deviceId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/devices}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/security/devices") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/devices} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/devices} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/devices} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust}. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/security/devices/{param}/trust") + public @Nullable T trust(String deviceId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, List.of(deviceId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust} using a generic response type. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T trust(String deviceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, List.of(deviceId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust} without query parameters. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T trust(String deviceId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return trust(deviceId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust} without query parameters using a generic response type. + * @param decoded response type + * @param deviceId deviceId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T trust(String deviceId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return trust(deviceId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSessionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSessionsClient.java new file mode 100644 index 0000000..15e491b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSessionsClient.java @@ -0,0 +1,171 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/account/sessions. Generated by scripts/generate_endpoints.py. */ +public final class AuthAccountSessionsClient extends ServiceClient { + AuthAccountSessionsClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code DELETE /auth/account/sessions/{param}}. + * @param decoded response type + * @param sessionId sessionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/account/sessions/{param}") + public @Nullable T delete(String sessionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(sessionId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/sessions/{param}} using a generic response type. + * @param decoded response type + * @param sessionId sessionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String sessionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(sessionId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/sessions/{param}} without query parameters. + * @param decoded response type + * @param sessionId sessionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String sessionId, Class responseType) throws IOException, InterruptedException { + return delete(sessionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/account/sessions/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param sessionId sessionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String sessionId, TypeReference responseType) throws IOException, InterruptedException { + return delete(sessionId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/account/sessions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/account/sessions") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SESSIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/sessions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SESSIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/account/sessions} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/account/sessions} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/account/sessions/{param}/extend}. + * @param decoded response type + * @param sessionId sessionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/account/sessions/{param}/extend") + public @Nullable T extend(String sessionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(sessionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/sessions/{param}/extend} using a generic response type. + * @param decoded response type + * @param sessionId sessionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T extend(String sessionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(sessionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/sessions/{param}/extend} without query parameters. + * @param decoded response type + * @param sessionId sessionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T extend(String sessionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return extend(sessionId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/account/sessions/{param}/extend} without query parameters using a generic response type. + * @param decoded response type + * @param sessionId sessionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T extend(String sessionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return extend(sessionId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminClient.java new file mode 100644 index 0000000..2b88156 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminClient.java @@ -0,0 +1,126 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/admin. Generated by scripts/generate_endpoints.py. */ +public final class AuthAdminClient extends ServiceClient { + AuthAdminClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** Returns the client for the nested resource. + * @return the users resource client + */ + public AuthAdminUsersClient users() { + return new AuthAdminUsersClient(client()); + } + + /** + * Calls the contract route {@code POST /auth/admin/generate_link}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/admin/generate_link") + public @Nullable T createGenerateLink(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_GENERATE_LINK, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/generate_link} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createGenerateLink(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_GENERATE_LINK, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/generate_link} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createGenerateLink(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createGenerateLink(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/generate_link} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createGenerateLink(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createGenerateLink(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/admin/logout}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/admin/logout") + public @Nullable T logout(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_LOGOUT, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/logout} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T logout(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_LOGOUT, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/logout} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T logout(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return logout(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/logout} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T logout(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return logout(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersClient.java new file mode 100644 index 0000000..9b36500 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersClient.java @@ -0,0 +1,282 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/admin/users. Generated by scripts/generate_endpoints.py. */ +public final class AuthAdminUsersClient extends ServiceClient { + AuthAdminUsersClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** Returns the client for the nested resource. + * @return the factors resource client + */ + public AuthAdminUsersFactorsClient factors() { + return new AuthAdminUsersFactorsClient(client()); + } + + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}}. + * @param decoded response type + * @param userId userId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/admin/users/{param}") + public @Nullable T delete(String userId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}} using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String userId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}} without query parameters. + * @param decoded response type + * @param userId userId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String userId, Class responseType) throws IOException, InterruptedException { + return delete(userId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String userId, TypeReference responseType) throws IOException, InterruptedException { + return delete(userId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/admin/users") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users/{param}}. + * @param decoded response type + * @param userId userId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/admin/users/{param}") + public @Nullable T get(String userId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users/{param}} using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String userId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users/{param}} without query parameters. + * @param decoded response type + * @param userId userId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String userId, Class responseType) throws IOException, InterruptedException { + return get(userId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String userId, TypeReference responseType) throws IOException, InterruptedException { + return get(userId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/admin/users}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/admin/users") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_USERS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/users} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_ADMIN_USERS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/users} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/admin/users} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /auth/admin/users/{param}}. + * @param decoded response type + * @param userId userId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|PUT|/auth/admin/users/{param}") + public @Nullable T update(String userId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/admin/users/{param}} using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String userId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/admin/users/{param}} without query parameters. + * @param decoded response type + * @param userId userId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String userId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(userId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /auth/admin/users/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String userId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(userId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersFactorsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersFactorsClient.java new file mode 100644 index 0000000..8ecd709 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersFactorsClient.java @@ -0,0 +1,123 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/admin/users/factors. Generated by scripts/generate_endpoints.py. */ +public final class AuthAdminUsersFactorsClient extends ServiceClient { + AuthAdminUsersFactorsClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}}. + * @param decoded response type + * @param userId userId supplied to the operation + * @param factorId factorId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/admin/users/{param}/factors/{param}") + public @Nullable T delete(String userId, String factorId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, List.of(userId, factorId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}} using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param factorId factorId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String userId, String factorId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, List.of(userId, factorId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}} without query parameters. + * @param decoded response type + * @param userId userId supplied to the operation + * @param factorId factorId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String userId, String factorId, Class responseType) throws IOException, InterruptedException { + return delete(userId, factorId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param factorId factorId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String userId, String factorId, TypeReference responseType) throws IOException, InterruptedException { + return delete(userId, factorId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/admin/users/{param}/factors}. + * @param decoded response type + * @param userId userId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/admin/users/{param}/factors") + public @Nullable T list(String userId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM_FACTORS, List.of(userId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users/{param}/factors} using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String userId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM_FACTORS, List.of(userId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users/{param}/factors} without query parameters. + * @param decoded response type + * @param userId userId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String userId, Class responseType) throws IOException, InterruptedException { + return list(userId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/admin/users/{param}/factors} without query parameters using a generic response type. + * @param decoded response type + * @param userId userId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String userId, TypeReference responseType) throws IOException, InterruptedException { + return list(userId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAuthClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAuthClient.java new file mode 100644 index 0000000..e8fe024 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAuthClient.java @@ -0,0 +1,115 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/auth. Generated by scripts/generate_endpoints.py. */ +public final class AuthAuthClient extends ServiceClient { + AuthAuthClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code GET /auth/auth/session}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/auth/session") + public @Nullable T getSession(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_AUTH_SESSION, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/auth/session} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getSession(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_AUTH_SESSION, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/auth/session} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getSession(Class responseType) throws IOException, InterruptedException { + return getSession(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/auth/session} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getSession(TypeReference responseType) throws IOException, InterruptedException { + return getSession(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/auth/session}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/auth/session") + public @Nullable T createSession(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_AUTH_SESSION, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/auth/session} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createSession(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_AUTH_SESSION, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/auth/session} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createSession(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createSession(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/auth/session} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createSession(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createSession(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java index 710deeb..7743f9b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java @@ -6,1140 +6,104 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the auth service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for auth. Generated by scripts/generate_endpoints.py. */ public final class AuthClient extends ServiceClient { AuthClient(ApiClient client) { super(ApiService.AUTH, client); } - /** - * Calls the contract route {@code DELETE /auth/account/mfa/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/account/mfa/{param}") - public @Nullable T deleteAuthAccountMfaParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_MFA_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/mfa/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthAccountMfaParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_MFA_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/profile}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/account/profile") - public @Nullable T deleteAuthAccountProfile(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/profile}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthAccountProfile(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/account/security/api-keys/{param}") - public @Nullable T deleteAuthAccountSecurityApiKeysParam( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthAccountSecurityApiKeysParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/security/devices/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/account/security/devices/{param}") - public @Nullable T deleteAuthAccountSecurityDevicesParam( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/security/devices/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthAccountSecurityDevicesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/sessions/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/account/sessions/{param}") - public @Nullable T deleteAuthAccountSessionsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/account/sessions/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthAccountSessionsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/admin/users/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/admin/users/{param}") - public @Nullable T deleteAuthAdminUsersParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/admin/users/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthAdminUsersParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/admin/users/{param}/factors/{param}") - public @Nullable T deleteAuthAdminUsersParamFactorsParam( - String pathParam1, String pathParam2, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, - List.of(pathParam1, pathParam2), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthAdminUsersParamFactorsParam( - String pathParam1, String pathParam2, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, - List.of(pathParam1, pathParam2), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/factors/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/factors/{param}") - public @Nullable T deleteAuthFactorsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_FACTORS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/factors/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthFactorsParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_FACTORS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/user/identities/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|DELETE|/auth/user/identities/{param}") - public @Nullable T deleteAuthUserIdentitiesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /auth/user/identities/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteAuthUserIdentitiesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/audit-log}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/audit-log") - public @Nullable T getAuthAccountAuditLog(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_AUDIT_LOG, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/audit-log}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountAuditLog(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_AUDIT_LOG, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/mfa}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/mfa") - public @Nullable T getAuthAccountMfa(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/mfa}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountMfa(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/mfa/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/mfa/{param}") - public @Nullable T getAuthAccountMfaParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/mfa/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountMfaParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/profile}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/profile") - public @Nullable T getAuthAccountProfile(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/profile}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountProfile(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/security/api-keys}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/security/api-keys") - public @Nullable T getAuthAccountSecurityApiKeys(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/security/api-keys}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountSecurityApiKeys(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/security/api-keys/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/security/api-keys/{param}") - public @Nullable T getAuthAccountSecurityApiKeysParam( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/security/api-keys/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountSecurityApiKeysParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/security/devices}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/security/devices") - public @Nullable T getAuthAccountSecurityDevices(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/security/devices}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountSecurityDevices(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/security/devices/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/security/devices/{param}") - public @Nullable T getAuthAccountSecurityDevicesParam( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/security/devices/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountSecurityDevicesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/sessions}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/account/sessions") - public @Nullable T getAuthAccountSessions(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SESSIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/account/sessions}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAccountSessions(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SESSIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/admin/users}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/admin/users") - public @Nullable T getAuthAdminUsers(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/admin/users}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAdminUsers(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/admin/users/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/admin/users/{param}") - public @Nullable T getAuthAdminUsersParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/admin/users/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAdminUsersParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/admin/users/{param}/factors}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/admin/users/{param}/factors") - public @Nullable T getAuthAdminUsersParamFactors(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM_FACTORS, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/admin/users/{param}/factors}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAdminUsersParamFactors( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM_FACTORS, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/auth/session}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/auth/session") - public @Nullable T getAuthAuthSession(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_AUTH_SESSION, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/auth/session}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthAuthSession(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_AUTH_SESSION, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/factors}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/factors") - public @Nullable T getAuthFactors(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_FACTORS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/factors}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthFactors(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_FACTORS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/mfa/status}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/mfa/status") - public @Nullable T getAuthMfaStatus(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_MFA_STATUS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/mfa/status}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthMfaStatus(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_MFA_STATUS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/user}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/user") - public @Nullable T getAuthUser(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_USER, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/user}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthUser(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_USER, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/user/identities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|GET|/auth/user/identities") - public @Nullable T getAuthUserIdentities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_USER_IDENTITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /auth/user/identities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getAuthUserIdentities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_USER_IDENTITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /auth/account/mfa}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|POST|/auth/account/mfa") - public @Nullable T postAuthAccountMfa(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /auth/account/mfa}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postAuthAccountMfa(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /auth/account/mfa/{param}/challenge}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|POST|/auth/account/mfa/{param}/challenge") - public @Nullable T postAuthAccountMfaParamChallenge( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /auth/account/mfa/{param}/challenge}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postAuthAccountMfaParamChallenge( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /auth/account/mfa/{param}/verify}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("auth|POST|/auth/account/mfa/{param}/verify") - public @Nullable T postAuthAccountMfaParamVerify( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /auth/account/mfa/{param}/verify}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postAuthAccountMfaParamVerify( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /auth/account/password}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the account resource client */ - @SdkOperation("auth|POST|/auth/account/password") - public @Nullable T postAuthAccountPassword(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_PASSWORD, List.of(), query, body, responseType); + public AuthAccountClient account() { + return new AuthAccountClient(client()); } - /** - * Calls the contract route {@code POST /auth/account/password}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the admin resource client */ - public @Nullable T postAuthAccountPassword( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_PASSWORD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /auth/account/security/api-keys}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + public AuthAdminClient admin() { + return new AuthAdminClient(client()); + } + + /** Returns the client for the nested resource. + * @return the auth resource client */ - @SdkOperation("auth|POST|/auth/account/security/api-keys") - public @Nullable T postAuthAccountSecurityApiKeys( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, body, responseType); + public AuthAuthClient auth() { + return new AuthAuthClient(client()); } - /** - * Calls the contract route {@code POST /auth/account/security/api-keys}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the factors resource client */ - public @Nullable T postAuthAccountSecurityApiKeys( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, body, responseType); + public AuthFactorsClient factors() { + return new AuthFactorsClient(client()); } - /** - * Calls the contract route {@code POST /auth/account/security/devices}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the mfa resource client */ - @SdkOperation("auth|POST|/auth/account/security/devices") - public @Nullable T postAuthAccountSecurityDevices( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, body, responseType); + public AuthMfaClient mfa() { + return new AuthMfaClient(client()); } - /** - * Calls the contract route {@code POST /auth/account/security/devices}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the user resource client */ - public @Nullable T postAuthAccountSecurityDevices( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, body, responseType); + public AuthUserClient user() { + return new AuthUserClient(client()); } /** - * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust}. + * Calls the contract route {@code GET /auth/user}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/account/security/devices/{param}/trust") - public @Nullable T postAuthAccountSecurityDevicesParamTrust( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, - List.of(pathParam1), - query, - body, - responseType); + @SdkOperation("auth|GET|/auth/user") + public @Nullable T getUser(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_USER, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust}. + * Calls the contract route {@code GET /auth/user} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthAccountSecurityDevicesParamTrust( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T getUser(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_USER, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code POST /auth/account/sessions/{param}/extend}. + * Calls the contract route {@code GET /auth/user} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/account/sessions/{param}/extend") - public @Nullable T postAuthAccountSessionsParamExtend( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(pathParam1), query, body, responseType); + public @Nullable T getUser(Class responseType) throws IOException, InterruptedException { + return getUser(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code POST /auth/account/sessions/{param}/extend}. + * Calls the contract route {@code GET /auth/user} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthAccountSessionsParamExtend( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(pathParam1), query, body, responseType); + public @Nullable T getUser(TypeReference responseType) throws IOException, InterruptedException { + return getUser(QueryParams.empty(), responseType); } /** - * Calls the contract route {@code POST /auth/admin/generate_link}. + * Calls the contract route {@code POST /auth/authorize}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1148,14 +112,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/admin/generate_link") - public @Nullable T postAuthAdminGenerateLink(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ADMIN_GENERATE_LINK, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/authorize") + public @Nullable T createAuthorize(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_AUTHORIZE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/admin/generate_link}. + * Calls the contract route {@code POST /auth/authorize} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1164,46 +126,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthAdminGenerateLink( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ADMIN_GENERATE_LINK, List.of(), query, body, responseType); + public @Nullable T createAuthorize(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_AUTHORIZE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/admin/logout}. + * Calls the contract route {@code POST /auth/authorize} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/admin/logout") - public @Nullable T postAuthAdminLogout(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ADMIN_LOGOUT, List.of(), query, body, responseType); + public @Nullable T createAuthorize(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createAuthorize(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/admin/logout}. + * Calls the contract route {@code POST /auth/authorize} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthAdminLogout( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ADMIN_LOGOUT, List.of(), query, body, responseType); + public @Nullable T createAuthorize(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createAuthorize(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/admin/users}. + * Calls the contract route {@code POST /auth/invite}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1212,14 +164,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/admin/users") - public @Nullable T postAuthAdminUsers(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ADMIN_USERS, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/invite") + public @Nullable T createInvite(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_INVITE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/admin/users}. + * Calls the contract route {@code POST /auth/invite} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1228,45 +178,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthAdminUsers(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ADMIN_USERS, List.of(), query, body, responseType); + public @Nullable T createInvite(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_INVITE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/auth/session}. + * Calls the contract route {@code POST /auth/invite} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/auth/session") - public @Nullable T postAuthAuthSession(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_AUTH_SESSION, List.of(), query, body, responseType); + public @Nullable T createInvite(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createInvite(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/auth/session}. + * Calls the contract route {@code POST /auth/invite} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthAuthSession( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_AUTH_SESSION, List.of(), query, body, responseType); + public @Nullable T createInvite(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createInvite(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/authorize}. + * Calls the contract route {@code POST /auth/login}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1275,14 +216,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/authorize") - public @Nullable T postAuthAuthorize(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_AUTHORIZE, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/login") + public @Nullable T login(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_LOGIN, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/authorize}. + * Calls the contract route {@code POST /auth/login} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1291,46 +230,37 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthAuthorize(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_AUTHORIZE, List.of(), query, body, responseType); + public @Nullable T login(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_LOGIN, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/factors}. + * Calls the contract route {@code POST /auth/login} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/factors") - public @Nullable T postAuthFactors(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_FACTORS, List.of(), query, body, responseType); + public @Nullable T login(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return login(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/factors}. + * Calls the contract route {@code POST /auth/login} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthFactors(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_FACTORS, List.of(), query, body, responseType); + public @Nullable T login(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return login(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/factors/{param}/challenge}. + * Calls the contract route {@code POST /auth/logout}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -1338,18 +268,13 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/factors/{param}/challenge") - public @Nullable T postAuthFactorsParamChallenge( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_FACTORS_PARAM_CHALLENGE, List.of(pathParam1), query, body, responseType); + @SdkOperation("auth|POST|/auth/logout") + public @Nullable T logout(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_LOGOUT, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/factors/{param}/challenge}. + * Calls the contract route {@code POST /auth/logout} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -1357,50 +282,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthFactorsParamChallenge( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.POST_AUTH_FACTORS_PARAM_CHALLENGE, List.of(pathParam1), query, body, responseType); + public @Nullable T logout(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_LOGOUT, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/factors/{param}/verify}. + * Calls the contract route {@code POST /auth/logout} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/factors/{param}/verify") - public @Nullable T postAuthFactorsParamVerify( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_VERIFY, List.of(pathParam1), query, body, responseType); + public @Nullable T logout(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return logout(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/factors/{param}/verify}. + * Calls the contract route {@code POST /auth/logout} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthFactorsParamVerify( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_VERIFY, List.of(pathParam1), query, body, responseType); + public @Nullable T logout(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return logout(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/invite}. + * Calls the contract route {@code POST /auth/otp}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1409,14 +320,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/invite") - public @Nullable T postAuthInvite(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_INVITE, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/otp") + public @Nullable T createOtp(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_OTP, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/invite}. + * Calls the contract route {@code POST /auth/otp} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1425,44 +334,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthInvite(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_INVITE, List.of(), query, body, responseType); + public @Nullable T createOtp(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_OTP, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/login}. + * Calls the contract route {@code POST /auth/otp} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/login") - public @Nullable T postAuthLogin(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_LOGIN, List.of(), query, body, responseType); + public @Nullable T createOtp(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createOtp(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/login}. + * Calls the contract route {@code POST /auth/otp} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthLogin(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_LOGIN, List.of(), query, body, responseType); + public @Nullable T createOtp(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createOtp(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/logout}. + * Calls the contract route {@code POST /auth/reauthenticate}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1471,14 +372,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/logout") - public @Nullable T postAuthLogout(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_LOGOUT, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/reauthenticate") + public @Nullable T createReauthenticate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_REAUTHENTICATE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/logout}. + * Calls the contract route {@code POST /auth/reauthenticate} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1487,46 +386,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthLogout(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_LOGOUT, List.of(), query, body, responseType); + public @Nullable T createReauthenticate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_REAUTHENTICATE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/mfa/backup-codes/regenerate}. + * Calls the contract route {@code POST /auth/reauthenticate} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/mfa/backup-codes/regenerate") - public @Nullable T postAuthMfaBackupCodesRegenerate( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_BACKUP_CODES_REGENERATE, List.of(), query, body, responseType); + public @Nullable T createReauthenticate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createReauthenticate(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/mfa/backup-codes/regenerate}. + * Calls the contract route {@code POST /auth/reauthenticate} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthMfaBackupCodesRegenerate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_BACKUP_CODES_REGENERATE, List.of(), query, body, responseType); + public @Nullable T createReauthenticate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createReauthenticate(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/mfa/disable}. + * Calls the contract route {@code POST /auth/recover}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1535,14 +424,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/mfa/disable") - public @Nullable T postAuthMfaDisable(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_DISABLE, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/recover") + public @Nullable T createRecover(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_RECOVER, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/mfa/disable}. + * Calls the contract route {@code POST /auth/recover} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1551,44 +438,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthMfaDisable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_DISABLE, List.of(), query, body, responseType); + public @Nullable T createRecover(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_RECOVER, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/mfa/enable}. + * Calls the contract route {@code POST /auth/recover} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/mfa/enable") - public @Nullable T postAuthMfaEnable(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_ENABLE, List.of(), query, body, responseType); + public @Nullable T createRecover(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createRecover(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/mfa/enable}. + * Calls the contract route {@code POST /auth/recover} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthMfaEnable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_ENABLE, List.of(), query, body, responseType); + public @Nullable T createRecover(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createRecover(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/mfa/setup}. + * Calls the contract route {@code POST /auth/resend}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1597,14 +476,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/mfa/setup") - public @Nullable T postAuthMfaSetup(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_SETUP, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/resend") + public @Nullable T createResend(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_RESEND, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/mfa/setup}. + * Calls the contract route {@code POST /auth/resend} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1613,44 +490,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthMfaSetup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_SETUP, List.of(), query, body, responseType); + public @Nullable T createResend(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_RESEND, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/mfa/verify}. + * Calls the contract route {@code POST /auth/resend} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/mfa/verify") - public @Nullable T postAuthMfaVerify(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_VERIFY, List.of(), query, body, responseType); + public @Nullable T createResend(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createResend(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/mfa/verify}. + * Calls the contract route {@code POST /auth/resend} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthMfaVerify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_MFA_VERIFY, List.of(), query, body, responseType); + public @Nullable T createResend(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createResend(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/otp}. + * Calls the contract route {@code POST /auth/signup}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1659,14 +528,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/otp") - public @Nullable T postAuthOtp(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_OTP, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/signup") + public @Nullable T createSignup(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_SIGNUP, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/otp}. + * Calls the contract route {@code POST /auth/signup} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1675,45 +542,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthOtp(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_OTP, List.of(), query, body, responseType); + public @Nullable T createSignup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_SIGNUP, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/reauthenticate}. + * Calls the contract route {@code POST /auth/signup} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/reauthenticate") - public @Nullable T postAuthReauthenticate(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_REAUTHENTICATE, List.of(), query, body, responseType); + public @Nullable T createSignup(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createSignup(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/reauthenticate}. + * Calls the contract route {@code POST /auth/signup} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthReauthenticate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_REAUTHENTICATE, List.of(), query, body, responseType); + public @Nullable T createSignup(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createSignup(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/recover}. + * Calls the contract route {@code POST /auth/sso}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1722,14 +580,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/recover") - public @Nullable T postAuthRecover(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_RECOVER, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/sso") + public @Nullable T createSso(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_SSO, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/recover}. + * Calls the contract route {@code POST /auth/sso} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1738,44 +594,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthRecover(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_RECOVER, List.of(), query, body, responseType); + public @Nullable T createSso(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_SSO, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/resend}. + * Calls the contract route {@code POST /auth/sso} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/resend") - public @Nullable T postAuthResend(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_RESEND, List.of(), query, body, responseType); + public @Nullable T createSso(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createSso(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/resend}. + * Calls the contract route {@code POST /auth/sso} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthResend(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_RESEND, List.of(), query, body, responseType); + public @Nullable T createSso(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createSso(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/signup}. + * Calls the contract route {@code POST /auth/token?grant_type=id_token}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1784,14 +632,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/signup") - public @Nullable T postAuthSignup(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_SIGNUP, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/token?grant_type=id_token") + public @Nullable T createTokenGrantTypeIdToken(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/signup}. + * Calls the contract route {@code POST /auth/token?grant_type=id_token} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1800,44 +646,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthSignup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_SIGNUP, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypeIdToken(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/sso}. + * Calls the contract route {@code POST /auth/token?grant_type=id_token} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/sso") - public @Nullable T postAuthSso(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_SSO, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypeIdToken(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createTokenGrantTypeIdToken(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/sso}. + * Calls the contract route {@code POST /auth/token?grant_type=id_token} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthSso(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_SSO, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypeIdToken(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createTokenGrantTypeIdToken(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/token?grant_type=id_token}. + * Calls the contract route {@code POST /auth/token?grant_type=password}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1846,15 +684,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/token?grant_type=id_token") - public @Nullable T postAuthTokenGrantTypeIdToken( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/token?grant_type=password") + public @Nullable T createTokenGrantTypePassword(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/token?grant_type=id_token}. + * Calls the contract route {@code POST /auth/token?grant_type=password} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1863,43 +698,32 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthTokenGrantTypeIdToken( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypePassword(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/token?grant_type=password}. + * Calls the contract route {@code POST /auth/token?grant_type=password} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/token?grant_type=password") - public @Nullable T postAuthTokenGrantTypePassword( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypePassword(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createTokenGrantTypePassword(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/token?grant_type=password}. + * Calls the contract route {@code POST /auth/token?grant_type=password} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthTokenGrantTypePassword( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypePassword(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createTokenGrantTypePassword(QueryParams.empty(), body, responseType); } /** @@ -1913,13 +737,11 @@ public final class AuthClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/token?grant_type=pkce") - public @Nullable T postAuthTokenGrantTypePkce(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePkce(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PKCE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/token?grant_type=pkce}. + * Calls the contract route {@code POST /auth/token?grant_type=pkce} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1928,47 +750,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthTokenGrantTypePkce( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePkce(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PKCE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/token?grant_type=refresh_token}. + * Calls the contract route {@code POST /auth/token?grant_type=pkce} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/token?grant_type=refresh_token") - public @Nullable T postAuthTokenGrantTypeRefreshToken( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypePkce(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createTokenGrantTypePkce(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/token?grant_type=refresh_token}. + * Calls the contract route {@code POST /auth/token?grant_type=pkce} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthTokenGrantTypeRefreshToken( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypePkce(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createTokenGrantTypePkce(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /auth/user/identities}. + * Calls the contract route {@code POST /auth/token?grant_type=refresh_token}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1977,14 +788,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/user/identities") - public @Nullable T postAuthUserIdentities(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_USER_IDENTITIES, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/token?grant_type=refresh_token") + public @Nullable T createTokenGrantTypeRefreshToken(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/user/identities}. + * Calls the contract route {@code POST /auth/token?grant_type=refresh_token} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -1993,45 +802,36 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthUserIdentities( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_USER_IDENTITIES, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypeRefreshToken(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /auth/verify}. + * Calls the contract route {@code POST /auth/token?grant_type=refresh_token} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|POST|/auth/verify") - public @Nullable T postAuthVerify(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_VERIFY, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypeRefreshToken(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createTokenGrantTypeRefreshToken(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /auth/verify}. + * Calls the contract route {@code POST /auth/token?grant_type=refresh_token} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postAuthVerify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_VERIFY, List.of(), query, body, responseType); + public @Nullable T createTokenGrantTypeRefreshToken(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createTokenGrantTypeRefreshToken(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code PUT /auth/account/profile}. + * Calls the contract route {@code POST /auth/verify}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -2040,14 +840,12 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|PUT|/auth/account/profile") - public @Nullable T putAuthAccountProfile(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_PROFILE, List.of(), query, body, responseType); + @SdkOperation("auth|POST|/auth/verify") + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_VERIFY, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code PUT /auth/account/profile}. + * Calls the contract route {@code POST /auth/verify} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -2056,61 +854,37 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T putAuthAccountProfile( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_PROFILE, List.of(), query, body, responseType); + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_VERIFY, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}}. + * Calls the contract route {@code POST /auth/verify} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|PUT|/auth/account/security/api-keys/{param}") - public @Nullable T putAuthAccountSecurityApiKeysParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T verify(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return verify(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}}. + * Calls the contract route {@code POST /auth/verify} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T putAuthAccountSecurityApiKeysParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return verify(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code PUT /auth/admin/users/{param}}. + * Calls the contract route {@code PUT /auth/user}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -2118,17 +892,13 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|PUT|/auth/admin/users/{param}") - public @Nullable T putAuthAdminUsersParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.PUT_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, body, responseType); + @SdkOperation("auth|PUT|/auth/user") + public @Nullable T updateUser(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_USER, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code PUT /auth/admin/users/{param}}. + * Calls the contract route {@code PUT /auth/user} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -2136,40 +906,32 @@ public final class AuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T putAuthAdminUsersParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.PUT_AUTH_ADMIN_USERS_PARAM, List.of(pathParam1), query, body, responseType); + public @Nullable T updateUser(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.PUT_AUTH_USER, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code PUT /auth/user}. + * Calls the contract route {@code PUT /auth/user} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("auth|PUT|/auth/user") - public @Nullable T putAuthUser(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.PUT_AUTH_USER, List.of(), query, body, responseType); + public @Nullable T updateUser(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return updateUser(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code PUT /auth/user}. + * Calls the contract route {@code PUT /auth/user} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T putAuthUser(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Auth.PUT_AUTH_USER, List.of(), query, body, responseType); + public @Nullable T updateUser(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return updateUser(QueryParams.empty(), body, responseType); } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthFactorsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthFactorsClient.java new file mode 100644 index 0000000..96d6649 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthFactorsClient.java @@ -0,0 +1,279 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/factors. Generated by scripts/generate_endpoints.py. */ +public final class AuthFactorsClient extends ServiceClient { + AuthFactorsClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code DELETE /auth/factors/{param}}. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/factors/{param}") + public @Nullable T delete(String factorId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_FACTORS_PARAM, List.of(factorId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/factors/{param}} using a generic response type. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String factorId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_FACTORS_PARAM, List.of(factorId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/factors/{param}} without query parameters. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String factorId, Class responseType) throws IOException, InterruptedException { + return delete(factorId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/factors/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String factorId, TypeReference responseType) throws IOException, InterruptedException { + return delete(factorId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/factors}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/factors") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_FACTORS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/factors} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_FACTORS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/factors} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/factors} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/factors") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors/{param}/challenge}. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/factors/{param}/challenge") + public @Nullable T createChallenge(String factorId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_CHALLENGE, List.of(factorId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors/{param}/challenge} using a generic response type. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createChallenge(String factorId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_CHALLENGE, List.of(factorId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors/{param}/challenge} without query parameters. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createChallenge(String factorId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createChallenge(factorId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors/{param}/challenge} without query parameters using a generic response type. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createChallenge(String factorId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createChallenge(factorId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/factors/{param}/verify}. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/factors/{param}/verify") + public @Nullable T verify(String factorId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_VERIFY, List.of(factorId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors/{param}/verify} using a generic response type. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(String factorId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_VERIFY, List.of(factorId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors/{param}/verify} without query parameters. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(String factorId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return verify(factorId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/factors/{param}/verify} without query parameters using a generic response type. + * @param decoded response type + * @param factorId factorId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(String factorId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return verify(factorId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthMfaBackupCodesClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthMfaBackupCodesClient.java new file mode 100644 index 0000000..ac75c6e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthMfaBackupCodesClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/mfa/backup-codes. Generated by scripts/generate_endpoints.py. */ +public final class AuthMfaBackupCodesClient extends ServiceClient { + AuthMfaBackupCodesClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code POST /auth/mfa/backup-codes/regenerate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/backup-codes/regenerate") + public @Nullable T createRegenerate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_BACKUP_CODES_REGENERATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/backup-codes/regenerate} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createRegenerate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_BACKUP_CODES_REGENERATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/backup-codes/regenerate} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createRegenerate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createRegenerate(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/backup-codes/regenerate} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createRegenerate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createRegenerate(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthMfaClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthMfaClient.java new file mode 100644 index 0000000..6549462 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthMfaClient.java @@ -0,0 +1,278 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/mfa. Generated by scripts/generate_endpoints.py. */ +public final class AuthMfaClient extends ServiceClient { + AuthMfaClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** Returns the client for the nested resource. + * @return the backup-codes resource client + */ + public AuthMfaBackupCodesClient backupCodes() { + return new AuthMfaBackupCodesClient(client()); + } + + /** + * Calls the contract route {@code GET /auth/mfa/status}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/mfa/status") + public @Nullable T status(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_MFA_STATUS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/mfa/status} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T status(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_MFA_STATUS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/mfa/status} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T status(Class responseType) throws IOException, InterruptedException { + return status(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/mfa/status} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T status(TypeReference responseType) throws IOException, InterruptedException { + return status(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/disable}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/disable") + public @Nullable T disable(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_DISABLE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/disable} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_DISABLE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/disable} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return disable(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/disable} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return disable(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/enable}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/enable") + public @Nullable T enable(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_ENABLE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/enable} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T enable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_ENABLE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/enable} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T enable(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return enable(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/enable} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T enable(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return enable(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/setup}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/setup") + public @Nullable T setup(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_SETUP, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/setup} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T setup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_SETUP, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/setup} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T setup(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return setup(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/setup} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T setup(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return setup(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /auth/mfa/verify}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/mfa/verify") + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_VERIFY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/verify} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_MFA_VERIFY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/verify} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return verify(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/mfa/verify} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return verify(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthUserClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthUserClient.java new file mode 100644 index 0000000..39a91e2 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthUserClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/user. Generated by scripts/generate_endpoints.py. */ +public final class AuthUserClient extends ServiceClient { + AuthUserClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** Returns the client for the nested resource. + * @return the identities resource client + */ + public AuthUserIdentitiesClient identities() { + return new AuthUserIdentitiesClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthUserIdentitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthUserIdentitiesClient.java new file mode 100644 index 0000000..fd0947c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthUserIdentitiesClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for auth/user/identities. Generated by scripts/generate_endpoints.py. */ +public final class AuthUserIdentitiesClient extends ServiceClient { + AuthUserIdentitiesClient(ApiClient client) { + super(ApiService.AUTH, client); + } + + /** + * Calls the contract route {@code DELETE /auth/user/identities/{param}}. + * @param decoded response type + * @param identityId identityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|DELETE|/auth/user/identities/{param}") + public @Nullable T delete(String identityId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(identityId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/user/identities/{param}} using a generic response type. + * @param decoded response type + * @param identityId identityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String identityId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(identityId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /auth/user/identities/{param}} without query parameters. + * @param decoded response type + * @param identityId identityId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String identityId, Class responseType) throws IOException, InterruptedException { + return delete(identityId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /auth/user/identities/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param identityId identityId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String identityId, TypeReference responseType) throws IOException, InterruptedException { + return delete(identityId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /auth/user/identities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|GET|/auth/user/identities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_USER_IDENTITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/user/identities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.GET_AUTH_USER_IDENTITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /auth/user/identities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /auth/user/identities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /auth/user/identities}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("auth|POST|/auth/user/identities") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_USER_IDENTITIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/user/identities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Auth.POST_AUTH_USER_IDENTITIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /auth/user/identities} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /auth/user/identities} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsClient.java new file mode 100644 index 0000000..60bdaeb --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/addons. Generated by scripts/generate_endpoints.py. */ +public final class BillingAddonsClient extends ServiceClient { + BillingAddonsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** Returns the client for the nested resource. + * @return the entitlements resource client + */ + public BillingAddonsEntitlementsClient entitlements() { + return new BillingAddonsEntitlementsClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsEntitlementsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsEntitlementsClient.java new file mode 100644 index 0000000..cdca069 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsEntitlementsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/addons/entitlements. Generated by scripts/generate_endpoints.py. */ +public final class BillingAddonsEntitlementsClient extends ServiceClient { + BillingAddonsEntitlementsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/addons/{param}/entitlements}. + * @param decoded response type + * @param addonId addonId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/addons/{param}/entitlements") + public @Nullable T list(String addonId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, List.of(addonId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/addons/{param}/entitlements} using a generic response type. + * @param decoded response type + * @param addonId addonId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String addonId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, List.of(addonId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/addons/{param}/entitlements} without query parameters. + * @param decoded response type + * @param addonId addonId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String addonId, Class responseType) throws IOException, InterruptedException { + return list(addonId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/addons/{param}/entitlements} without query parameters using a generic response type. + * @param decoded response type + * @param addonId addonId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String addonId, TypeReference responseType) throws IOException, InterruptedException { + return list(addonId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java index 651b571..3eb8452 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java @@ -6,899 +6,66 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the billing service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for billing. Generated by scripts/generate_endpoints.py. */ public final class BillingClient extends ServiceClient { BillingClient(ApiClient client) { super(ApiService.BILLING, client); } - /** - * Calls the contract route {@code GET /billing/addons/{param}/entitlements}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the addons resource client */ - @SdkOperation("billing|GET|/billing/addons/{param}/entitlements") - public @Nullable T getBillingAddonsParamEntitlements( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, - List.of(pathParam1), - query, - null, - responseType); + public BillingAddonsClient addons() { + return new BillingAddonsClient(client()); } - /** - * Calls the contract route {@code GET /billing/addons/{param}/entitlements}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the customers resource client */ - public @Nullable T getBillingAddonsParamEntitlements( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, - List.of(pathParam1), - query, - null, - responseType); + public BillingCustomersClient customers() { + return new BillingCustomersClient(client()); } - /** - * Calls the contract route {@code GET /billing/customers/portal/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the invoices resource client */ - @SdkOperation("billing|GET|/billing/customers/portal/{param}") - public @Nullable T getBillingCustomersPortalParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(pathParam1), query, null, responseType); + public BillingInvoicesClient invoices() { + return new BillingInvoicesClient(client()); } - /** - * Calls the contract route {@code GET /billing/customers/portal/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the meters resource client */ - public @Nullable T getBillingCustomersPortalParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(pathParam1), query, null, responseType); + public BillingMetersClient meters() { + return new BillingMetersClient(client()); } - /** - * Calls the contract route {@code GET /billing/customers/{param}/entitlements}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the plans resource client */ - @SdkOperation("billing|GET|/billing/customers/{param}/entitlements") - public @Nullable T getBillingCustomersParamEntitlements( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, - List.of(pathParam1), - query, - null, - responseType); + public BillingPlansClient plans() { + return new BillingPlansClient(client()); } - /** - * Calls the contract route {@code GET /billing/customers/{param}/entitlements}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the prices resource client */ - public @Nullable T getBillingCustomersParamEntitlements( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, - List.of(pathParam1), - query, - null, - responseType); + public BillingPricesClient prices() { + return new BillingPricesClient(client()); } - /** - * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the subscriptions resource client */ - @SdkOperation("billing|GET|/billing/customers/{param}/invoices/summary") - public @Nullable T getBillingCustomersParamInvoicesSummary( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, - List.of(pathParam1), - query, - null, - responseType); + public BillingSubscriptionsClient subscriptions() { + return new BillingSubscriptionsClient(client()); } - /** - * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the wallets resource client */ - public @Nullable T getBillingCustomersParamInvoicesSummary( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, - List.of(pathParam1), - query, - null, - responseType); + public BillingWalletsClient wallets() { + return new BillingWalletsClient(client()); } - /** - * Calls the contract route {@code GET /billing/customers/{param}/usage}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|GET|/billing/customers/{param}/usage") - public @Nullable T getBillingCustomersParamUsage(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /billing/customers/{param}/usage}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBillingCustomersParamUsage( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /billing/customers/{param}/wallets}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|GET|/billing/customers/{param}/wallets") - public @Nullable T getBillingCustomersParamWallets(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /billing/customers/{param}/wallets}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBillingCustomersParamWallets( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /billing/plans/{param}/entitlements}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|GET|/billing/plans/{param}/entitlements") - public @Nullable T getBillingPlansParamEntitlements(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /billing/plans/{param}/entitlements}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBillingPlansParamEntitlements( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /billing/prices/lookup/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|GET|/billing/prices/lookup/{param}") - public @Nullable T getBillingPricesLookupParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_PRICES_LOOKUP_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /billing/prices/lookup/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBillingPricesLookupParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_PRICES_LOOKUP_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|GET|/billing/subscriptions/{param}/entitlements") - public @Nullable T getBillingSubscriptionsParamEntitlements( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBillingSubscriptionsParamEntitlements( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|GET|/billing/wallets/{param}/balance/real-time") - public @Nullable T getBillingWalletsParamBalanceRealTime( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBillingWalletsParamBalanceRealTime( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /billing/wallets/{param}/transactions}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|GET|/billing/wallets/{param}/transactions") - public @Nullable T getBillingWalletsParamTransactions( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /billing/wallets/{param}/transactions}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBillingWalletsParamTransactions( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|GETRAW|/billing/invoices/{param}/pdf") - public @Nullable T getrawBillingInvoicesParamPdf(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getrawBillingInvoicesParamPdf( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /billing/invoices/preview}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/invoices/preview") - public @Nullable T postBillingInvoicesPreview(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_INVOICES_PREVIEW, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/invoices/preview}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingInvoicesPreview( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_INVOICES_PREVIEW, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/invoices/{param}/finalize}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/invoices/{param}/finalize") - public @Nullable T postBillingInvoicesParamFinalize( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/invoices/{param}/finalize}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingInvoicesParamFinalize( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/invoices/{param}/void}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/invoices/{param}/void") - public @Nullable T postBillingInvoicesParamVoid( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/invoices/{param}/void}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingInvoicesParamVoid( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/meters/{param}/disable}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/meters/{param}/disable") - public @Nullable T postBillingMetersParamDisable( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/meters/{param}/disable}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingMetersParamDisable( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/plans/{param}/clone}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/plans/{param}/clone") - public @Nullable T postBillingPlansParamClone( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_PLANS_PARAM_CLONE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/plans/{param}/clone}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingPlansParamClone( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_PLANS_PARAM_CLONE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/subscriptions/{param}/activate}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/subscriptions/{param}/activate") - public @Nullable T postBillingSubscriptionsParamActivate( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /billing/subscriptions/{param}/activate}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingSubscriptionsParamActivate( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/subscriptions/{param}/cancel") - public @Nullable T postBillingSubscriptionsParamCancel( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingSubscriptionsParamCancel( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /billing/subscriptions/{param}/pause}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/subscriptions/{param}/pause") - public @Nullable T postBillingSubscriptionsParamPause( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /billing/subscriptions/{param}/pause}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingSubscriptionsParamPause( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /billing/subscriptions/{param}/resume}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/subscriptions/{param}/resume") - public @Nullable T postBillingSubscriptionsParamResume( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /billing/subscriptions/{param}/resume}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingSubscriptionsParamResume( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /billing/wallets/{param}/terminate}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/wallets/{param}/terminate") - public @Nullable T postBillingWalletsParamTerminate( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/wallets/{param}/terminate}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingWalletsParamTerminate( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/wallets/{param}/top-up}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("billing|POST|/billing/wallets/{param}/top-up") - public @Nullable T postBillingWalletsParamTopUp( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /billing/wallets/{param}/top-up}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBillingWalletsParamTopUp( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(pathParam1), query, body, responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersClient.java new file mode 100644 index 0000000..7270db1 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersClient.java @@ -0,0 +1,95 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/customers. Generated by scripts/generate_endpoints.py. */ +public final class BillingCustomersClient extends ServiceClient { + BillingCustomersClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** Returns the client for the nested resource. + * @return the entitlements resource client + */ + public BillingCustomersEntitlementsClient entitlements() { + return new BillingCustomersEntitlementsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the invoices resource client + */ + public BillingCustomersInvoicesClient invoices() { + return new BillingCustomersInvoicesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the portal resource client + */ + public BillingCustomersPortalClient portal() { + return new BillingCustomersPortalClient(client()); + } + + /** Returns the client for the nested resource. + * @return the wallets resource client + */ + public BillingCustomersWalletsClient wallets() { + return new BillingCustomersWalletsClient(client()); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/usage}. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/{param}/usage") + public @Nullable T usage(String customerId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(customerId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/usage} using a generic response type. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T usage(String customerId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(customerId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/usage} without query parameters. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T usage(String customerId, Class responseType) throws IOException, InterruptedException { + return usage(customerId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/usage} without query parameters using a generic response type. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T usage(String customerId, TypeReference responseType) throws IOException, InterruptedException { + return usage(customerId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersEntitlementsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersEntitlementsClient.java new file mode 100644 index 0000000..9fd82be --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersEntitlementsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/customers/entitlements. Generated by scripts/generate_endpoints.py. */ +public final class BillingCustomersEntitlementsClient extends ServiceClient { + BillingCustomersEntitlementsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/entitlements}. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/{param}/entitlements") + public @Nullable T list(String customerId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, List.of(customerId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/entitlements} using a generic response type. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String customerId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, List.of(customerId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/entitlements} without query parameters. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String customerId, Class responseType) throws IOException, InterruptedException { + return list(customerId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/entitlements} without query parameters using a generic response type. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String customerId, TypeReference responseType) throws IOException, InterruptedException { + return list(customerId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersInvoicesClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersInvoicesClient.java new file mode 100644 index 0000000..acbea46 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersInvoicesClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/customers/invoices. Generated by scripts/generate_endpoints.py. */ +public final class BillingCustomersInvoicesClient extends ServiceClient { + BillingCustomersInvoicesClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary}. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/{param}/invoices/summary") + public @Nullable T summary(String customerId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, List.of(customerId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary} using a generic response type. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T summary(String customerId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, List.of(customerId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary} without query parameters. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T summary(String customerId, Class responseType) throws IOException, InterruptedException { + return summary(customerId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary} without query parameters using a generic response type. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T summary(String customerId, TypeReference responseType) throws IOException, InterruptedException { + return summary(customerId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersPortalClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersPortalClient.java new file mode 100644 index 0000000..8d73e0b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersPortalClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/customers/portal. Generated by scripts/generate_endpoints.py. */ +public final class BillingCustomersPortalClient extends ServiceClient { + BillingCustomersPortalClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/customers/portal/{param}}. + * @param decoded response type + * @param portalId portalId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/portal/{param}") + public @Nullable T get(String portalId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(portalId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/portal/{param}} using a generic response type. + * @param decoded response type + * @param portalId portalId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String portalId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(portalId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/portal/{param}} without query parameters. + * @param decoded response type + * @param portalId portalId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String portalId, Class responseType) throws IOException, InterruptedException { + return get(portalId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/portal/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param portalId portalId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String portalId, TypeReference responseType) throws IOException, InterruptedException { + return get(portalId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersWalletsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersWalletsClient.java new file mode 100644 index 0000000..ea373eb --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersWalletsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/customers/wallets. Generated by scripts/generate_endpoints.py. */ +public final class BillingCustomersWalletsClient extends ServiceClient { + BillingCustomersWalletsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/customers/{param}/wallets}. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/customers/{param}/wallets") + public @Nullable T list(String customerId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(customerId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/wallets} using a generic response type. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String customerId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(customerId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/wallets} without query parameters. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String customerId, Class responseType) throws IOException, InterruptedException { + return list(customerId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/customers/{param}/wallets} without query parameters using a generic response type. + * @param decoded response type + * @param customerId customerId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String customerId, TypeReference responseType) throws IOException, InterruptedException { + return list(customerId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingInvoicesClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingInvoicesClient.java new file mode 100644 index 0000000..e1793ba --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingInvoicesClient.java @@ -0,0 +1,231 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/invoices. Generated by scripts/generate_endpoints.py. */ +public final class BillingInvoicesClient extends ServiceClient { + BillingInvoicesClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf}. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GETRAW|/billing/invoices/{param}/pdf") + public @Nullable T getPdf(String invoiceId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(invoiceId), query, null, responseType); + } + /** + * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf} using a generic response type. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPdf(String invoiceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(invoiceId), query, null, responseType); + } + /** + * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf} without query parameters. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPdf(String invoiceId, Class responseType) throws IOException, InterruptedException { + return getPdf(invoiceId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf} without query parameters using a generic response type. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getPdf(String invoiceId, TypeReference responseType) throws IOException, InterruptedException { + return getPdf(invoiceId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/preview}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/invoices/preview") + public @Nullable T preview(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_INVOICES_PREVIEW, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/preview} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T preview(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_INVOICES_PREVIEW, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/preview} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T preview(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return preview(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/preview} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T preview(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return preview(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/{param}/finalize}. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/invoices/{param}/finalize") + public @Nullable T finalize(String invoiceId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(invoiceId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/{param}/finalize} using a generic response type. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T finalize(String invoiceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(invoiceId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/{param}/finalize} without query parameters. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T finalize(String invoiceId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return finalize(invoiceId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/{param}/finalize} without query parameters using a generic response type. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T finalize(String invoiceId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return finalize(invoiceId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/invoices/{param}/void}. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/invoices/{param}/void") + public @Nullable T resourceVoid(String invoiceId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(invoiceId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/{param}/void} using a generic response type. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resourceVoid(String invoiceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(invoiceId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/{param}/void} without query parameters. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resourceVoid(String invoiceId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return resourceVoid(invoiceId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/invoices/{param}/void} without query parameters using a generic response type. + * @param decoded response type + * @param invoiceId invoiceId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resourceVoid(String invoiceId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return resourceVoid(invoiceId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingMetersClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingMetersClient.java new file mode 100644 index 0000000..79e854c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingMetersClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/meters. Generated by scripts/generate_endpoints.py. */ +public final class BillingMetersClient extends ServiceClient { + BillingMetersClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code POST /billing/meters/{param}/disable}. + * @param decoded response type + * @param meterId meterId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/meters/{param}/disable") + public @Nullable T disable(String meterId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(meterId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/meters/{param}/disable} using a generic response type. + * @param decoded response type + * @param meterId meterId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(String meterId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(meterId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/meters/{param}/disable} without query parameters. + * @param decoded response type + * @param meterId meterId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(String meterId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return disable(meterId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/meters/{param}/disable} without query parameters using a generic response type. + * @param decoded response type + * @param meterId meterId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(String meterId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return disable(meterId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingPlansClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingPlansClient.java new file mode 100644 index 0000000..646876b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingPlansClient.java @@ -0,0 +1,78 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/plans. Generated by scripts/generate_endpoints.py. */ +public final class BillingPlansClient extends ServiceClient { + BillingPlansClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** Returns the client for the nested resource. + * @return the entitlements resource client + */ + public BillingPlansEntitlementsClient entitlements() { + return new BillingPlansEntitlementsClient(client()); + } + + /** + * Calls the contract route {@code POST /billing/plans/{param}/clone}. + * @param decoded response type + * @param planId planId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/plans/{param}/clone") + public @Nullable T clone(String planId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_PLANS_PARAM_CLONE, List.of(planId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/plans/{param}/clone} using a generic response type. + * @param decoded response type + * @param planId planId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T clone(String planId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_PLANS_PARAM_CLONE, List.of(planId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/plans/{param}/clone} without query parameters. + * @param decoded response type + * @param planId planId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T clone(String planId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return clone(planId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/plans/{param}/clone} without query parameters using a generic response type. + * @param decoded response type + * @param planId planId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T clone(String planId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return clone(planId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingPlansEntitlementsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingPlansEntitlementsClient.java new file mode 100644 index 0000000..08f2fa8 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingPlansEntitlementsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/plans/entitlements. Generated by scripts/generate_endpoints.py. */ +public final class BillingPlansEntitlementsClient extends ServiceClient { + BillingPlansEntitlementsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/plans/{param}/entitlements}. + * @param decoded response type + * @param planId planId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/plans/{param}/entitlements") + public @Nullable T list(String planId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(planId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/plans/{param}/entitlements} using a generic response type. + * @param decoded response type + * @param planId planId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String planId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(planId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/plans/{param}/entitlements} without query parameters. + * @param decoded response type + * @param planId planId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String planId, Class responseType) throws IOException, InterruptedException { + return list(planId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/plans/{param}/entitlements} without query parameters using a generic response type. + * @param decoded response type + * @param planId planId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String planId, TypeReference responseType) throws IOException, InterruptedException { + return list(planId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingPricesClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingPricesClient.java new file mode 100644 index 0000000..2ab20f7 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingPricesClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/prices. Generated by scripts/generate_endpoints.py. */ +public final class BillingPricesClient extends ServiceClient { + BillingPricesClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** Returns the client for the nested resource. + * @return the lookup resource client + */ + public BillingPricesLookupClient lookup() { + return new BillingPricesLookupClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingPricesLookupClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingPricesLookupClient.java new file mode 100644 index 0000000..41f6bc0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingPricesLookupClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/prices/lookup. Generated by scripts/generate_endpoints.py. */ +public final class BillingPricesLookupClient extends ServiceClient { + BillingPricesLookupClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/prices/lookup/{param}}. + * @param decoded response type + * @param lookupId lookupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/prices/lookup/{param}") + public @Nullable T get(String lookupId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_PRICES_LOOKUP_PARAM, List.of(lookupId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/prices/lookup/{param}} using a generic response type. + * @param decoded response type + * @param lookupId lookupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String lookupId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_PRICES_LOOKUP_PARAM, List.of(lookupId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/prices/lookup/{param}} without query parameters. + * @param decoded response type + * @param lookupId lookupId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String lookupId, Class responseType) throws IOException, InterruptedException { + return get(lookupId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/prices/lookup/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param lookupId lookupId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String lookupId, TypeReference responseType) throws IOException, InterruptedException { + return get(lookupId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsClient.java new file mode 100644 index 0000000..327e881 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsClient.java @@ -0,0 +1,246 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/subscriptions. Generated by scripts/generate_endpoints.py. */ +public final class BillingSubscriptionsClient extends ServiceClient { + BillingSubscriptionsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** Returns the client for the nested resource. + * @return the entitlements resource client + */ + public BillingSubscriptionsEntitlementsClient entitlements() { + return new BillingSubscriptionsEntitlementsClient(client()); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/activate}. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/subscriptions/{param}/activate") + public @Nullable T activate(String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, List.of(subscriptionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/activate} using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T activate(String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, List.of(subscriptionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/activate} without query parameters. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T activate(String subscriptionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return activate(subscriptionId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/activate} without query parameters using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T activate(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return activate(subscriptionId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel}. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/subscriptions/{param}/cancel") + public @Nullable T cancel(String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, List.of(subscriptionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel} using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T cancel(String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, List.of(subscriptionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel} without query parameters. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T cancel(String subscriptionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return cancel(subscriptionId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel} without query parameters using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T cancel(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return cancel(subscriptionId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/pause}. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/subscriptions/{param}/pause") + public @Nullable T pause(String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, List.of(subscriptionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/pause} using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, List.of(subscriptionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/pause} without query parameters. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String subscriptionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return pause(subscriptionId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/pause} without query parameters using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return pause(subscriptionId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/resume}. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/subscriptions/{param}/resume") + public @Nullable T resume(String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, List.of(subscriptionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/resume} using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, List.of(subscriptionId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/resume} without query parameters. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String subscriptionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return resume(subscriptionId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/subscriptions/{param}/resume} without query parameters using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return resume(subscriptionId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsEntitlementsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsEntitlementsClient.java new file mode 100644 index 0000000..836b0f6 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsEntitlementsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/subscriptions/entitlements. Generated by scripts/generate_endpoints.py. */ +public final class BillingSubscriptionsEntitlementsClient extends ServiceClient { + BillingSubscriptionsEntitlementsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements}. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/subscriptions/{param}/entitlements") + public @Nullable T list(String subscriptionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, List.of(subscriptionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements} using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String subscriptionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, List.of(subscriptionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements} without query parameters. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String subscriptionId, Class responseType) throws IOException, InterruptedException { + return list(subscriptionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements} without query parameters using a generic response type. + * @param decoded response type + * @param subscriptionId subscriptionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String subscriptionId, TypeReference responseType) throws IOException, InterruptedException { + return list(subscriptionId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsBalanceClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsBalanceClient.java new file mode 100644 index 0000000..4a82768 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsBalanceClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/wallets/balance. Generated by scripts/generate_endpoints.py. */ +public final class BillingWalletsBalanceClient extends ServiceClient { + BillingWalletsBalanceClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time}. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/wallets/{param}/balance/real-time") + public @Nullable T getRealTime(String walletId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, List.of(walletId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time} using a generic response type. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getRealTime(String walletId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, List.of(walletId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time} without query parameters. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getRealTime(String walletId, Class responseType) throws IOException, InterruptedException { + return getRealTime(walletId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time} without query parameters using a generic response type. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getRealTime(String walletId, TypeReference responseType) throws IOException, InterruptedException { + return getRealTime(walletId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsClient.java new file mode 100644 index 0000000..96cff0e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsClient.java @@ -0,0 +1,141 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/wallets. Generated by scripts/generate_endpoints.py. */ +public final class BillingWalletsClient extends ServiceClient { + BillingWalletsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** Returns the client for the nested resource. + * @return the balance resource client + */ + public BillingWalletsBalanceClient balance() { + return new BillingWalletsBalanceClient(client()); + } + + /** Returns the client for the nested resource. + * @return the transactions resource client + */ + public BillingWalletsTransactionsClient transactions() { + return new BillingWalletsTransactionsClient(client()); + } + + /** + * Calls the contract route {@code POST /billing/wallets/{param}/terminate}. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/wallets/{param}/terminate") + public @Nullable T createTerminate(String walletId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(walletId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/wallets/{param}/terminate} using a generic response type. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createTerminate(String walletId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(walletId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/wallets/{param}/terminate} without query parameters. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createTerminate(String walletId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createTerminate(walletId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/wallets/{param}/terminate} without query parameters using a generic response type. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createTerminate(String walletId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createTerminate(walletId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /billing/wallets/{param}/top-up}. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|POST|/billing/wallets/{param}/top-up") + public @Nullable T topUp(String walletId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(walletId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/wallets/{param}/top-up} using a generic response type. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T topUp(String walletId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(walletId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /billing/wallets/{param}/top-up} without query parameters. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T topUp(String walletId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return topUp(walletId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /billing/wallets/{param}/top-up} without query parameters using a generic response type. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T topUp(String walletId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return topUp(walletId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsTransactionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsTransactionsClient.java new file mode 100644 index 0000000..de68b0a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsTransactionsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for billing/wallets/transactions. Generated by scripts/generate_endpoints.py. */ +public final class BillingWalletsTransactionsClient extends ServiceClient { + BillingWalletsTransactionsClient(ApiClient client) { + super(ApiService.BILLING, client); + } + + /** + * Calls the contract route {@code GET /billing/wallets/{param}/transactions}. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("billing|GET|/billing/wallets/{param}/transactions") + public @Nullable T list(String walletId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, List.of(walletId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/wallets/{param}/transactions} using a generic response type. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String walletId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, List.of(walletId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /billing/wallets/{param}/transactions} without query parameters. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String walletId, Class responseType) throws IOException, InterruptedException { + return list(walletId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /billing/wallets/{param}/transactions} without query parameters using a generic response type. + * @param decoded response type + * @param walletId walletId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String walletId, TypeReference responseType) throws IOException, InterruptedException { + return list(walletId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java index 5a211c1..ac1e688 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java @@ -3,350 +3,20 @@ import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; -import java.nio.file.Path; import java.util.List; -import java.util.Map; import org.jspecify.annotations.Nullable; -/** Named contract operations for the blob service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for blob. Generated by scripts/generate_endpoints.py. */ public final class BlobClient extends ServiceClient { BlobClient(ApiClient client) { super(ApiService.BLOB, client); } - /** - * Calls the contract route {@code DELETE /blob/object/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the object resource client */ - @SdkOperation("blob|DELETE|/blob/object/{param}/{param}") - public @Nullable T deleteBlobObjectParamParam( - String pathParam1, String pathParam2, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, - List.of(pathParam1, pathParam2), - query, - null, - responseType); + public BlobObjectClient object() { + return new BlobObjectClient(client()); } - /** - * Calls the contract route {@code DELETE /blob/object/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteBlobObjectParamParam( - String pathParam1, String pathParam2, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, - List.of(pathParam1, pathParam2), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /blob/object/info/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("blob|GET|/blob/object/info/{param}/{param}") - public @Nullable T getBlobObjectInfoParamParam( - String pathParam1, String pathParam2, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, - List.of(pathParam1, pathParam2), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /blob/object/info/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBlobObjectInfoParamParam( - String pathParam1, String pathParam2, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, - List.of(pathParam1, pathParam2), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /blob/object/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("blob|GET|/blob/object/{param}/{param}") - public @Nullable T getBlobObjectParamParam( - String pathParam1, String pathParam2, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(pathParam1, pathParam2), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /blob/object/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getBlobObjectParamParam( - String pathParam1, String pathParam2, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(pathParam1, pathParam2), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /blob/object/copy}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("blob|POST|/blob/object/copy") - public @Nullable T postBlobObjectCopy(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Blob.POST_BLOB_OBJECT_COPY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /blob/object/copy}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBlobObjectCopy(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Blob.POST_BLOB_OBJECT_COPY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /blob/object/list/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("blob|POST|/blob/object/list/{param}") - public @Nullable T postBlobObjectListParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Blob.POST_BLOB_OBJECT_LIST_PARAM, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /blob/object/list/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBlobObjectListParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Blob.POST_BLOB_OBJECT_LIST_PARAM, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /blob/object/move}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("blob|POST|/blob/object/move") - public @Nullable T postBlobObjectMove(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Blob.POST_BLOB_OBJECT_MOVE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /blob/object/move}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBlobObjectMove(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Blob.POST_BLOB_OBJECT_MOVE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /blob/object/sign/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("blob|POST|/blob/object/sign/{param}/{param}") - public @Nullable T postBlobObjectSignParamParam( - String pathParam1, String pathParam2, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, - List.of(pathParam1, pathParam2), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /blob/object/sign/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postBlobObjectSignParamParam( - String pathParam1, - String pathParam2, - QueryParams query, - @Nullable JsonNode body, - TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, - List.of(pathParam1, pathParam2), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param fields fields supplied to the operation - * @param files files supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("blob|POSTFORMDATA|/blob/object/{param}/{param}") - public @Nullable T postformdataBlobObjectParamParam( - String pathParam1, - String pathParam2, - QueryParams query, - Map fields, - Map files, - Class responseType) - throws IOException, InterruptedException { - return requestForm( - Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, - List.of(pathParam1, pathParam2), - query, - fields, - files, - responseType); - } - - /** - * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param pathParam2 pathParam2 supplied to the operation - * @param query query supplied to the operation - * @param fields fields supplied to the operation - * @param files files supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postformdataBlobObjectParamParam( - String pathParam1, - String pathParam2, - QueryParams query, - Map fields, - Map files, - TypeReference responseType) - throws IOException, InterruptedException { - return requestForm( - Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, - List.of(pathParam1, pathParam2), - query, - fields, - files, - responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectClient.java new file mode 100644 index 0000000..5be80d9 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectClient.java @@ -0,0 +1,318 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; +import java.nio.file.Path; +import java.util.Map; + +/** Contract operations for blob/object. Generated by scripts/generate_endpoints.py. */ +public final class BlobObjectClient extends ServiceClient { + BlobObjectClient(ApiClient client) { + super(ApiService.BLOB, client); + } + + /** Returns the client for the nested resource. + * @return the info resource client + */ + public BlobObjectInfoClient info() { + return new BlobObjectInfoClient(client()); + } + + /** Returns the client for the nested resource. + * @return the list resource client + */ + public BlobObjectListClient list() { + return new BlobObjectListClient(client()); + } + + /** Returns the client for the nested resource. + * @return the sign resource client + */ + public BlobObjectSignClient sign() { + return new BlobObjectSignClient(client()); + } + + /** + * Calls the contract route {@code DELETE /blob/object/{param}/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|DELETE|/blob/object/{param}/{param}") + public @Nullable T delete(String objectId, String objectId2, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /blob/object/{param}/{param}} using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectId, String objectId2, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /blob/object/{param}/{param}} without query parameters. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectId, String objectId2, Class responseType) throws IOException, InterruptedException { + return delete(objectId, objectId2, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /blob/object/{param}/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectId, String objectId2, TypeReference responseType) throws IOException, InterruptedException { + return delete(objectId, objectId2, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /blob/object/{param}/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|GET|/blob/object/{param}/{param}") + public @Nullable T get(String objectId, String objectId2, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); + } + /** + * Calls the contract route {@code GET /blob/object/{param}/{param}} using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectId, String objectId2, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); + } + /** + * Calls the contract route {@code GET /blob/object/{param}/{param}} without query parameters. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectId, String objectId2, Class responseType) throws IOException, InterruptedException { + return get(objectId, objectId2, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /blob/object/{param}/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectId, String objectId2, TypeReference responseType) throws IOException, InterruptedException { + return get(objectId, objectId2, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/copy}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POST|/blob/object/copy") + public @Nullable T copy(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_COPY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/copy} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T copy(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_COPY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/copy} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T copy(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return copy(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/copy} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T copy(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return copy(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /blob/object/move}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POST|/blob/object/move") + public @Nullable T move(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_MOVE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/move} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T move(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_MOVE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/move} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T move(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return move(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/move} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T move(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return move(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param query query supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POSTFORMDATA|/blob/object/{param}/{param}") + public @Nullable T get2(String objectId, String objectId2, QueryParams query, Map fields, Map files, Class responseType) throws IOException, InterruptedException { + return requestForm(Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, fields, files, responseType); + } + /** + * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}} using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param query query supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get2(String objectId, String objectId2, QueryParams query, Map fields, Map files, TypeReference responseType) throws IOException, InterruptedException { + return requestForm(Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, fields, files, responseType); + } + /** + * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}} without query parameters. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get2(String objectId, String objectId2, Map fields, Map files, Class responseType) throws IOException, InterruptedException { + return get2(objectId, objectId2, QueryParams.empty(), fields, files, responseType); + } + /** + * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param objectId2 objectId2 supplied to the operation + * @param fields fields supplied to the operation + * @param files files supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get2(String objectId, String objectId2, Map fields, Map files, TypeReference responseType) throws IOException, InterruptedException { + return get2(objectId, objectId2, QueryParams.empty(), fields, files, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectInfoClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectInfoClient.java new file mode 100644 index 0000000..155b56f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectInfoClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for blob/object/info. Generated by scripts/generate_endpoints.py. */ +public final class BlobObjectInfoClient extends ServiceClient { + BlobObjectInfoClient(ApiClient client) { + super(ApiService.BLOB, client); + } + + /** + * Calls the contract route {@code GET /blob/object/info/{param}/{param}}. + * @param decoded response type + * @param infoId infoId supplied to the operation + * @param infoId2 infoId2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|GET|/blob/object/info/{param}/{param}") + public @Nullable T get(String infoId, String infoId2, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, List.of(infoId, infoId2), query, null, responseType); + } + /** + * Calls the contract route {@code GET /blob/object/info/{param}/{param}} using a generic response type. + * @param decoded response type + * @param infoId infoId supplied to the operation + * @param infoId2 infoId2 supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String infoId, String infoId2, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, List.of(infoId, infoId2), query, null, responseType); + } + /** + * Calls the contract route {@code GET /blob/object/info/{param}/{param}} without query parameters. + * @param decoded response type + * @param infoId infoId supplied to the operation + * @param infoId2 infoId2 supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String infoId, String infoId2, Class responseType) throws IOException, InterruptedException { + return get(infoId, infoId2, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /blob/object/info/{param}/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param infoId infoId supplied to the operation + * @param infoId2 infoId2 supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String infoId, String infoId2, TypeReference responseType) throws IOException, InterruptedException { + return get(infoId, infoId2, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectListClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectListClient.java new file mode 100644 index 0000000..783ec27 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectListClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for blob/object/list. Generated by scripts/generate_endpoints.py. */ +public final class BlobObjectListClient extends ServiceClient { + BlobObjectListClient(ApiClient client) { + super(ApiService.BLOB, client); + } + + /** + * Calls the contract route {@code POST /blob/object/list/{param}}. + * @param decoded response type + * @param listId listId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POST|/blob/object/list/{param}") + public @Nullable T get(String listId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_LIST_PARAM, List.of(listId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/list/{param}} using a generic response type. + * @param decoded response type + * @param listId listId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String listId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_LIST_PARAM, List.of(listId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/list/{param}} without query parameters. + * @param decoded response type + * @param listId listId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String listId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return get(listId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/list/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param listId listId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String listId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return get(listId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectSignClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectSignClient.java new file mode 100644 index 0000000..637e56c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectSignClient.java @@ -0,0 +1,75 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for blob/object/sign. Generated by scripts/generate_endpoints.py. */ +public final class BlobObjectSignClient extends ServiceClient { + BlobObjectSignClient(ApiClient client) { + super(ApiService.BLOB, client); + } + + /** + * Calls the contract route {@code POST /blob/object/sign/{param}/{param}}. + * @param decoded response type + * @param signId signId supplied to the operation + * @param signId2 signId2 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("blob|POST|/blob/object/sign/{param}/{param}") + public @Nullable T get(String signId, String signId2, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, List.of(signId, signId2), query, body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/sign/{param}/{param}} using a generic response type. + * @param decoded response type + * @param signId signId supplied to the operation + * @param signId2 signId2 supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String signId, String signId2, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, List.of(signId, signId2), query, body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/sign/{param}/{param}} without query parameters. + * @param decoded response type + * @param signId signId supplied to the operation + * @param signId2 signId2 supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String signId, String signId2, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return get(signId, signId2, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /blob/object/sign/{param}/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param signId signId supplied to the operation + * @param signId2 signId2 supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String signId, String signId2, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return get(signId, signId2, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java index 6c53dae..332a49b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java @@ -1,11 +1,12 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the connection-tests service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for connection-tests. Generated by scripts/generate_endpoints.py. */ public final class ConnectionTestsClient extends ServiceClient { ConnectionTestsClient(ApiClient client) { super(ApiService.CONNECTION_TESTS, client); @@ -22,19 +23,11 @@ public final class ConnectionTestsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connection-tests|GET|/connection-tests/{param}") - public @Nullable T getConnectionTestsConnectionTestId( - String connectionTestId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, - List.of(connectionTestId), - query, - null, - responseType); + public @Nullable T get(String connectionTestId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, List.of(connectionTestId), query, null, responseType); } - /** - * Calls the contract route {@code GET /connection-tests/{param}}. + * Calls the contract route {@code GET /connection-tests/{param}} using a generic response type. * @param decoded response type * @param connectionTestId connectionTestId supplied to the operation * @param query query supplied to the operation @@ -43,14 +36,32 @@ public final class ConnectionTestsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getConnectionTestsConnectionTestId( - String connectionTestId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, - List.of(connectionTestId), - query, - null, - responseType); + public @Nullable T get(String connectionTestId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, List.of(connectionTestId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connection-tests/{param}} without query parameters. + * @param decoded response type + * @param connectionTestId connectionTestId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String connectionTestId, Class responseType) throws IOException, InterruptedException { + return get(connectionTestId, QueryParams.empty(), responseType); } + /** + * Calls the contract route {@code GET /connection-tests/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param connectionTestId connectionTestId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String connectionTestId, TypeReference responseType) throws IOException, InterruptedException { + return get(connectionTestId, QueryParams.empty(), responseType); + } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsCatalogClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsCatalogClient.java new file mode 100644 index 0000000..0eea92c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsCatalogClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for connectors/catalog. Generated by scripts/generate_endpoints.py. */ +public final class ConnectorsCatalogClient extends ServiceClient { + ConnectorsCatalogClient(ApiClient client) { + super(ApiService.CONNECTORS, client); + } + + /** + * Calls the contract route {@code GET /connectors/catalog/{param}}. + * @param decoded response type + * @param catalogId catalogId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/catalog/{param}") + public @Nullable T get(String catalogId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(catalogId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connectors/catalog/{param}} using a generic response type. + * @param decoded response type + * @param catalogId catalogId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String catalogId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(catalogId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connectors/catalog/{param}} without query parameters. + * @param decoded response type + * @param catalogId catalogId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String catalogId, Class responseType) throws IOException, InterruptedException { + return get(catalogId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /connectors/catalog/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param catalogId catalogId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String catalogId, TypeReference responseType) throws IOException, InterruptedException { + return get(catalogId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java index 41ea118..3187b74 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java @@ -6,469 +6,93 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the connectors service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for connectors. Generated by scripts/generate_endpoints.py. */ public final class ConnectorsClient extends ServiceClient { ConnectorsClient(ApiClient client) { super(ApiService.CONNECTORS, client); } - /** - * Calls the contract route {@code DELETE /connectors/installations/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("connectors|DELETE|/connectors/installations/{param}") - public @Nullable T deleteConnectorsInstallationsParam( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code DELETE /connectors/installations/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteConnectorsInstallationsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /connectors/catalog}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("connectors|GET|/connectors/catalog") - public @Nullable T getConnectorsCatalog(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /connectors/catalog}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getConnectorsCatalog(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /connectors/catalog/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("connectors|GET|/connectors/catalog/{param}") - public @Nullable T getConnectorsCatalogParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /connectors/catalog/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getConnectorsCatalogParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /connectors/connection-tests/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("connectors|GET|/connectors/connection-tests/{param}") - public @Nullable T getConnectorsConnectionTestsParam( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /connectors/connection-tests/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getConnectorsConnectionTestsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /connectors/installations}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("connectors|GET|/connectors/installations") - public @Nullable T getConnectorsInstallations(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /connectors/installations}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the catalog resource client */ - public @Nullable T getConnectorsInstallations(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS, List.of(), query, null, responseType); + public ConnectorsCatalogClient catalog() { + return new ConnectorsCatalogClient(client()); } - /** - * Calls the contract route {@code GET /connectors/installations/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the connection-tests resource client */ - @SdkOperation("connectors|GET|/connectors/installations/{param}") - public @Nullable T getConnectorsInstallationsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, - List.of(pathParam1), - query, - null, - responseType); + public ConnectorsConnectionTestsClient connectionTests() { + return new ConnectorsConnectionTestsClient(client()); } - /** - * Calls the contract route {@code GET /connectors/installations/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getConnectorsInstallationsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /diagnostics}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the diagnostics resource client */ - @SdkOperation("connectors|GET|/diagnostics") - public @Nullable T getDiagnostics(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_DIAGNOSTICS, List.of(), query, null, responseType); + public ConnectorsDiagnosticsClient diagnostics() { + return new ConnectorsDiagnosticsClient(client()); } - /** - * Calls the contract route {@code GET /diagnostics}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the installations resource client */ - public @Nullable T getDiagnostics(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_DIAGNOSTICS, List.of(), query, null, responseType); + public ConnectorsInstallationsClient installations() { + return new ConnectorsInstallationsClient(client()); } - /** - * Calls the contract route {@code PATCH /connectors/installations/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the sync-runs resource client */ - @SdkOperation("connectors|PATCH|/connectors/installations/{param}") - public @Nullable T patchConnectorsInstallationsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, - List.of(pathParam1), - query, - body, - responseType); + public ConnectorsSyncRunsClient syncRuns() { + return new ConnectorsSyncRunsClient(client()); } /** - * Calls the contract route {@code PATCH /connectors/installations/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T patchConnectorsInstallationsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /connectors/installations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("connectors|POST|/connectors/installations") - public @Nullable T postConnectorsInstallations( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /connectors/installations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postConnectorsInstallations( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /connectors/installations/{param}/pause}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("connectors|POST|/connectors/installations/{param}/pause") - public @Nullable T postConnectorsInstallationsParamPause( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /connectors/installations/{param}/pause}. + * Calls the contract route {@code GET /connectors/catalog}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postConnectorsInstallationsParamPause( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, - List.of(pathParam1), - query, - body, - responseType); + @SdkOperation("connectors|GET|/connectors/catalog") + public @Nullable T getCatalog(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code POST /connectors/installations/{param}/resume}. + * Calls the contract route {@code GET /connectors/catalog} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("connectors|POST|/connectors/installations/{param}/resume") - public @Nullable T postConnectorsInstallationsParamResume( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T getCatalog(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code POST /connectors/installations/{param}/resume}. + * Calls the contract route {@code GET /connectors/catalog} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postConnectorsInstallationsParamResume( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T getCatalog(Class responseType) throws IOException, InterruptedException { + return getCatalog(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay}. + * Calls the contract route {@code GET /connectors/catalog} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("connectors|POST|/connectors/sync-runs/{param}/replay") - public @Nullable T postConnectorsSyncRunsParamReplay( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T getCatalog(TypeReference responseType) throws IOException, InterruptedException { + return getCatalog(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postConnectorsSyncRunsParamReplay( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, - List.of(pathParam1), - query, - body, - responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsConnectionTestsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsConnectionTestsClient.java new file mode 100644 index 0000000..e82dba5 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsConnectionTestsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for connectors/connection-tests. Generated by scripts/generate_endpoints.py. */ +public final class ConnectorsConnectionTestsClient extends ServiceClient { + ConnectorsConnectionTestsClient(ApiClient client) { + super(ApiService.CONNECTORS, client); + } + + /** + * Calls the contract route {@code GET /connectors/connection-tests/{param}}. + * @param decoded response type + * @param connectionTestId connectionTestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/connection-tests/{param}") + public @Nullable T get(String connectionTestId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, List.of(connectionTestId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connectors/connection-tests/{param}} using a generic response type. + * @param decoded response type + * @param connectionTestId connectionTestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String connectionTestId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, List.of(connectionTestId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connectors/connection-tests/{param}} without query parameters. + * @param decoded response type + * @param connectionTestId connectionTestId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String connectionTestId, Class responseType) throws IOException, InterruptedException { + return get(connectionTestId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /connectors/connection-tests/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param connectionTestId connectionTestId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String connectionTestId, TypeReference responseType) throws IOException, InterruptedException { + return get(connectionTestId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsDiagnosticsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsDiagnosticsClient.java new file mode 100644 index 0000000..9d9052e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsDiagnosticsClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for connectors/diagnostics. Generated by scripts/generate_endpoints.py. */ +public final class ConnectorsDiagnosticsClient extends ServiceClient { + ConnectorsDiagnosticsClient(ApiClient client) { + super(ApiService.CONNECTORS, client); + } + + /** + * Calls the contract route {@code GET /diagnostics}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/diagnostics") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_DIAGNOSTICS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /diagnostics} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_DIAGNOSTICS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /diagnostics} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /diagnostics} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsInstallationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsInstallationsClient.java new file mode 100644 index 0000000..d231fa0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsInstallationsClient.java @@ -0,0 +1,387 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for connectors/installations. Generated by scripts/generate_endpoints.py. */ +public final class ConnectorsInstallationsClient extends ServiceClient { + ConnectorsInstallationsClient(ApiClient client) { + super(ApiService.CONNECTORS, client); + } + + /** + * Calls the contract route {@code DELETE /connectors/installations/{param}}. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|DELETE|/connectors/installations/{param}") + public @Nullable T delete(String installationId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /connectors/installations/{param}} using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String installationId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /connectors/installations/{param}} without query parameters. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String installationId, Class responseType) throws IOException, InterruptedException { + return delete(installationId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /connectors/installations/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String installationId, TypeReference responseType) throws IOException, InterruptedException { + return delete(installationId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /connectors/installations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/installations") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connectors/installations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connectors/installations} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /connectors/installations} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /connectors/installations/{param}}. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|GET|/connectors/installations/{param}") + public @Nullable T get(String installationId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connectors/installations/{param}} using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String installationId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /connectors/installations/{param}} without query parameters. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String installationId, Class responseType) throws IOException, InterruptedException { + return get(installationId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /connectors/installations/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String installationId, TypeReference responseType) throws IOException, InterruptedException { + return get(installationId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code PATCH /connectors/installations/{param}}. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|PATCH|/connectors/installations/{param}") + public @Nullable T update(String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, body, responseType); + } + /** + * Calls the contract route {@code PATCH /connectors/installations/{param}} using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, body, responseType); + } + /** + * Calls the contract route {@code PATCH /connectors/installations/{param}} without query parameters. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String installationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(installationId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PATCH /connectors/installations/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String installationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(installationId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|POST|/connectors/installations") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations/{param}/pause}. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|POST|/connectors/installations/{param}/pause") + public @Nullable T pause(String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, List.of(installationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations/{param}/pause} using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, List.of(installationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations/{param}/pause} without query parameters. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String installationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return pause(installationId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations/{param}/pause} without query parameters using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String installationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return pause(installationId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /connectors/installations/{param}/resume}. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|POST|/connectors/installations/{param}/resume") + public @Nullable T resume(String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, List.of(installationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations/{param}/resume} using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, List.of(installationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations/{param}/resume} without query parameters. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String installationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return resume(installationId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/installations/{param}/resume} without query parameters using a generic response type. + * @param decoded response type + * @param installationId installationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String installationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return resume(installationId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsSyncRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsSyncRunsClient.java new file mode 100644 index 0000000..fd93f69 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsSyncRunsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for connectors/sync-runs. Generated by scripts/generate_endpoints.py. */ +public final class ConnectorsSyncRunsClient extends ServiceClient { + ConnectorsSyncRunsClient(ApiClient client) { + super(ApiService.CONNECTORS, client); + } + + /** + * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay}. + * @param decoded response type + * @param syncRunId syncRunId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("connectors|POST|/connectors/sync-runs/{param}/replay") + public @Nullable T replay(String syncRunId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, List.of(syncRunId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay} using a generic response type. + * @param decoded response type + * @param syncRunId syncRunId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T replay(String syncRunId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, List.of(syncRunId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay} without query parameters. + * @param decoded response type + * @param syncRunId syncRunId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T replay(String syncRunId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return replay(syncRunId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay} without query parameters using a generic response type. + * @param decoded response type + * @param syncRunId syncRunId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T replay(String syncRunId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return replay(syncRunId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsClient.java new file mode 100644 index 0000000..c195f35 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/aggregations/aggregations. Generated by scripts/generate_endpoints.py. */ +public final class DataAggregationsAggregationsClient extends ServiceClient { + DataAggregationsAggregationsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the executions resource client + */ + public DataAggregationsAggregationsExecutionsClient executions() { + return new DataAggregationsAggregationsExecutionsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/aggregations/aggregations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/aggregations") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/aggregations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/aggregations} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/aggregations} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/aggregations/{param}}. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/aggregations/{param}") + public @Nullable T get(String aggregationId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, List.of(aggregationId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/aggregations/{param}} using a generic response type. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String aggregationId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, List.of(aggregationId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/aggregations/{param}} without query parameters. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String aggregationId, Class responseType) throws IOException, InterruptedException { + return get(aggregationId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/aggregations/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String aggregationId, TypeReference responseType) throws IOException, InterruptedException { + return get(aggregationId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/aggregations/aggregations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/aggregations/aggregations") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/aggregations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/aggregations} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/aggregations} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsExecutionsClient.java new file mode 100644 index 0000000..076c54d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsExecutionsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/aggregations/aggregations/executions. Generated by scripts/generate_endpoints.py. */ +public final class DataAggregationsAggregationsExecutionsClient extends ServiceClient { + DataAggregationsAggregationsExecutionsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions}. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/aggregations/aggregations/{param}/executions") + public @Nullable T create(String aggregationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, List.of(aggregationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions} using a generic response type. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String aggregationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, List.of(aggregationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions} without query parameters. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String aggregationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(aggregationId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions} without query parameters using a generic response type. + * @param decoded response type + * @param aggregationId aggregationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String aggregationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(aggregationId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsCapabilitiesClient.java new file mode 100644 index 0000000..3e4f056 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/aggregations/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataAggregationsCapabilitiesClient extends ServiceClient { + DataAggregationsCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/aggregations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsClient.java new file mode 100644 index 0000000..37211d6 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/aggregations. Generated by scripts/generate_endpoints.py. */ +public final class DataAggregationsClient extends ServiceClient { + DataAggregationsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the aggregations resource client + */ + public DataAggregationsAggregationsClient aggregations() { + return new DataAggregationsAggregationsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataAggregationsCapabilitiesClient capabilities() { + return new DataAggregationsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataAggregationsRunsClient runs() { + return new DataAggregationsRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/aggregations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsRunsClient.java new file mode 100644 index 0000000..0913ece --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/aggregations/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataAggregationsRunsClient extends ServiceClient { + DataAggregationsRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/aggregations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/aggregations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/aggregations/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/aggregations/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/aggregations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/aggregations/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_AGGREGATIONS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/aggregations/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalClient.java new file mode 100644 index 0000000..81d9367 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/archival/archival. Generated by scripts/generate_endpoints.py. */ +public final class DataArchivalArchivalClient extends ServiceClient { + DataArchivalArchivalClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the policies resource client + */ + public DataArchivalArchivalPoliciesClient policies() { + return new DataArchivalArchivalPoliciesClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesClient.java new file mode 100644 index 0000000..0b78c71 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/archival/archival/policies. Generated by scripts/generate_endpoints.py. */ +public final class DataArchivalArchivalPoliciesClient extends ServiceClient { + DataArchivalArchivalPoliciesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the executions resource client + */ + public DataArchivalArchivalPoliciesExecutionsClient executions() { + return new DataArchivalArchivalPoliciesExecutionsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/archival/archival/policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/archival/policies") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/archival/policies} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/archival/policies} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/archival/archival/policies} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/archival/policies/{param}}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/archival/policies/{param}") + public @Nullable T get(String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/archival/policies/{param}} using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String policyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/archival/policies/{param}} without query parameters. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String policyId, Class responseType) throws IOException, InterruptedException { + return get(policyId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/archival/archival/policies/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String policyId, TypeReference responseType) throws IOException, InterruptedException { + return get(policyId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/archival/archival/policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/archival/archival/policies") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/archival/policies} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/archival/policies} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/archival/policies} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesExecutionsClient.java new file mode 100644 index 0000000..639fdaf --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesExecutionsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/archival/archival/policies/executions. Generated by scripts/generate_endpoints.py. */ +public final class DataArchivalArchivalPoliciesExecutionsClient extends ServiceClient { + DataArchivalArchivalPoliciesExecutionsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/archival/archival/policies/{param}/executions") + public @Nullable T create(String policyId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, List.of(policyId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions} using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, List.of(policyId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions} without query parameters. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String policyId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(policyId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions} without query parameters using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String policyId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(policyId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalCapabilitiesClient.java new file mode 100644 index 0000000..31f7940 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/archival/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataArchivalCapabilitiesClient extends ServiceClient { + DataArchivalCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/archival/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/archival/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalClient.java new file mode 100644 index 0000000..ef0b0ba --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/archival. Generated by scripts/generate_endpoints.py. */ +public final class DataArchivalClient extends ServiceClient { + DataArchivalClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the archival resource client + */ + public DataArchivalArchivalClient archival() { + return new DataArchivalArchivalClient(client()); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataArchivalCapabilitiesClient capabilities() { + return new DataArchivalCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataArchivalRunsClient runs() { + return new DataArchivalRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/archival/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/archival/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/archival/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalRunsClient.java new file mode 100644 index 0000000..f505bdc --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/archival/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataArchivalRunsClient extends ServiceClient { + DataArchivalRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/archival/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/archival/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/archival/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/archival/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/archival/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/archival/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/archival/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/archival/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ARCHIVAL_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/archival/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCapabilitiesClient.java new file mode 100644 index 0000000..a729dd7 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/catalog/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataCatalogCapabilitiesClient extends ServiceClient { + DataCatalogCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/catalog/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogClient.java new file mode 100644 index 0000000..00c6c73 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogClient.java @@ -0,0 +1,29 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/catalog/catalog. Generated by scripts/generate_endpoints.py. */ +public final class DataCatalogCatalogClient extends ServiceClient { + DataCatalogCatalogClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the datasets resource client + */ + public DataCatalogCatalogDatasetsClient datasets() { + return new DataCatalogCatalogDatasetsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the sources resource client + */ + public DataCatalogCatalogSourcesClient sources() { + return new DataCatalogCatalogSourcesClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsArtifactsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsArtifactsClient.java new file mode 100644 index 0000000..a5f3746 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsArtifactsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/catalog/catalog/datasets/artifacts. Generated by scripts/generate_endpoints.py. */ +public final class DataCatalogCatalogDatasetsArtifactsClient extends ServiceClient { + DataCatalogCatalogDatasetsArtifactsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/datasets/{param}/artifacts/{param}/content") + public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, List.of(datasetId, manifestId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content} using a generic response type. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, List.of(datasetId, manifestId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content} without query parameters. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getContent(String datasetId, String manifestId, Class responseType) throws IOException, InterruptedException { + return getContent(datasetId, manifestId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content} without query parameters using a generic response type. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getContent(String datasetId, String manifestId, TypeReference responseType) throws IOException, InterruptedException { + return getContent(datasetId, manifestId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsClient.java new file mode 100644 index 0000000..ccb6986 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsClient.java @@ -0,0 +1,122 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/catalog/catalog/datasets. Generated by scripts/generate_endpoints.py. */ +public final class DataCatalogCatalogDatasetsClient extends ServiceClient { + DataCatalogCatalogDatasetsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the artifacts resource client + */ + public DataCatalogCatalogDatasetsArtifactsClient artifacts() { + return new DataCatalogCatalogDatasetsArtifactsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/datasets") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/datasets/{param}") + public @Nullable T get(String datasetId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}} using a generic response type. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String datasetId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}} without query parameters. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String datasetId, Class responseType) throws IOException, InterruptedException { + return get(datasetId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String datasetId, TypeReference responseType) throws IOException, InterruptedException { + return get(datasetId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogSourcesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogSourcesClient.java new file mode 100644 index 0000000..ec81796 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogSourcesClient.java @@ -0,0 +1,115 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/catalog/catalog/sources. Generated by scripts/generate_endpoints.py. */ +public final class DataCatalogCatalogSourcesClient extends ServiceClient { + DataCatalogCatalogSourcesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/sources") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}}. + * @param decoded response type + * @param sourceId sourceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/catalog/sources/{param}") + public @Nullable T get(String sourceId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}} using a generic response type. + * @param decoded response type + * @param sourceId sourceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String sourceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}} without query parameters. + * @param decoded response type + * @param sourceId sourceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String sourceId, Class responseType) throws IOException, InterruptedException { + return get(sourceId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param sourceId sourceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String sourceId, TypeReference responseType) throws IOException, InterruptedException { + return get(sourceId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogClient.java new file mode 100644 index 0000000..3b8c990 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/catalog. Generated by scripts/generate_endpoints.py. */ +public final class DataCatalogClient extends ServiceClient { + DataCatalogClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataCatalogCapabilitiesClient capabilities() { + return new DataCatalogCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the catalog resource client + */ + public DataCatalogCatalogClient catalog() { + return new DataCatalogCatalogClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataCatalogRunsClient runs() { + return new DataCatalogRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/catalog/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogRunsClient.java new file mode 100644 index 0000000..81c745a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/catalog/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataCatalogRunsClient extends ServiceClient { + DataCatalogRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/catalog/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/catalog/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/catalog/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_CATALOG_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/catalog/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/catalog/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/catalog/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_CATALOG_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/catalog/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_CATALOG_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/catalog/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/catalog/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataClient.java index cdfe52a..e62d2e0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataClient.java @@ -6,4808 +6,115 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the data service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for data. Generated by scripts/generate_endpoints.py. */ public final class DataClient extends ServiceClient { DataClient(ApiClient client) { super(ApiService.DATA, client); } - /** - * Calls the contract route {@code GET /data/aggregations/aggregations}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the aggregations resource client */ - @SdkOperation("data|GET|/data/aggregations/aggregations") - public @Nullable T getDataAggregationsAggregations(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, null, responseType); + public DataAggregationsClient aggregations() { + return new DataAggregationsClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/aggregations}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the archival resource client */ - public @Nullable T getDataAggregationsAggregations(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, null, responseType); + public DataArchivalClient archival() { + return new DataArchivalClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/aggregations/{param}}. - * @param decoded response type - * @param aggregationId aggregationId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the catalog resource client */ - @SdkOperation("data|GET|/data/aggregations/aggregations/{param}") - public @Nullable T getDataAggregationsAggregationsAggregationId( - String aggregationId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, - List.of(aggregationId), - query, - null, - responseType); + public DataCatalogClient catalog() { + return new DataCatalogClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/aggregations/{param}}. - * @param decoded response type - * @param aggregationId aggregationId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the enrichment resource client */ - public @Nullable T getDataAggregationsAggregationsAggregationId( - String aggregationId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, - List.of(aggregationId), - query, - null, - responseType); + public DataEnrichmentClient enrichment() { + return new DataEnrichmentClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the exports resource client */ - @SdkOperation("data|GET|/data/aggregations/capabilities") - public @Nullable T getDataAggregationsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_CAPABILITIES, List.of(), query, null, responseType); + public DataExportsClient exports() { + return new DataExportsClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the ingest resource client */ - public @Nullable T getDataAggregationsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_CAPABILITIES, List.of(), query, null, responseType); + public DataIngestClient ingest() { + return new DataIngestClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the normalization resource client */ - @SdkOperation("data|GET|/data/aggregations/health") - public @Nullable T getDataAggregationsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_HEALTH, List.of(), query, null, responseType); + public DataNormalizationClient normalization() { + return new DataNormalizationClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the pipelines resource client */ - public @Nullable T getDataAggregationsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_HEALTH, List.of(), query, null, responseType); + public DataPipelinesClient pipelines() { + return new DataPipelinesClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the quality resource client */ - @SdkOperation("data|GET|/data/aggregations/info") - public @Nullable T getDataAggregationsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_INFO, List.of(), query, null, responseType); + public DataQualityClient quality() { + return new DataQualityClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the query resource client */ - public @Nullable T getDataAggregationsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_INFO, List.of(), query, null, responseType); + public DataQueryClient query() { + return new DataQueryClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the schemas resource client */ - @SdkOperation("data|GET|/data/aggregations/runs") - public @Nullable T getDataAggregationsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS, List.of(), query, null, responseType); + public DataSchemasClient schemas() { + return new DataSchemasClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the serving resource client */ - public @Nullable T getDataAggregationsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS, List.of(), query, null, responseType); + public DataServingClient serving() { + return new DataServingClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the streams resource client */ - @SdkOperation("data|GET|/data/aggregations/runs/{param}") - public @Nullable T getDataAggregationsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + public DataStreamsClient streams() { + return new DataStreamsClient(client()); } - /** - * Calls the contract route {@code GET /data/aggregations/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the sync resource client */ - public @Nullable T getDataAggregationsRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + public DataSyncClient sync() { + return new DataSyncClient(client()); } - /** - * Calls the contract route {@code GET /data/archival/archival/policies}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the transformations resource client */ - @SdkOperation("data|GET|/data/archival/archival/policies") - public @Nullable T getDataArchivalArchivalPolicies(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, null, responseType); + public DataTransformationsClient transformations() { + return new DataTransformationsClient(client()); } - /** - * Calls the contract route {@code GET /data/archival/archival/policies}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataArchivalArchivalPolicies(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/archival/policies/{param}}. - * @param decoded response type - * @param policyId policyId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/archival/archival/policies/{param}") - public @Nullable T getDataArchivalArchivalPoliciesPolicyId( - String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/archival/policies/{param}}. - * @param decoded response type - * @param policyId policyId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataArchivalArchivalPoliciesPolicyId( - String policyId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/archival/capabilities") - public @Nullable T getDataArchivalCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataArchivalCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/archival/health") - public @Nullable T getDataArchivalHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataArchivalHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/archival/info") - public @Nullable T getDataArchivalInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataArchivalInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/archival/runs") - public @Nullable T getDataArchivalRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataArchivalRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/archival/runs/{param}") - public @Nullable T getDataArchivalRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/archival/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataArchivalRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/capabilities") - public @Nullable T getDataCatalogCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/datasets}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/catalog/datasets") - public @Nullable T getDataCatalogCatalogDatasets(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/datasets}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogCatalogDatasets(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}}. - * @param decoded response type - * @param datasetId datasetId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/catalog/datasets/{param}") - public @Nullable T getDataCatalogCatalogDatasetsDatasetId( - String datasetId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}}. - * @param decoded response type - * @param datasetId datasetId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogCatalogDatasetsDatasetId( - String datasetId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. - * @param decoded response type - * @param datasetId datasetId supplied to the operation - * @param manifestId manifestId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/catalog/datasets/{param}/artifacts/{param}/content") - public @Nullable T getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent( - String datasetId, String manifestId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, - List.of(datasetId, manifestId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. - * @param decoded response type - * @param datasetId datasetId supplied to the operation - * @param manifestId manifestId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogCatalogDatasetsDatasetIdArtifactsManifestIdContent( - String datasetId, String manifestId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, - List.of(datasetId, manifestId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/sources}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/catalog/sources") - public @Nullable T getDataCatalogCatalogSources(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/sources}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogCatalogSources(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}}. - * @param decoded response type - * @param sourceId sourceId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/catalog/sources/{param}") - public @Nullable T getDataCatalogCatalogSourcesSourceId( - String sourceId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}}. - * @param decoded response type - * @param sourceId sourceId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogCatalogSourcesSourceId( - String sourceId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/health") - public @Nullable T getDataCatalogHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/info") - public @Nullable T getDataCatalogInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/runs") - public @Nullable T getDataCatalogRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/catalog/runs/{param}") - public @Nullable T getDataCatalogRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/catalog/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataCatalogRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/enrichment/capabilities") - public @Nullable T getDataEnrichmentCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataEnrichmentCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/enrichment/profiles}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/enrichment/enrichment/profiles") - public @Nullable T getDataEnrichmentEnrichmentProfiles(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/enrichment/profiles}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataEnrichmentEnrichmentProfiles(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}}. - * @param decoded response type - * @param profileId profileId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/enrichment/enrichment/profiles/{param}") - public @Nullable T getDataEnrichmentEnrichmentProfilesProfileId( - String profileId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, - List.of(profileId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}}. - * @param decoded response type - * @param profileId profileId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataEnrichmentEnrichmentProfilesProfileId( - String profileId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, - List.of(profileId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/enrichment/health") - public @Nullable T getDataEnrichmentHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataEnrichmentHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/enrichment/info") - public @Nullable T getDataEnrichmentInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataEnrichmentInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/enrichment/runs") - public @Nullable T getDataEnrichmentRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataEnrichmentRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/enrichment/runs/{param}") - public @Nullable T getDataEnrichmentRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/enrichment/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataEnrichmentRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/exports/capabilities") - public @Nullable T getDataExportsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataExportsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/exports}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/exports/exports") - public @Nullable T getDataExportsExports(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/exports}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataExportsExports(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/exports/{param}}. - * @param decoded response type - * @param exportId exportId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/exports/exports/{param}") - public @Nullable T getDataExportsExportsExportId(String exportId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS_PARAM, List.of(exportId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/exports/{param}}. - * @param decoded response type - * @param exportId exportId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataExportsExportsExportId( - String exportId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS_PARAM, List.of(exportId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/exports/health") - public @Nullable T getDataExportsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataExportsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/exports/info") - public @Nullable T getDataExportsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataExportsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/exports/runs") - public @Nullable T getDataExportsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataExportsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/exports/runs/{param}") - public @Nullable T getDataExportsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/exports/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataExportsRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/capabilities") - public @Nullable T getDataIngestCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/datasets}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/datasets") - public @Nullable T getDataIngestDatasets(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_DATASETS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/datasets}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestDatasets(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_DATASETS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/datasets/{param}}. - * @param decoded response type - * @param datasetId datasetId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/datasets/{param}") - public @Nullable T getDataIngestDatasetsDatasetId(String datasetId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM, List.of(datasetId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/datasets/{param}}. - * @param decoded response type - * @param datasetId datasetId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestDatasetsDatasetId( - String datasetId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM, List.of(datasetId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. - * @param decoded response type - * @param datasetId datasetId supplied to the operation - * @param manifestId manifestId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/datasets/{param}/artifacts/{param}/content") - public @Nullable T getDataIngestDatasetsDatasetIdArtifactsManifestIdContent( - String datasetId, String manifestId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, - List.of(datasetId, manifestId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. - * @param decoded response type - * @param datasetId datasetId supplied to the operation - * @param manifestId manifestId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestDatasetsDatasetIdArtifactsManifestIdContent( - String datasetId, String manifestId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, - List.of(datasetId, manifestId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/health") - public @Nullable T getDataIngestHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/info") - public @Nullable T getDataIngestInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/runs") - public @Nullable T getDataIngestRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/runs/{param}") - public @Nullable T getDataIngestRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/schemas") - public @Nullable T getDataIngestSchemas(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestSchemas(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/schemas/{param}}. - * @param decoded response type - * @param schemaRef schemaRef supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/ingest/schemas/{param}") - public @Nullable T getDataIngestSchemasSchemaRef(String schemaRef, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/ingest/schemas/{param}}. - * @param decoded response type - * @param schemaRef schemaRef supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataIngestSchemasSchemaRef( - String schemaRef, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/normalization/capabilities") - public @Nullable T getDataNormalizationCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataNormalizationCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/normalization/health") - public @Nullable T getDataNormalizationHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataNormalizationHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/normalization/info") - public @Nullable T getDataNormalizationInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataNormalizationInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/normalization/profiles}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/normalization/normalization/profiles") - public @Nullable T getDataNormalizationNormalizationProfiles(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/normalization/profiles}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataNormalizationNormalizationProfiles(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}}. - * @param decoded response type - * @param profileId profileId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/normalization/normalization/profiles/{param}") - public @Nullable T getDataNormalizationNormalizationProfilesProfileId( - String profileId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, - List.of(profileId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}}. - * @param decoded response type - * @param profileId profileId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataNormalizationNormalizationProfilesProfileId( - String profileId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, - List.of(profileId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/normalization/runs") - public @Nullable T getDataNormalizationRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataNormalizationRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/normalization/runs/{param}") - public @Nullable T getDataNormalizationRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/normalization/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataNormalizationRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/capabilities") - public @Nullable T getDataPipelinesCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/health") - public @Nullable T getDataPipelinesHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/info") - public @Nullable T getDataPipelinesInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/pipeline-runs") - public @Nullable T getDataPipelinesPipelineRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesPipelineRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/pipeline-runs/{param}") - public @Nullable T getDataPipelinesPipelineRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesPipelineRunsRunId( - String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipelines}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/pipelines") - public @Nullable T getDataPipelinesPipelines(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipelines}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesPipelines(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. - * @param decoded response type - * @param definitionId definitionId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/pipelines/{param}") - public @Nullable T getDataPipelinesPipelinesDefinitionId( - String definitionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. - * @param decoded response type - * @param definitionId definitionId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesPipelinesDefinitionId( - String definitionId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/runs") - public @Nullable T getDataPipelinesRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/pipelines/runs/{param}") - public @Nullable T getDataPipelinesRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/quality/capabilities") - public @Nullable T getDataQualityCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQualityCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/quality/health") - public @Nullable T getDataQualityHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQualityHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/quality/info") - public @Nullable T getDataQualityInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQualityInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/quality/rulesets}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/quality/quality/rulesets") - public @Nullable T getDataQualityQualityRulesets(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/quality/rulesets}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQualityQualityRulesets(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}}. - * @param decoded response type - * @param rulesetId rulesetId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/quality/quality/rulesets/{param}") - public @Nullable T getDataQualityQualityRulesetsRulesetId( - String rulesetId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}}. - * @param decoded response type - * @param rulesetId rulesetId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQualityQualityRulesetsRulesetId( - String rulesetId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/quality/runs") - public @Nullable T getDataQualityRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQualityRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/quality/runs/{param}") - public @Nullable T getDataQualityRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/quality/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQualityRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/query/capabilities") - public @Nullable T getDataQueryCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQueryCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/query/health") - public @Nullable T getDataQueryHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQueryHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/query/info") - public @Nullable T getDataQueryInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQueryInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/query/runs") - public @Nullable T getDataQueryRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQueryRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/query/runs/{param}") - public @Nullable T getDataQueryRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/query/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataQueryRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUERY_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/schemas/capabilities") - public @Nullable T getDataSchemasCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSchemasCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/schemas/health") - public @Nullable T getDataSchemasHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSchemasHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/schemas/info") - public @Nullable T getDataSchemasInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSchemasInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/schemas/runs") - public @Nullable T getDataSchemasRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSchemasRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/schemas/runs/{param}") - public @Nullable T getDataSchemasRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSchemasRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/schemas/schemas") - public @Nullable T getDataSchemasSchemas(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSchemasSchemas(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/schemas/{param}}. - * @param decoded response type - * @param schemaRef schemaRef supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/schemas/schemas/{param}") - public @Nullable T getDataSchemasSchemasSchemaRef(String schemaRef, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/schemas/schemas/{param}}. - * @param decoded response type - * @param schemaRef schemaRef supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSchemasSchemasSchemaRef( - String schemaRef, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/serving/capabilities") - public @Nullable T getDataServingCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataServingCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/serving/health") - public @Nullable T getDataServingHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataServingHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/serving/info") - public @Nullable T getDataServingInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataServingInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/serving/runs") - public @Nullable T getDataServingRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataServingRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/serving/runs/{param}") - public @Nullable T getDataServingRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataServingRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/serving/products}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/serving/serving/products") - public @Nullable T getDataServingServingProducts(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/serving/products}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataServingServingProducts(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/serving/products/{param}}. - * @param decoded response type - * @param productId productId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/serving/serving/products/{param}") - public @Nullable T getDataServingServingProductsProductId( - String productId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/serving/serving/products/{param}}. - * @param decoded response type - * @param productId productId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataServingServingProductsProductId( - String productId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/streams/capabilities") - public @Nullable T getDataStreamsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataStreamsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/streams/health") - public @Nullable T getDataStreamsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataStreamsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/streams/info") - public @Nullable T getDataStreamsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataStreamsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/streams/runs") - public @Nullable T getDataStreamsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataStreamsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/streams/runs/{param}") - public @Nullable T getDataStreamsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataStreamsRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/streams}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/streams/streams") - public @Nullable T getDataStreamsStreams(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/streams}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataStreamsStreams(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/streams/{param}}. - * @param decoded response type - * @param streamId streamId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/streams/streams/{param}") - public @Nullable T getDataStreamsStreamsStreamId(String streamId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS_PARAM, List.of(streamId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/streams/streams/{param}}. - * @param decoded response type - * @param streamId streamId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataStreamsStreamsStreamId( - String streamId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS_PARAM, List.of(streamId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/sync/capabilities") - public @Nullable T getDataSyncCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSyncCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/sync/health") - public @Nullable T getDataSyncHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSyncHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/sync/info") - public @Nullable T getDataSyncInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSyncInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/sync/runs") - public @Nullable T getDataSyncRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSyncRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/sync/runs/{param}") - public @Nullable T getDataSyncRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSyncRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/sync/jobs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/sync/sync/jobs") - public @Nullable T getDataSyncSyncJobs(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/sync/jobs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSyncSyncJobs(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/sync/jobs/{param}}. - * @param decoded response type - * @param jobId jobId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/sync/sync/jobs/{param}") - public @Nullable T getDataSyncSyncJobsJobId(String jobId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS_PARAM, List.of(jobId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/sync/sync/jobs/{param}}. - * @param decoded response type - * @param jobId jobId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataSyncSyncJobsJobId(String jobId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS_PARAM, List.of(jobId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/transformations/capabilities") - public @Nullable T getDataTransformationsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataTransformationsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/transformations/health") - public @Nullable T getDataTransformationsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataTransformationsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/transformations/info") - public @Nullable T getDataTransformationsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataTransformationsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/transformations/runs") - public @Nullable T getDataTransformationsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataTransformationsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/transformations/runs/{param}") - public @Nullable T getDataTransformationsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataTransformationsRunsRunId( - String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/transformations}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/transformations/transformations") - public @Nullable T getDataTransformationsTransformations(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/transformations}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataTransformationsTransformations(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/transformations/{param}}. - * @param decoded response type - * @param transformationId transformationId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|GET|/data/transformations/transformations/{param}") - public @Nullable T getDataTransformationsTransformationsTransformationId( - String transformationId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, - List.of(transformationId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/transformations/transformations/{param}}. - * @param decoded response type - * @param transformationId transformationId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataTransformationsTransformationsTransformationId( - String transformationId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, - List.of(transformationId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code POST /data/aggregations/aggregations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/aggregations/aggregations") - public @Nullable T postDataAggregationsAggregations( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/aggregations/aggregations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataAggregationsAggregations( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions}. - * @param decoded response type - * @param aggregationId aggregationId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/aggregations/aggregations/{param}/executions") - public @Nullable T postDataAggregationsAggregationsAggregationIdExecutions( - String aggregationId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, - List.of(aggregationId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions}. - * @param decoded response type - * @param aggregationId aggregationId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataAggregationsAggregationsAggregationIdExecutions( - String aggregationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, - List.of(aggregationId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/aggregations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/aggregations/runs") - public @Nullable T postDataAggregationsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_AGGREGATIONS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/aggregations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataAggregationsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_AGGREGATIONS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/archival/archival/policies}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/archival/archival/policies") - public @Nullable T postDataArchivalArchivalPolicies( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/archival/archival/policies}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataArchivalArchivalPolicies( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions}. - * @param decoded response type - * @param policyId policyId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/archival/archival/policies/{param}/executions") - public @Nullable T postDataArchivalArchivalPoliciesPolicyIdExecutions( - String policyId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, - List.of(policyId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions}. - * @param decoded response type - * @param policyId policyId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataArchivalArchivalPoliciesPolicyIdExecutions( - String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, - List.of(policyId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/archival/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/archival/runs") - public @Nullable T postDataArchivalRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ARCHIVAL_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/archival/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataArchivalRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ARCHIVAL_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/catalog/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/catalog/runs") - public @Nullable T postDataCatalogRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_CATALOG_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/catalog/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataCatalogRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_CATALOG_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/enrichment/enrichment/profiles}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/enrichment/enrichment/profiles") - public @Nullable T postDataEnrichmentEnrichmentProfiles( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/enrichment/enrichment/profiles}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataEnrichmentEnrichmentProfiles( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. - * @param decoded response type - * @param profileId profileId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/enrichment/enrichment/profiles/{param}/executions") - public @Nullable T postDataEnrichmentEnrichmentProfilesProfileIdExecutions( - String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, - List.of(profileId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. - * @param decoded response type - * @param profileId profileId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataEnrichmentEnrichmentProfilesProfileIdExecutions( - String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, - List.of(profileId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/enrichment/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/enrichment/runs") - public @Nullable T postDataEnrichmentRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ENRICHMENT_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/enrichment/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataEnrichmentRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ENRICHMENT_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/exports/exports}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/exports/exports") - public @Nullable T postDataExportsExports(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/exports/exports}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataExportsExports( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/exports/exports/{param}/executions}. - * @param decoded response type - * @param exportId exportId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/exports/exports/{param}/executions") - public @Nullable T postDataExportsExportsExportIdExecutions( - String exportId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, - List.of(exportId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/exports/exports/{param}/executions}. - * @param decoded response type - * @param exportId exportId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataExportsExportsExportIdExecutions( - String exportId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, - List.of(exportId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/exports/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/exports/runs") - public @Nullable T postDataExportsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_EXPORTS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/exports/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataExportsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_EXPORTS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/ingest/datasets/ingest}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/ingest/datasets/ingest") - public @Nullable T postDataIngestDatasetsIngest( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_INGEST_DATASETS_INGEST, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/ingest/datasets/ingest}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataIngestDatasetsIngest( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_INGEST_DATASETS_INGEST, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/ingest/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/ingest/runs") - public @Nullable T postDataIngestRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_INGEST_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/ingest/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataIngestRuns(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_INGEST_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/normalization/normalization/profiles}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/normalization/normalization/profiles") - public @Nullable T postDataNormalizationNormalizationProfiles( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/normalization/normalization/profiles}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataNormalizationNormalizationProfiles( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions}. - * @param decoded response type - * @param profileId profileId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/normalization/normalization/profiles/{param}/executions") - public @Nullable T postDataNormalizationNormalizationProfilesProfileIdExecutions( - String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, - List.of(profileId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions}. - * @param decoded response type - * @param profileId profileId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataNormalizationNormalizationProfilesProfileIdExecutions( - String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, - List.of(profileId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/normalization/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/normalization/runs") - public @Nullable T postDataNormalizationRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_NORMALIZATION_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/normalization/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataNormalizationRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_NORMALIZATION_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/pipelines/pipelines}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/pipelines/pipelines") - public @Nullable T postDataPipelinesPipelines(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/pipelines/pipelines}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataPipelinesPipelines( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/pipelines/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/pipelines/runs") - public @Nullable T postDataPipelinesRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/pipelines/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataPipelinesRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/quality/quality/rulesets}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/quality/quality/rulesets") - public @Nullable T postDataQualityQualityRulesets( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/quality/quality/rulesets}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataQualityQualityRulesets( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations}. - * @param decoded response type - * @param rulesetId rulesetId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/quality/quality/rulesets/{param}/evaluations") - public @Nullable T postDataQualityQualityRulesetsRulesetIdEvaluations( - String rulesetId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, - List.of(rulesetId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations}. - * @param decoded response type - * @param rulesetId rulesetId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataQualityQualityRulesetsRulesetIdEvaluations( - String rulesetId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, - List.of(rulesetId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/quality/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/quality/runs") - public @Nullable T postDataQualityRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUALITY_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/quality/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataQualityRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUALITY_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/query/query/federated}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/query/query/federated") - public @Nullable T postDataQueryQueryFederated( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUERY_QUERY_FEDERATED, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/query/query/federated}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataQueryQueryFederated( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUERY_QUERY_FEDERATED, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/query/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/query/runs") - public @Nullable T postDataQueryRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUERY_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/query/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataQueryRuns(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUERY_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/schemas/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/schemas/runs") - public @Nullable T postDataSchemasRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SCHEMAS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/schemas/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataSchemasRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SCHEMAS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/schemas/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/schemas/schemas") - public @Nullable T postDataSchemasSchemas(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/schemas/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataSchemasSchemas( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/schemas/schemas/resolve}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/schemas/schemas/resolve") - public @Nullable T postDataSchemasSchemasResolve( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS_RESOLVE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/schemas/schemas/resolve}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataSchemasSchemasResolve( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS_RESOLVE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/serving/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/serving/runs") - public @Nullable T postDataServingRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SERVING_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/serving/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataServingRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SERVING_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/serving/serving/products}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/serving/serving/products") - public @Nullable T postDataServingServingProducts( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/serving/serving/products}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataServingServingProducts( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes}. - * @param decoded response type - * @param productId productId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/serving/serving/products/{param}/refreshes") - public @Nullable T postDataServingServingProductsProductIdRefreshes( - String productId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, - List.of(productId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes}. - * @param decoded response type - * @param productId productId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataServingServingProductsProductIdRefreshes( - String productId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, - List.of(productId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/streams/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/streams/runs") - public @Nullable T postDataStreamsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_STREAMS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/streams/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataStreamsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_STREAMS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/streams/streams}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/streams/streams") - public @Nullable T postDataStreamsStreams(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/streams/streams}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataStreamsStreams( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries}. - * @param decoded response type - * @param streamId streamId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/streams/streams/{param}/deliveries") - public @Nullable T postDataStreamsStreamsStreamIdDeliveries( - String streamId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, - List.of(streamId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries}. - * @param decoded response type - * @param streamId streamId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataStreamsStreamsStreamIdDeliveries( - String streamId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, - List.of(streamId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/sync/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/sync/runs") - public @Nullable T postDataSyncRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SYNC_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/sync/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataSyncRuns(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SYNC_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/sync/sync/jobs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/sync/sync/jobs") - public @Nullable T postDataSyncSyncJobs(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/sync/sync/jobs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataSyncSyncJobs( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions}. - * @param decoded response type - * @param jobId jobId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/sync/sync/jobs/{param}/executions") - public @Nullable T postDataSyncSyncJobsJobIdExecutions( - String jobId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions}. - * @param decoded response type - * @param jobId jobId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataSyncSyncJobsJobIdExecutions( - String jobId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/transformations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/transformations/runs") - public @Nullable T postDataTransformationsRuns( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/transformations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataTransformationsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/transformations/transformations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/transformations/transformations") - public @Nullable T postDataTransformationsTransformations( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/transformations/transformations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataTransformationsTransformations( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions}. - * @param decoded response type - * @param transformationId transformationId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("data|POST|/data/transformations/transformations/{param}/executions") - public @Nullable T postDataTransformationsTransformationsTransformationIdExecutions( - String transformationId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, - List.of(transformationId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions}. - * @param decoded response type - * @param transformationId transformationId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataTransformationsTransformationsTransformationIdExecutions( - String transformationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, - List.of(transformationId), - query, - body, - responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentCapabilitiesClient.java new file mode 100644 index 0000000..39ed2b3 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/enrichment/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataEnrichmentCapabilitiesClient extends ServiceClient { + DataEnrichmentCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/enrichment/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentClient.java new file mode 100644 index 0000000..a731530 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/enrichment. Generated by scripts/generate_endpoints.py. */ +public final class DataEnrichmentClient extends ServiceClient { + DataEnrichmentClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataEnrichmentCapabilitiesClient capabilities() { + return new DataEnrichmentCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the enrichment resource client + */ + public DataEnrichmentEnrichmentClient enrichment() { + return new DataEnrichmentEnrichmentClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataEnrichmentRunsClient runs() { + return new DataEnrichmentRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/enrichment/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentClient.java new file mode 100644 index 0000000..028a362 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/enrichment/enrichment. Generated by scripts/generate_endpoints.py. */ +public final class DataEnrichmentEnrichmentClient extends ServiceClient { + DataEnrichmentEnrichmentClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the profiles resource client + */ + public DataEnrichmentEnrichmentProfilesClient profiles() { + return new DataEnrichmentEnrichmentProfilesClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesClient.java new file mode 100644 index 0000000..84d9ebc --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/enrichment/enrichment/profiles. Generated by scripts/generate_endpoints.py. */ +public final class DataEnrichmentEnrichmentProfilesClient extends ServiceClient { + DataEnrichmentEnrichmentProfilesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the executions resource client + */ + public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { + return new DataEnrichmentEnrichmentProfilesExecutionsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/enrichment/profiles") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/enrichment/profiles/{param}") + public @Nullable T get(String profileId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, List.of(profileId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}} using a generic response type. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String profileId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, List.of(profileId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}} without query parameters. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String profileId, Class responseType) throws IOException, InterruptedException { + return get(profileId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String profileId, TypeReference responseType) throws IOException, InterruptedException { + return get(profileId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/enrichment/enrichment/profiles") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesExecutionsClient.java new file mode 100644 index 0000000..ecd9349 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesExecutionsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/enrichment/enrichment/profiles/executions. Generated by scripts/generate_endpoints.py. */ +public final class DataEnrichmentEnrichmentProfilesExecutionsClient extends ServiceClient { + DataEnrichmentEnrichmentProfilesExecutionsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/enrichment/enrichment/profiles/{param}/executions") + public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, List.of(profileId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions} using a generic response type. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, List.of(profileId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions} without query parameters. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String profileId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(profileId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions} without query parameters using a generic response type. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String profileId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(profileId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentRunsClient.java new file mode 100644 index 0000000..f030014 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/enrichment/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataEnrichmentRunsClient extends ServiceClient { + DataEnrichmentRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/enrichment/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/enrichment/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/enrichment/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/enrichment/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/enrichment/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/enrichment/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_ENRICHMENT_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/enrichment/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsCapabilitiesClient.java new file mode 100644 index 0000000..ea9833a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/exports/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataExportsCapabilitiesClient extends ServiceClient { + DataExportsCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/exports/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/exports/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsClient.java new file mode 100644 index 0000000..5ec8b26 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/exports. Generated by scripts/generate_endpoints.py. */ +public final class DataExportsClient extends ServiceClient { + DataExportsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataExportsCapabilitiesClient capabilities() { + return new DataExportsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the exports resource client + */ + public DataExportsExportsClient exports() { + return new DataExportsExportsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataExportsRunsClient runs() { + return new DataExportsRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/exports/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/exports/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/exports/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsClient.java new file mode 100644 index 0000000..dde2b3c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/exports/exports. Generated by scripts/generate_endpoints.py. */ +public final class DataExportsExportsClient extends ServiceClient { + DataExportsExportsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the executions resource client + */ + public DataExportsExportsExecutionsClient executions() { + return new DataExportsExportsExecutionsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/exports/exports}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/exports") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/exports} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/exports} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/exports/exports} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/exports/{param}}. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/exports/{param}") + public @Nullable T get(String exportId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS_PARAM, List.of(exportId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/exports/{param}} using a generic response type. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String exportId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS_PARAM, List.of(exportId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/exports/{param}} without query parameters. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String exportId, Class responseType) throws IOException, InterruptedException { + return get(exportId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/exports/exports/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String exportId, TypeReference responseType) throws IOException, InterruptedException { + return get(exportId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/exports/exports}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/exports/exports") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/exports} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/exports} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/exports} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsExecutionsClient.java new file mode 100644 index 0000000..6425116 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsExecutionsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/exports/exports/executions. Generated by scripts/generate_endpoints.py. */ +public final class DataExportsExportsExecutionsClient extends ServiceClient { + DataExportsExportsExecutionsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/exports/exports/{param}/executions}. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/exports/exports/{param}/executions") + public @Nullable T create(String exportId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, List.of(exportId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/exports/{param}/executions} using a generic response type. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String exportId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, List.of(exportId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/exports/{param}/executions} without query parameters. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String exportId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(exportId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/exports/{param}/executions} without query parameters using a generic response type. + * @param decoded response type + * @param exportId exportId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String exportId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(exportId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsRunsClient.java new file mode 100644 index 0000000..d0df19d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/exports/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataExportsRunsClient extends ServiceClient { + DataExportsRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/exports/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/exports/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/exports/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/exports/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/exports/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/exports/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/exports/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/exports/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_EXPORTS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/exports/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestCapabilitiesClient.java new file mode 100644 index 0000000..bcd2e97 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/ingest/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataIngestCapabilitiesClient extends ServiceClient { + DataIngestCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/ingest/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestClient.java new file mode 100644 index 0000000..e8de10d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestClient.java @@ -0,0 +1,139 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/ingest. Generated by scripts/generate_endpoints.py. */ +public final class DataIngestClient extends ServiceClient { + DataIngestClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataIngestCapabilitiesClient capabilities() { + return new DataIngestCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the datasets resource client + */ + public DataIngestDatasetsClient datasets() { + return new DataIngestDatasetsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataIngestRunsClient runs() { + return new DataIngestRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the schemas resource client + */ + public DataIngestSchemasClient schemas() { + return new DataIngestSchemasClient(client()); + } + + /** + * Calls the contract route {@code GET /data/ingest/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsArtifactsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsArtifactsClient.java new file mode 100644 index 0000000..8e4bf79 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsArtifactsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/ingest/datasets/artifacts. Generated by scripts/generate_endpoints.py. */ +public final class DataIngestDatasetsArtifactsClient extends ServiceClient { + DataIngestDatasetsArtifactsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/datasets/{param}/artifacts/{param}/content") + public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, List.of(datasetId, manifestId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content} using a generic response type. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, List.of(datasetId, manifestId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content} without query parameters. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getContent(String datasetId, String manifestId, Class responseType) throws IOException, InterruptedException { + return getContent(datasetId, manifestId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content} without query parameters using a generic response type. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param manifestId manifestId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getContent(String datasetId, String manifestId, TypeReference responseType) throws IOException, InterruptedException { + return getContent(datasetId, manifestId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsClient.java new file mode 100644 index 0000000..56dd9a8 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/ingest/datasets. Generated by scripts/generate_endpoints.py. */ +public final class DataIngestDatasetsClient extends ServiceClient { + DataIngestDatasetsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the artifacts resource client + */ + public DataIngestDatasetsArtifactsClient artifacts() { + return new DataIngestDatasetsArtifactsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/datasets") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}}. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/datasets/{param}") + public @Nullable T get(String datasetId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}} using a generic response type. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String datasetId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}} without query parameters. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String datasetId, Class responseType) throws IOException, InterruptedException { + return get(datasetId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/datasets/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param datasetId datasetId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String datasetId, TypeReference responseType) throws IOException, InterruptedException { + return get(datasetId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/ingest/datasets/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/ingest/datasets/ingest") + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_INGEST_DATASETS_INGEST, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/ingest/datasets/ingest} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_INGEST_DATASETS_INGEST, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/ingest/datasets/ingest} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return ingest(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/ingest/datasets/ingest} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return ingest(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestRunsClient.java new file mode 100644 index 0000000..ad3aee5 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/ingest/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataIngestRunsClient extends ServiceClient { + DataIngestRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/ingest/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/ingest/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/ingest/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_INGEST_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/ingest/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_INGEST_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/ingest/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/ingest/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestSchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestSchemasClient.java new file mode 100644 index 0000000..3519bc7 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestSchemasClient.java @@ -0,0 +1,115 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/ingest/schemas. Generated by scripts/generate_endpoints.py. */ +public final class DataIngestSchemasClient extends ServiceClient { + DataIngestSchemasClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/ingest/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/schemas") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/schemas} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/schemas} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/schemas} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/ingest/schemas/{param}}. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/ingest/schemas/{param}") + public @Nullable T get(String schemaRef, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/schemas/{param}} using a generic response type. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaRef, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/schemas/{param}} without query parameters. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaRef, Class responseType) throws IOException, InterruptedException { + return get(schemaRef, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/ingest/schemas/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaRef, TypeReference responseType) throws IOException, InterruptedException { + return get(schemaRef, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationCapabilitiesClient.java new file mode 100644 index 0000000..dc99dfc --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/normalization/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataNormalizationCapabilitiesClient extends ServiceClient { + DataNormalizationCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/normalization/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationClient.java new file mode 100644 index 0000000..da2700c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/normalization. Generated by scripts/generate_endpoints.py. */ +public final class DataNormalizationClient extends ServiceClient { + DataNormalizationClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataNormalizationCapabilitiesClient capabilities() { + return new DataNormalizationCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the normalization resource client + */ + public DataNormalizationNormalizationClient normalization() { + return new DataNormalizationNormalizationClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataNormalizationRunsClient runs() { + return new DataNormalizationRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/normalization/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationClient.java new file mode 100644 index 0000000..64c1024 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/normalization/normalization. Generated by scripts/generate_endpoints.py. */ +public final class DataNormalizationNormalizationClient extends ServiceClient { + DataNormalizationNormalizationClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the profiles resource client + */ + public DataNormalizationNormalizationProfilesClient profiles() { + return new DataNormalizationNormalizationProfilesClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesClient.java new file mode 100644 index 0000000..416ad6d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/normalization/normalization/profiles. Generated by scripts/generate_endpoints.py. */ +public final class DataNormalizationNormalizationProfilesClient extends ServiceClient { + DataNormalizationNormalizationProfilesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the executions resource client + */ + public DataNormalizationNormalizationProfilesExecutionsClient executions() { + return new DataNormalizationNormalizationProfilesExecutionsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/normalization/profiles") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/normalization/profiles/{param}") + public @Nullable T get(String profileId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, List.of(profileId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}} using a generic response type. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String profileId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, List.of(profileId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}} without query parameters. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String profileId, Class responseType) throws IOException, InterruptedException { + return get(profileId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String profileId, TypeReference responseType) throws IOException, InterruptedException { + return get(profileId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/normalization/normalization/profiles") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesExecutionsClient.java new file mode 100644 index 0000000..f7ca907 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesExecutionsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/normalization/normalization/profiles/executions. Generated by scripts/generate_endpoints.py. */ +public final class DataNormalizationNormalizationProfilesExecutionsClient extends ServiceClient { + DataNormalizationNormalizationProfilesExecutionsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions}. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/normalization/normalization/profiles/{param}/executions") + public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, List.of(profileId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions} using a generic response type. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, List.of(profileId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions} without query parameters. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String profileId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(profileId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions} without query parameters using a generic response type. + * @param decoded response type + * @param profileId profileId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String profileId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(profileId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationRunsClient.java new file mode 100644 index 0000000..38a8975 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/normalization/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataNormalizationRunsClient extends ServiceClient { + DataNormalizationRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/normalization/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/normalization/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/normalization/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/normalization/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/normalization/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/normalization/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_NORMALIZATION_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_NORMALIZATION_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/normalization/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesCapabilitiesClient.java new file mode 100644 index 0000000..cec72da --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/pipelines/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataPipelinesCapabilitiesClient extends ServiceClient { + DataPipelinesCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesClient.java new file mode 100644 index 0000000..ac5aff4 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesClient.java @@ -0,0 +1,139 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/pipelines. Generated by scripts/generate_endpoints.py. */ +public final class DataPipelinesClient extends ServiceClient { + DataPipelinesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataPipelinesCapabilitiesClient capabilities() { + return new DataPipelinesCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the pipeline-runs resource client + */ + public DataPipelinesPipelineRunsClient pipelineRuns() { + return new DataPipelinesPipelineRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the pipelines resource client + */ + public DataPipelinesPipelinesClient pipelines() { + return new DataPipelinesPipelinesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataPipelinesRunsClient runs() { + return new DataPipelinesRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/pipelines/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelineRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelineRunsClient.java new file mode 100644 index 0000000..9c0df26 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelineRunsClient.java @@ -0,0 +1,115 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/pipelines/pipeline-runs. Generated by scripts/generate_endpoints.py. */ +public final class DataPipelinesPipelineRunsClient extends ServiceClient { + DataPipelinesPipelineRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/pipeline-runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/pipeline-runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelinesClient.java new file mode 100644 index 0000000..b9694c7 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelinesClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/pipelines/pipelines. Generated by scripts/generate_endpoints.py. */ +public final class DataPipelinesPipelinesClient extends ServiceClient { + DataPipelinesPipelinesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/pipelines") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. + * @param decoded response type + * @param definitionId definitionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/pipelines/{param}") + public @Nullable T get(String definitionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} using a generic response type. + * @param decoded response type + * @param definitionId definitionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String definitionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} without query parameters. + * @param decoded response type + * @param definitionId definitionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String definitionId, Class responseType) throws IOException, InterruptedException { + return get(definitionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param definitionId definitionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String definitionId, TypeReference responseType) throws IOException, InterruptedException { + return get(definitionId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/pipelines/pipelines") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/pipelines} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/pipelines} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/pipelines} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesRunsClient.java new file mode 100644 index 0000000..9fb5302 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/pipelines/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataPipelinesRunsClient extends ServiceClient { + DataPipelinesRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/pipelines/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/pipelines/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityCapabilitiesClient.java new file mode 100644 index 0000000..6ab2286 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/quality/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataQualityCapabilitiesClient extends ServiceClient { + DataQualityCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/quality/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/quality/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityClient.java new file mode 100644 index 0000000..9e8a682 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/quality. Generated by scripts/generate_endpoints.py. */ +public final class DataQualityClient extends ServiceClient { + DataQualityClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataQualityCapabilitiesClient capabilities() { + return new DataQualityCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the quality resource client + */ + public DataQualityQualityClient quality() { + return new DataQualityQualityClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataQualityRunsClient runs() { + return new DataQualityRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/quality/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/quality/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/quality/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityClient.java new file mode 100644 index 0000000..98d3ef9 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/quality/quality. Generated by scripts/generate_endpoints.py. */ +public final class DataQualityQualityClient extends ServiceClient { + DataQualityQualityClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the rulesets resource client + */ + public DataQualityQualityRulesetsClient rulesets() { + return new DataQualityQualityRulesetsClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsClient.java new file mode 100644 index 0000000..9505279 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/quality/quality/rulesets. Generated by scripts/generate_endpoints.py. */ +public final class DataQualityQualityRulesetsClient extends ServiceClient { + DataQualityQualityRulesetsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the evaluations resource client + */ + public DataQualityQualityRulesetsEvaluationsClient evaluations() { + return new DataQualityQualityRulesetsEvaluationsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/quality/rulesets") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}}. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/quality/rulesets/{param}") + public @Nullable T get(String rulesetId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}} using a generic response type. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rulesetId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}} without query parameters. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rulesetId, Class responseType) throws IOException, InterruptedException { + return get(rulesetId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rulesetId, TypeReference responseType) throws IOException, InterruptedException { + return get(rulesetId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/quality/quality/rulesets") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsEvaluationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsEvaluationsClient.java new file mode 100644 index 0000000..987b8c3 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsEvaluationsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/quality/quality/rulesets/evaluations. Generated by scripts/generate_endpoints.py. */ +public final class DataQualityQualityRulesetsEvaluationsClient extends ServiceClient { + DataQualityQualityRulesetsEvaluationsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations}. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/quality/quality/rulesets/{param}/evaluations") + public @Nullable T create(String rulesetId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, List.of(rulesetId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations} using a generic response type. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String rulesetId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, List.of(rulesetId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations} without query parameters. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String rulesetId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(rulesetId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations} without query parameters using a generic response type. + * @param decoded response type + * @param rulesetId rulesetId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String rulesetId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(rulesetId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityRunsClient.java new file mode 100644 index 0000000..f99b1fa --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/quality/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataQualityRunsClient extends ServiceClient { + DataQualityRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/quality/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/quality/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/quality/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/quality/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUALITY_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/quality/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/quality/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/quality/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/quality/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUALITY_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/quality/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQueryCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQueryCapabilitiesClient.java new file mode 100644 index 0000000..4c7d67a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQueryCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/query/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataQueryCapabilitiesClient extends ServiceClient { + DataQueryCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/query/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/query/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQueryClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQueryClient.java new file mode 100644 index 0000000..ac94333 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQueryClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/query. Generated by scripts/generate_endpoints.py. */ +public final class DataQueryClient extends ServiceClient { + DataQueryClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataQueryCapabilitiesClient capabilities() { + return new DataQueryCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the query resource client + */ + public DataQueryQueryClient query() { + return new DataQueryQueryClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataQueryRunsClient runs() { + return new DataQueryRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/query/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/query/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/query/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/query/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQueryQueryClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQueryQueryClient.java new file mode 100644 index 0000000..e7d9382 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQueryQueryClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/query/query. Generated by scripts/generate_endpoints.py. */ +public final class DataQueryQueryClient extends ServiceClient { + DataQueryQueryClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/query/query/federated}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/query/query/federated") + public @Nullable T federated(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUERY_QUERY_FEDERATED, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/query/query/federated} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T federated(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUERY_QUERY_FEDERATED, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/query/query/federated} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T federated(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return federated(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/query/query/federated} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T federated(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return federated(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQueryRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQueryRunsClient.java new file mode 100644 index 0000000..9d4b61c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQueryRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/query/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataQueryRunsClient extends ServiceClient { + DataQueryRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/query/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/query/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/query/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/query/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_QUERY_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/query/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/query/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/query/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/query/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUERY_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/query/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_QUERY_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/query/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/query/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasCapabilitiesClient.java new file mode 100644 index 0000000..4b5df3f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/schemas/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataSchemasCapabilitiesClient extends ServiceClient { + DataSchemasCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/schemas/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasClient.java new file mode 100644 index 0000000..2d84f48 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/schemas. Generated by scripts/generate_endpoints.py. */ +public final class DataSchemasClient extends ServiceClient { + DataSchemasClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataSchemasCapabilitiesClient capabilities() { + return new DataSchemasCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataSchemasRunsClient runs() { + return new DataSchemasRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the schemas resource client + */ + public DataSchemasSchemasClient schemas() { + return new DataSchemasSchemasClient(client()); + } + + /** + * Calls the contract route {@code GET /data/schemas/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasRunsClient.java new file mode 100644 index 0000000..fe94867 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/schemas/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataSchemasRunsClient extends ServiceClient { + DataSchemasRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/schemas/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasSchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasSchemasClient.java new file mode 100644 index 0000000..631d342 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasSchemasClient.java @@ -0,0 +1,219 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/schemas/schemas. Generated by scripts/generate_endpoints.py. */ +public final class DataSchemasSchemasClient extends ServiceClient { + DataSchemasSchemasClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/schemas") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/schemas} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/schemas} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/schemas} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/schemas/schemas/{param}") + public @Nullable T get(String schemaRef, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/schemas/{param}} using a generic response type. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaRef, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/schemas/{param}} without query parameters. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaRef, Class responseType) throws IOException, InterruptedException { + return get(schemaRef, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/schemas/schemas/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param schemaRef schemaRef supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaRef, TypeReference responseType) throws IOException, InterruptedException { + return get(schemaRef, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/schemas/schemas") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/schemas} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/schemas} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/schemas} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /data/schemas/schemas/resolve}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/schemas/schemas/resolve") + public @Nullable T resolve(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS_RESOLVE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/schemas/resolve} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resolve(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS_RESOLVE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/schemas/resolve} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resolve(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return resolve(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/schemas/schemas/resolve} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resolve(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return resolve(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingCapabilitiesClient.java new file mode 100644 index 0000000..e5c3a20 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/serving/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataServingCapabilitiesClient extends ServiceClient { + DataServingCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/serving/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/serving/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingClient.java new file mode 100644 index 0000000..b4645eb --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/serving. Generated by scripts/generate_endpoints.py. */ +public final class DataServingClient extends ServiceClient { + DataServingClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataServingCapabilitiesClient capabilities() { + return new DataServingCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataServingRunsClient runs() { + return new DataServingRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the serving resource client + */ + public DataServingServingClient serving() { + return new DataServingServingClient(client()); + } + + /** + * Calls the contract route {@code GET /data/serving/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/serving/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/serving/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingRunsClient.java new file mode 100644 index 0000000..da6b7be --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/serving/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataServingRunsClient extends ServiceClient { + DataServingRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/serving/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/serving/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/serving/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/serving/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/serving/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingClient.java new file mode 100644 index 0000000..8616d1a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/serving/serving. Generated by scripts/generate_endpoints.py. */ +public final class DataServingServingClient extends ServiceClient { + DataServingServingClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the products resource client + */ + public DataServingServingProductsClient products() { + return new DataServingServingProductsClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsClient.java new file mode 100644 index 0000000..ce6c6bb --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/serving/serving/products. Generated by scripts/generate_endpoints.py. */ +public final class DataServingServingProductsClient extends ServiceClient { + DataServingServingProductsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the refreshes resource client + */ + public DataServingServingProductsRefreshesClient refreshes() { + return new DataServingServingProductsRefreshesClient(client()); + } + + /** + * Calls the contract route {@code GET /data/serving/serving/products}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/serving/products") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/serving/products} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/serving/products} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/serving/serving/products} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/serving/serving/products/{param}}. + * @param decoded response type + * @param productId productId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/serving/serving/products/{param}") + public @Nullable T get(String productId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/serving/products/{param}} using a generic response type. + * @param decoded response type + * @param productId productId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String productId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/serving/serving/products/{param}} without query parameters. + * @param decoded response type + * @param productId productId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String productId, Class responseType) throws IOException, InterruptedException { + return get(productId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/serving/serving/products/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param productId productId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String productId, TypeReference responseType) throws IOException, InterruptedException { + return get(productId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/serving/serving/products}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/serving/serving/products") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/serving/products} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/serving/products} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/serving/products} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsRefreshesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsRefreshesClient.java new file mode 100644 index 0000000..becb107 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsRefreshesClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/serving/serving/products/refreshes. Generated by scripts/generate_endpoints.py. */ +public final class DataServingServingProductsRefreshesClient extends ServiceClient { + DataServingServingProductsRefreshesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes}. + * @param decoded response type + * @param productId productId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/serving/serving/products/{param}/refreshes") + public @Nullable T create(String productId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, List.of(productId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes} using a generic response type. + * @param decoded response type + * @param productId productId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String productId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, List.of(productId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes} without query parameters. + * @param decoded response type + * @param productId productId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String productId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(productId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes} without query parameters using a generic response type. + * @param decoded response type + * @param productId productId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String productId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(productId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsCapabilitiesClient.java new file mode 100644 index 0000000..44d88f2 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/streams/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataStreamsCapabilitiesClient extends ServiceClient { + DataStreamsCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/streams/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/streams/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsClient.java new file mode 100644 index 0000000..7bbd421 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/streams. Generated by scripts/generate_endpoints.py. */ +public final class DataStreamsClient extends ServiceClient { + DataStreamsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataStreamsCapabilitiesClient capabilities() { + return new DataStreamsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataStreamsRunsClient runs() { + return new DataStreamsRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the streams resource client + */ + public DataStreamsStreamsClient streams() { + return new DataStreamsStreamsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/streams/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/streams/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/streams/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsRunsClient.java new file mode 100644 index 0000000..470332f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/streams/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataStreamsRunsClient extends ServiceClient { + DataStreamsRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/streams/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/streams/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/streams/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/streams/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/streams/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsClient.java new file mode 100644 index 0000000..92dd4d5 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/streams/streams. Generated by scripts/generate_endpoints.py. */ +public final class DataStreamsStreamsClient extends ServiceClient { + DataStreamsStreamsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the deliveries resource client + */ + public DataStreamsStreamsDeliveriesClient deliveries() { + return new DataStreamsStreamsDeliveriesClient(client()); + } + + /** + * Calls the contract route {@code GET /data/streams/streams}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/streams") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/streams} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/streams} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/streams/streams} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/streams/streams/{param}}. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/streams/streams/{param}") + public @Nullable T get(String streamId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS_PARAM, List.of(streamId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/streams/{param}} using a generic response type. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String streamId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS_PARAM, List.of(streamId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/streams/streams/{param}} without query parameters. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String streamId, Class responseType) throws IOException, InterruptedException { + return get(streamId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/streams/streams/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String streamId, TypeReference responseType) throws IOException, InterruptedException { + return get(streamId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/streams/streams}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/streams/streams") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/streams} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/streams} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/streams} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsDeliveriesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsDeliveriesClient.java new file mode 100644 index 0000000..a3d44f1 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsDeliveriesClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/streams/streams/deliveries. Generated by scripts/generate_endpoints.py. */ +public final class DataStreamsStreamsDeliveriesClient extends ServiceClient { + DataStreamsStreamsDeliveriesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries}. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/streams/streams/{param}/deliveries") + public @Nullable T create(String streamId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, List.of(streamId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries} using a generic response type. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String streamId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, List.of(streamId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries} without query parameters. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String streamId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(streamId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries} without query parameters using a generic response type. + * @param decoded response type + * @param streamId streamId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String streamId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(streamId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncCapabilitiesClient.java new file mode 100644 index 0000000..ad5901f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/sync/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataSyncCapabilitiesClient extends ServiceClient { + DataSyncCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/sync/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/sync/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncClient.java new file mode 100644 index 0000000..3ff64c7 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/sync. Generated by scripts/generate_endpoints.py. */ +public final class DataSyncClient extends ServiceClient { + DataSyncClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataSyncCapabilitiesClient capabilities() { + return new DataSyncCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataSyncRunsClient runs() { + return new DataSyncRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the sync resource client + */ + public DataSyncSyncClient sync() { + return new DataSyncSyncClient(client()); + } + + /** + * Calls the contract route {@code GET /data/sync/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/sync/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/sync/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncRunsClient.java new file mode 100644 index 0000000..3335169 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/sync/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataSyncRunsClient extends ServiceClient { + DataSyncRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/sync/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/sync/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/sync/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/sync/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/sync/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncClient.java new file mode 100644 index 0000000..6dc25aa --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/sync/sync. Generated by scripts/generate_endpoints.py. */ +public final class DataSyncSyncClient extends ServiceClient { + DataSyncSyncClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the jobs resource client + */ + public DataSyncSyncJobsClient jobs() { + return new DataSyncSyncJobsClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsClient.java new file mode 100644 index 0000000..519181a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/sync/sync/jobs. Generated by scripts/generate_endpoints.py. */ +public final class DataSyncSyncJobsClient extends ServiceClient { + DataSyncSyncJobsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the executions resource client + */ + public DataSyncSyncJobsExecutionsClient executions() { + return new DataSyncSyncJobsExecutionsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/sync/sync/jobs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/sync/jobs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/sync/jobs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/sync/jobs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/sync/sync/jobs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/sync/sync/jobs/{param}}. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/sync/sync/jobs/{param}") + public @Nullable T get(String jobId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS_PARAM, List.of(jobId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/sync/jobs/{param}} using a generic response type. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String jobId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS_PARAM, List.of(jobId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/sync/sync/jobs/{param}} without query parameters. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String jobId, Class responseType) throws IOException, InterruptedException { + return get(jobId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/sync/sync/jobs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String jobId, TypeReference responseType) throws IOException, InterruptedException { + return get(jobId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/sync/sync/jobs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/sync/sync/jobs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/sync/jobs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/sync/jobs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/sync/jobs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsExecutionsClient.java new file mode 100644 index 0000000..9213e17 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsExecutionsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/sync/sync/jobs/executions. Generated by scripts/generate_endpoints.py. */ +public final class DataSyncSyncJobsExecutionsClient extends ServiceClient { + DataSyncSyncJobsExecutionsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions}. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/sync/sync/jobs/{param}/executions") + public @Nullable T create(String jobId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions} using a generic response type. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String jobId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions} without query parameters. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String jobId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(jobId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions} without query parameters using a generic response type. + * @param decoded response type + * @param jobId jobId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String jobId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(jobId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsCapabilitiesClient.java new file mode 100644 index 0000000..bf3a408 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/transformations/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class DataTransformationsCapabilitiesClient extends ServiceClient { + DataTransformationsCapabilitiesClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/transformations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsClient.java new file mode 100644 index 0000000..a43d76e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/transformations. Generated by scripts/generate_endpoints.py. */ +public final class DataTransformationsClient extends ServiceClient { + DataTransformationsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public DataTransformationsCapabilitiesClient capabilities() { + return new DataTransformationsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public DataTransformationsRunsClient runs() { + return new DataTransformationsRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the transformations resource client + */ + public DataTransformationsTransformationsClient transformations() { + return new DataTransformationsTransformationsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/transformations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsRunsClient.java new file mode 100644 index 0000000..079f8dc --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/transformations/runs. Generated by scripts/generate_endpoints.py. */ +public final class DataTransformationsRunsClient extends ServiceClient { + DataTransformationsRunsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code GET /data/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/transformations/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsClient.java new file mode 100644 index 0000000..3c59eca --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/transformations/transformations. Generated by scripts/generate_endpoints.py. */ +public final class DataTransformationsTransformationsClient extends ServiceClient { + DataTransformationsTransformationsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** Returns the client for the nested resource. + * @return the executions resource client + */ + public DataTransformationsTransformationsExecutionsClient executions() { + return new DataTransformationsTransformationsExecutionsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/transformations") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/transformations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/transformations} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/transformations} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/transformations/transformations/{param}}. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|GET|/data/transformations/transformations/{param}") + public @Nullable T get(String transformationId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, List.of(transformationId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/transformations/{param}} using a generic response type. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String transformationId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, List.of(transformationId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/transformations/{param}} without query parameters. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String transformationId, Class responseType) throws IOException, InterruptedException { + return get(transformationId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/transformations/transformations/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String transformationId, TypeReference responseType) throws IOException, InterruptedException { + return get(transformationId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/transformations/transformations") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/transformations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/transformations} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/transformations} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsExecutionsClient.java new file mode 100644 index 0000000..fd9d67e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsExecutionsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for data/transformations/transformations/executions. Generated by scripts/generate_endpoints.py. */ +public final class DataTransformationsTransformationsExecutionsClient extends ServiceClient { + DataTransformationsTransformationsExecutionsClient(ApiClient client) { + super(ApiService.DATA, client); + } + + /** + * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions}. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("data|POST|/data/transformations/transformations/{param}/executions") + public @Nullable T create(String transformationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, List.of(transformationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions} using a generic response type. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String transformationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, List.of(transformationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions} without query parameters. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String transformationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(transformationId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions} without query parameters using a generic response type. + * @param decoded response type + * @param transformationId transformationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String transformationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(transformationId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java b/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java index 10ca367..3eb1e3a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java +++ b/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java @@ -2,1927 +2,2035 @@ /** Contract-backed routes grouped by API service. Generated by scripts/generate_endpoints.py. */ public final class Endpoints { - private Endpoints() {} + private Endpoints() {} - public static final class Agents { - private Agents() {} + public static final class Agents { + private Agents() {} - /** Endpoint for {@code DELETE /agents/{param}}. */ - public static final Endpoint DELETE_AGENTS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.DELETE, "/agents/{param}"); - /** Endpoint for {@code GET /action-runs/{param}}. */ - public static final Endpoint GET_ACTION_RUNS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/action-runs/{param}"); - /** Endpoint for {@code GET /agents}. */ - public static final Endpoint GET_AGENTS = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents"); - /** Endpoint for {@code GET /agents/health}. */ - public static final Endpoint GET_AGENTS_HEALTH = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/health"); - /** Endpoint for {@code GET /agents/runs/{param}}. */ - public static final Endpoint GET_AGENTS_RUNS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}"); - /** Endpoint for {@code GET /agents/runs/{param}/conversation}. */ - public static final Endpoint GET_AGENTS_RUNS_PARAM_CONVERSATION = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}/conversation"); - /** Endpoint for {@code GET /agents/{param}}. */ - public static final Endpoint GET_AGENTS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}"); - /** Endpoint for {@code GET /agents/{param}/runs}. */ - public static final Endpoint GET_AGENTS_PARAM_RUNS = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/runs"); - /** Endpoint for {@code GET /agents/{param}/versions}. */ - public static final Endpoint GET_AGENTS_PARAM_VERSIONS = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/versions"); - /** Endpoint for {@code POST /agents}. */ - public static final Endpoint POST_AGENTS = new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents"); - /** Endpoint for {@code POST /agents/{param}/rollback}. */ - public static final Endpoint POST_AGENTS_PARAM_ROLLBACK = - new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/rollback"); - /** Endpoint for {@code POST /agents/{param}/runs}. */ - public static final Endpoint POST_AGENTS_PARAM_RUNS = - new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/runs"); - /** Endpoint for {@code PUT /agents/{param}}. */ - public static final Endpoint PUT_AGENTS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.PUT, "/agents/{param}"); - /** Endpoint for {@code STREAM /agents/runs/{param}/stream}. */ - public static final Endpoint STREAM_AGENTS_RUNS_PARAM_STREAM = - new Endpoint(ApiService.AGENTS, HttpMethod.STREAM, "/agents/runs/{param}/stream"); - } + /** Endpoint for {@code DELETE /agents/{param}}. */ + public static final Endpoint DELETE_AGENTS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.DELETE, "/agents/{param}"); + /** Endpoint for {@code GET /action-runs/{param}}. */ + public static final Endpoint GET_ACTION_RUNS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/action-runs/{param}"); + /** Endpoint for {@code GET /agents}. */ + public static final Endpoint GET_AGENTS = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents"); + /** Endpoint for {@code GET /agents/health}. */ + public static final Endpoint GET_AGENTS_HEALTH = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/health"); + /** Endpoint for {@code GET /agents/runs/{param}}. */ + public static final Endpoint GET_AGENTS_RUNS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}"); + /** Endpoint for {@code GET /agents/runs/{param}/conversation}. */ + public static final Endpoint GET_AGENTS_RUNS_PARAM_CONVERSATION = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}/conversation"); + /** Endpoint for {@code GET /agents/{param}}. */ + public static final Endpoint GET_AGENTS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}"); + /** Endpoint for {@code GET /agents/{param}/runs}. */ + public static final Endpoint GET_AGENTS_PARAM_RUNS = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/runs"); + /** Endpoint for {@code GET /agents/{param}/versions}. */ + public static final Endpoint GET_AGENTS_PARAM_VERSIONS = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/versions"); + /** Endpoint for {@code POST /agents}. */ + public static final Endpoint POST_AGENTS = + new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents"); + /** Endpoint for {@code POST /agents/{param}/rollback}. */ + public static final Endpoint POST_AGENTS_PARAM_ROLLBACK = + new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/rollback"); + /** Endpoint for {@code POST /agents/{param}/runs}. */ + public static final Endpoint POST_AGENTS_PARAM_RUNS = + new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/runs"); + /** Endpoint for {@code PUT /agents/{param}}. */ + public static final Endpoint PUT_AGENTS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.PUT, "/agents/{param}"); + /** Endpoint for {@code STREAM /agents/runs/{param}/stream}. */ + public static final Endpoint STREAM_AGENTS_RUNS_PARAM_STREAM = + new Endpoint(ApiService.AGENTS, HttpMethod.STREAM, "/agents/runs/{param}/stream"); + } - public static final class Ai { - private Ai() {} + public static final class Ai { + private Ai() {} - /** Endpoint for {@code GET /health}. */ - public static final Endpoint GET_HEALTH = new Endpoint(ApiService.AI, HttpMethod.GET, "/health"); - /** Endpoint for {@code GET /internal/models}. */ - public static final Endpoint GET_INTERNAL_MODELS = - new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models"); - /** Endpoint for {@code GET /internal/models/defaults}. */ - public static final Endpoint GET_INTERNAL_MODELS_DEFAULTS = - new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models/defaults"); - /** Endpoint for {@code POST /ai/chat/completions}. */ - public static final Endpoint POST_AI_CHAT_COMPLETIONS = - new Endpoint(ApiService.AI, HttpMethod.POST, "/ai/chat/completions"); - /** Endpoint for {@code POST /internal/embeddings}. */ - public static final Endpoint POST_INTERNAL_EMBEDDINGS = - new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/embeddings"); - /** Endpoint for {@code POST /internal/predictions}. */ - public static final Endpoint POST_INTERNAL_PREDICTIONS = - new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/predictions"); - /** Endpoint for {@code POST /internal/rerank}. */ - public static final Endpoint POST_INTERNAL_RERANK = - new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/rerank"); - /** Endpoint for {@code POSTFORMDATA /internal/predictions}. */ - public static final Endpoint POSTFORMDATA_INTERNAL_PREDICTIONS = - new Endpoint(ApiService.AI, HttpMethod.POSTFORMDATA, "/internal/predictions"); - /** Endpoint for {@code POSTRAW /internal/predictions}. */ - public static final Endpoint POSTRAW_INTERNAL_PREDICTIONS = - new Endpoint(ApiService.AI, HttpMethod.POSTRAW, "/internal/predictions"); - } + /** Endpoint for {@code GET /health}. */ + public static final Endpoint GET_HEALTH = + new Endpoint(ApiService.AI, HttpMethod.GET, "/health"); + /** Endpoint for {@code GET /internal/models}. */ + public static final Endpoint GET_INTERNAL_MODELS = + new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models"); + /** Endpoint for {@code GET /internal/models/defaults}. */ + public static final Endpoint GET_INTERNAL_MODELS_DEFAULTS = + new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models/defaults"); + /** Endpoint for {@code POST /ai/chat/completions}. */ + public static final Endpoint POST_AI_CHAT_COMPLETIONS = + new Endpoint(ApiService.AI, HttpMethod.POST, "/ai/chat/completions"); + /** Endpoint for {@code POST /internal/embeddings}. */ + public static final Endpoint POST_INTERNAL_EMBEDDINGS = + new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/embeddings"); + /** Endpoint for {@code POST /internal/predictions}. */ + public static final Endpoint POST_INTERNAL_PREDICTIONS = + new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/predictions"); + /** Endpoint for {@code POST /internal/rerank}. */ + public static final Endpoint POST_INTERNAL_RERANK = + new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/rerank"); + /** Endpoint for {@code POSTFORMDATA /internal/predictions}. */ + public static final Endpoint POSTFORMDATA_INTERNAL_PREDICTIONS = + new Endpoint(ApiService.AI, HttpMethod.POSTFORMDATA, "/internal/predictions"); + /** Endpoint for {@code POSTRAW /internal/predictions}. */ + public static final Endpoint POSTRAW_INTERNAL_PREDICTIONS = + new Endpoint(ApiService.AI, HttpMethod.POSTRAW, "/internal/predictions"); + } - public static final class Audit { - private Audit() {} + public static final class Audit { + private Audit() {} - /** Endpoint for {@code GET /audit/events}. */ - public static final Endpoint GET_AUDIT_EVENTS = new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events"); - /** Endpoint for {@code GET /audit/events/{param}}. */ - public static final Endpoint GET_AUDIT_EVENTS_PARAM = - new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events/{param}"); - /** Endpoint for {@code POST /audit/events}. */ - public static final Endpoint POST_AUDIT_EVENTS = - new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events"); - /** Endpoint for {@code POST /audit/events/batch}. */ - public static final Endpoint POST_AUDIT_EVENTS_BATCH = - new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events/batch"); - } + /** Endpoint for {@code GET /audit/events}. */ + public static final Endpoint GET_AUDIT_EVENTS = + new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events"); + /** Endpoint for {@code GET /audit/events/{param}}. */ + public static final Endpoint GET_AUDIT_EVENTS_PARAM = + new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events/{param}"); + /** Endpoint for {@code POST /audit/events}. */ + public static final Endpoint POST_AUDIT_EVENTS = + new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events"); + /** Endpoint for {@code POST /audit/events/batch}. */ + public static final Endpoint POST_AUDIT_EVENTS_BATCH = + new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events/batch"); + } - public static final class Auth { - private Auth() {} + public static final class Auth { + private Auth() {} - /** Endpoint for {@code DELETE /auth/account/mfa/{param}}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_MFA_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/mfa/{param}"); - /** Endpoint for {@code DELETE /auth/account/profile}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_PROFILE = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/profile"); - /** Endpoint for {@code DELETE /auth/account/security/api-keys/{param}}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/api-keys/{param}"); - /** Endpoint for {@code DELETE /auth/account/security/devices/{param}}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/devices/{param}"); - /** Endpoint for {@code DELETE /auth/account/sessions/{param}}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_SESSIONS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/sessions/{param}"); - /** Endpoint for {@code DELETE /auth/admin/users/{param}}. */ - public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}"); - /** Endpoint for {@code DELETE /auth/admin/users/{param}/factors/{param}}. */ - public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}/factors/{param}"); - /** Endpoint for {@code DELETE /auth/factors/{param}}. */ - public static final Endpoint DELETE_AUTH_FACTORS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/factors/{param}"); - /** Endpoint for {@code DELETE /auth/user/identities/{param}}. */ - public static final Endpoint DELETE_AUTH_USER_IDENTITIES_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/user/identities/{param}"); - /** Endpoint for {@code GET /auth/account/audit-log}. */ - public static final Endpoint GET_AUTH_ACCOUNT_AUDIT_LOG = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/audit-log"); - /** Endpoint for {@code GET /auth/account/mfa}. */ - public static final Endpoint GET_AUTH_ACCOUNT_MFA = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa"); - /** Endpoint for {@code GET /auth/account/mfa/{param}}. */ - public static final Endpoint GET_AUTH_ACCOUNT_MFA_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa/{param}"); - /** Endpoint for {@code GET /auth/account/profile}. */ - public static final Endpoint GET_AUTH_ACCOUNT_PROFILE = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/profile"); - /** Endpoint for {@code GET /auth/account/security/api-keys}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys"); - /** Endpoint for {@code GET /auth/account/security/api-keys/{param}}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys/{param}"); - /** Endpoint for {@code GET /auth/account/security/devices}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices"); - /** Endpoint for {@code GET /auth/account/security/devices/{param}}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices/{param}"); - /** Endpoint for {@code GET /auth/account/sessions}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SESSIONS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/sessions"); - /** Endpoint for {@code GET /auth/admin/users}. */ - public static final Endpoint GET_AUTH_ADMIN_USERS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users"); - /** Endpoint for {@code GET /auth/admin/users/{param}}. */ - public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}"); - /** Endpoint for {@code GET /auth/admin/users/{param}/factors}. */ - public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM_FACTORS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}/factors"); - /** Endpoint for {@code GET /auth/auth/session}. */ - public static final Endpoint GET_AUTH_AUTH_SESSION = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/auth/session"); - /** Endpoint for {@code GET /auth/factors}. */ - public static final Endpoint GET_AUTH_FACTORS = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/factors"); - /** Endpoint for {@code GET /auth/mfa/status}. */ - public static final Endpoint GET_AUTH_MFA_STATUS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/mfa/status"); - /** Endpoint for {@code GET /auth/user}. */ - public static final Endpoint GET_AUTH_USER = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user"); - /** Endpoint for {@code GET /auth/user/identities}. */ - public static final Endpoint GET_AUTH_USER_IDENTITIES = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user/identities"); - /** Endpoint for {@code POST /auth/account/mfa}. */ - public static final Endpoint POST_AUTH_ACCOUNT_MFA = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa"); - /** Endpoint for {@code POST /auth/account/mfa/{param}/challenge}. */ - public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/challenge"); - /** Endpoint for {@code POST /auth/account/mfa/{param}/verify}. */ - public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/verify"); - /** Endpoint for {@code POST /auth/account/password}. */ - public static final Endpoint POST_AUTH_ACCOUNT_PASSWORD = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/password"); - /** Endpoint for {@code POST /auth/account/security/api-keys}. */ - public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_API_KEYS = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/api-keys"); - /** Endpoint for {@code POST /auth/account/security/devices}. */ - public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices"); - /** Endpoint for {@code POST /auth/account/security/devices/{param}/trust}. */ - public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices/{param}/trust"); - /** Endpoint for {@code POST /auth/account/sessions/{param}/extend}. */ - public static final Endpoint POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/sessions/{param}/extend"); - /** Endpoint for {@code POST /auth/admin/generate_link}. */ - public static final Endpoint POST_AUTH_ADMIN_GENERATE_LINK = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/generate_link"); - /** Endpoint for {@code POST /auth/admin/logout}. */ - public static final Endpoint POST_AUTH_ADMIN_LOGOUT = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/logout"); - /** Endpoint for {@code POST /auth/admin/users}. */ - public static final Endpoint POST_AUTH_ADMIN_USERS = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/users"); - /** Endpoint for {@code POST /auth/auth/session}. */ - public static final Endpoint POST_AUTH_AUTH_SESSION = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/auth/session"); - /** Endpoint for {@code POST /auth/authorize}. */ - public static final Endpoint POST_AUTH_AUTHORIZE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/authorize"); - /** Endpoint for {@code POST /auth/factors}. */ - public static final Endpoint POST_AUTH_FACTORS = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors"); - /** Endpoint for {@code POST /auth/factors/{param}/challenge}. */ - public static final Endpoint POST_AUTH_FACTORS_PARAM_CHALLENGE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/challenge"); - /** Endpoint for {@code POST /auth/factors/{param}/verify}. */ - public static final Endpoint POST_AUTH_FACTORS_PARAM_VERIFY = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/verify"); - /** Endpoint for {@code POST /auth/invite}. */ - public static final Endpoint POST_AUTH_INVITE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/invite"); - /** Endpoint for {@code POST /auth/login}. */ - public static final Endpoint POST_AUTH_LOGIN = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/login"); - /** Endpoint for {@code POST /auth/logout}. */ - public static final Endpoint POST_AUTH_LOGOUT = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/logout"); - /** Endpoint for {@code POST /auth/mfa/backup-codes/regenerate}. */ - public static final Endpoint POST_AUTH_MFA_BACKUP_CODES_REGENERATE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/backup-codes/regenerate"); - /** Endpoint for {@code POST /auth/mfa/disable}. */ - public static final Endpoint POST_AUTH_MFA_DISABLE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/disable"); - /** Endpoint for {@code POST /auth/mfa/enable}. */ - public static final Endpoint POST_AUTH_MFA_ENABLE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/enable"); - /** Endpoint for {@code POST /auth/mfa/setup}. */ - public static final Endpoint POST_AUTH_MFA_SETUP = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/setup"); - /** Endpoint for {@code POST /auth/mfa/verify}. */ - public static final Endpoint POST_AUTH_MFA_VERIFY = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/verify"); - /** Endpoint for {@code POST /auth/otp}. */ - public static final Endpoint POST_AUTH_OTP = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/otp"); - /** Endpoint for {@code POST /auth/reauthenticate}. */ - public static final Endpoint POST_AUTH_REAUTHENTICATE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/reauthenticate"); - /** Endpoint for {@code POST /auth/recover}. */ - public static final Endpoint POST_AUTH_RECOVER = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/recover"); - /** Endpoint for {@code POST /auth/resend}. */ - public static final Endpoint POST_AUTH_RESEND = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/resend"); - /** Endpoint for {@code POST /auth/signup}. */ - public static final Endpoint POST_AUTH_SIGNUP = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/signup"); - /** Endpoint for {@code POST /auth/sso}. */ - public static final Endpoint POST_AUTH_SSO = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/sso"); - /** Endpoint for {@code POST /auth/token?grant_type=id_token}. */ - public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=id_token"); - /** Endpoint for {@code POST /auth/token?grant_type=password}. */ - public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=password"); - /** Endpoint for {@code POST /auth/token?grant_type=pkce}. */ - public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PKCE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=pkce"); - /** Endpoint for {@code POST /auth/token?grant_type=refresh_token}. */ - public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=refresh_token"); - /** Endpoint for {@code POST /auth/user/identities}. */ - public static final Endpoint POST_AUTH_USER_IDENTITIES = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/user/identities"); - /** Endpoint for {@code POST /auth/verify}. */ - public static final Endpoint POST_AUTH_VERIFY = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/verify"); - /** Endpoint for {@code PUT /auth/account/profile}. */ - public static final Endpoint PUT_AUTH_ACCOUNT_PROFILE = - new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/profile"); - /** Endpoint for {@code PUT /auth/account/security/api-keys/{param}}. */ - public static final Endpoint PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/security/api-keys/{param}"); - /** Endpoint for {@code PUT /auth/admin/users/{param}}. */ - public static final Endpoint PUT_AUTH_ADMIN_USERS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/admin/users/{param}"); - /** Endpoint for {@code PUT /auth/user}. */ - public static final Endpoint PUT_AUTH_USER = new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/user"); - } + /** Endpoint for {@code DELETE /auth/account/mfa/{param}}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_MFA_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/mfa/{param}"); + /** Endpoint for {@code DELETE /auth/account/profile}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_PROFILE = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/profile"); + /** Endpoint for {@code DELETE /auth/account/security/api-keys/{param}}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code DELETE /auth/account/security/devices/{param}}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/devices/{param}"); + /** Endpoint for {@code DELETE /auth/account/sessions/{param}}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_SESSIONS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/sessions/{param}"); + /** Endpoint for {@code DELETE /auth/admin/users/{param}}. */ + public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}"); + /** Endpoint for {@code DELETE /auth/admin/users/{param}/factors/{param}}. */ + public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM = + new Endpoint( + ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}/factors/{param}"); + /** Endpoint for {@code DELETE /auth/factors/{param}}. */ + public static final Endpoint DELETE_AUTH_FACTORS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/factors/{param}"); + /** Endpoint for {@code DELETE /auth/user/identities/{param}}. */ + public static final Endpoint DELETE_AUTH_USER_IDENTITIES_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/user/identities/{param}"); + /** Endpoint for {@code GET /auth/account/audit-log}. */ + public static final Endpoint GET_AUTH_ACCOUNT_AUDIT_LOG = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/audit-log"); + /** Endpoint for {@code GET /auth/account/mfa}. */ + public static final Endpoint GET_AUTH_ACCOUNT_MFA = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa"); + /** Endpoint for {@code GET /auth/account/mfa/{param}}. */ + public static final Endpoint GET_AUTH_ACCOUNT_MFA_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa/{param}"); + /** Endpoint for {@code GET /auth/account/profile}. */ + public static final Endpoint GET_AUTH_ACCOUNT_PROFILE = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/profile"); + /** Endpoint for {@code GET /auth/account/security/api-keys}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys"); + /** Endpoint for {@code GET /auth/account/security/api-keys/{param}}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code GET /auth/account/security/devices}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices"); + /** Endpoint for {@code GET /auth/account/security/devices/{param}}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices/{param}"); + /** Endpoint for {@code GET /auth/account/sessions}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SESSIONS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/sessions"); + /** Endpoint for {@code GET /auth/admin/users}. */ + public static final Endpoint GET_AUTH_ADMIN_USERS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users"); + /** Endpoint for {@code GET /auth/admin/users/{param}}. */ + public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}"); + /** Endpoint for {@code GET /auth/admin/users/{param}/factors}. */ + public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM_FACTORS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}/factors"); + /** Endpoint for {@code GET /auth/auth/session}. */ + public static final Endpoint GET_AUTH_AUTH_SESSION = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/auth/session"); + /** Endpoint for {@code GET /auth/factors}. */ + public static final Endpoint GET_AUTH_FACTORS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/factors"); + /** Endpoint for {@code GET /auth/mfa/status}. */ + public static final Endpoint GET_AUTH_MFA_STATUS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/mfa/status"); + /** Endpoint for {@code GET /auth/user}. */ + public static final Endpoint GET_AUTH_USER = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user"); + /** Endpoint for {@code GET /auth/user/identities}. */ + public static final Endpoint GET_AUTH_USER_IDENTITIES = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user/identities"); + /** Endpoint for {@code POST /auth/account/mfa}. */ + public static final Endpoint POST_AUTH_ACCOUNT_MFA = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa"); + /** Endpoint for {@code POST /auth/account/mfa/{param}/challenge}. */ + public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/challenge"); + /** Endpoint for {@code POST /auth/account/mfa/{param}/verify}. */ + public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/verify"); + /** Endpoint for {@code POST /auth/account/password}. */ + public static final Endpoint POST_AUTH_ACCOUNT_PASSWORD = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/password"); + /** Endpoint for {@code POST /auth/account/security/api-keys}. */ + public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_API_KEYS = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/api-keys"); + /** Endpoint for {@code POST /auth/account/security/devices}. */ + public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices"); + /** Endpoint for {@code POST /auth/account/security/devices/{param}/trust}. */ + public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST = + new Endpoint( + ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices/{param}/trust"); + /** Endpoint for {@code POST /auth/account/sessions/{param}/extend}. */ + public static final Endpoint POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/sessions/{param}/extend"); + /** Endpoint for {@code POST /auth/admin/generate_link}. */ + public static final Endpoint POST_AUTH_ADMIN_GENERATE_LINK = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/generate_link"); + /** Endpoint for {@code POST /auth/admin/logout}. */ + public static final Endpoint POST_AUTH_ADMIN_LOGOUT = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/logout"); + /** Endpoint for {@code POST /auth/admin/users}. */ + public static final Endpoint POST_AUTH_ADMIN_USERS = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/users"); + /** Endpoint for {@code POST /auth/auth/session}. */ + public static final Endpoint POST_AUTH_AUTH_SESSION = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/auth/session"); + /** Endpoint for {@code POST /auth/authorize}. */ + public static final Endpoint POST_AUTH_AUTHORIZE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/authorize"); + /** Endpoint for {@code POST /auth/factors}. */ + public static final Endpoint POST_AUTH_FACTORS = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors"); + /** Endpoint for {@code POST /auth/factors/{param}/challenge}. */ + public static final Endpoint POST_AUTH_FACTORS_PARAM_CHALLENGE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/challenge"); + /** Endpoint for {@code POST /auth/factors/{param}/verify}. */ + public static final Endpoint POST_AUTH_FACTORS_PARAM_VERIFY = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/verify"); + /** Endpoint for {@code POST /auth/invite}. */ + public static final Endpoint POST_AUTH_INVITE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/invite"); + /** Endpoint for {@code POST /auth/login}. */ + public static final Endpoint POST_AUTH_LOGIN = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/login"); + /** Endpoint for {@code POST /auth/logout}. */ + public static final Endpoint POST_AUTH_LOGOUT = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/logout"); + /** Endpoint for {@code POST /auth/mfa/backup-codes/regenerate}. */ + public static final Endpoint POST_AUTH_MFA_BACKUP_CODES_REGENERATE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/backup-codes/regenerate"); + /** Endpoint for {@code POST /auth/mfa/disable}. */ + public static final Endpoint POST_AUTH_MFA_DISABLE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/disable"); + /** Endpoint for {@code POST /auth/mfa/enable}. */ + public static final Endpoint POST_AUTH_MFA_ENABLE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/enable"); + /** Endpoint for {@code POST /auth/mfa/setup}. */ + public static final Endpoint POST_AUTH_MFA_SETUP = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/setup"); + /** Endpoint for {@code POST /auth/mfa/verify}. */ + public static final Endpoint POST_AUTH_MFA_VERIFY = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/verify"); + /** Endpoint for {@code POST /auth/otp}. */ + public static final Endpoint POST_AUTH_OTP = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/otp"); + /** Endpoint for {@code POST /auth/reauthenticate}. */ + public static final Endpoint POST_AUTH_REAUTHENTICATE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/reauthenticate"); + /** Endpoint for {@code POST /auth/recover}. */ + public static final Endpoint POST_AUTH_RECOVER = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/recover"); + /** Endpoint for {@code POST /auth/resend}. */ + public static final Endpoint POST_AUTH_RESEND = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/resend"); + /** Endpoint for {@code POST /auth/signup}. */ + public static final Endpoint POST_AUTH_SIGNUP = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/signup"); + /** Endpoint for {@code POST /auth/sso}. */ + public static final Endpoint POST_AUTH_SSO = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/sso"); + /** Endpoint for {@code POST /auth/token?grant_type=id_token}. */ + public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=id_token"); + /** Endpoint for {@code POST /auth/token?grant_type=password}. */ + public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=password"); + /** Endpoint for {@code POST /auth/token?grant_type=pkce}. */ + public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PKCE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=pkce"); + /** Endpoint for {@code POST /auth/token?grant_type=refresh_token}. */ + public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=refresh_token"); + /** Endpoint for {@code POST /auth/user/identities}. */ + public static final Endpoint POST_AUTH_USER_IDENTITIES = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/user/identities"); + /** Endpoint for {@code POST /auth/verify}. */ + public static final Endpoint POST_AUTH_VERIFY = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/verify"); + /** Endpoint for {@code PUT /auth/account/profile}. */ + public static final Endpoint PUT_AUTH_ACCOUNT_PROFILE = + new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/profile"); + /** Endpoint for {@code PUT /auth/account/security/api-keys/{param}}. */ + public static final Endpoint PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code PUT /auth/admin/users/{param}}. */ + public static final Endpoint PUT_AUTH_ADMIN_USERS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/admin/users/{param}"); + /** Endpoint for {@code PUT /auth/user}. */ + public static final Endpoint PUT_AUTH_USER = + new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/user"); + } - public static final class Billing { - private Billing() {} + public static final class Billing { + private Billing() {} - /** Endpoint for {@code GET /billing/addons/{param}/entitlements}. */ - public static final Endpoint GET_BILLING_ADDONS_PARAM_ENTITLEMENTS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/addons/{param}/entitlements"); - /** Endpoint for {@code GET /billing/customers/portal/{param}}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PORTAL_PARAM = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/portal/{param}"); - /** Endpoint for {@code GET /billing/customers/{param}/entitlements}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/entitlements"); - /** Endpoint for {@code GET /billing/customers/{param}/invoices/summary}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/invoices/summary"); - /** Endpoint for {@code GET /billing/customers/{param}/usage}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_USAGE = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/usage"); - /** Endpoint for {@code GET /billing/customers/{param}/wallets}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_WALLETS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/wallets"); - /** Endpoint for {@code GET /billing/plans/{param}/entitlements}. */ - public static final Endpoint GET_BILLING_PLANS_PARAM_ENTITLEMENTS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/plans/{param}/entitlements"); - /** Endpoint for {@code GET /billing/prices/lookup/{param}}. */ - public static final Endpoint GET_BILLING_PRICES_LOOKUP_PARAM = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/prices/lookup/{param}"); - /** Endpoint for {@code GET /billing/subscriptions/{param}/entitlements}. */ - public static final Endpoint GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/subscriptions/{param}/entitlements"); - /** Endpoint for {@code GET /billing/wallets/{param}/balance/real-time}. */ - public static final Endpoint GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/balance/real-time"); - /** Endpoint for {@code GET /billing/wallets/{param}/transactions}. */ - public static final Endpoint GET_BILLING_WALLETS_PARAM_TRANSACTIONS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/transactions"); - /** Endpoint for {@code GETRAW /billing/invoices/{param}/pdf}. */ - public static final Endpoint GETRAW_BILLING_INVOICES_PARAM_PDF = - new Endpoint(ApiService.BILLING, HttpMethod.GETRAW, "/billing/invoices/{param}/pdf"); - /** Endpoint for {@code POST /billing/invoices/preview}. */ - public static final Endpoint POST_BILLING_INVOICES_PREVIEW = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/preview"); - /** Endpoint for {@code POST /billing/invoices/{param}/finalize}. */ - public static final Endpoint POST_BILLING_INVOICES_PARAM_FINALIZE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/finalize"); - /** Endpoint for {@code POST /billing/invoices/{param}/void}. */ - public static final Endpoint POST_BILLING_INVOICES_PARAM_VOID = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/void"); - /** Endpoint for {@code POST /billing/meters/{param}/disable}. */ - public static final Endpoint POST_BILLING_METERS_PARAM_DISABLE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/meters/{param}/disable"); - /** Endpoint for {@code POST /billing/plans/{param}/clone}. */ - public static final Endpoint POST_BILLING_PLANS_PARAM_CLONE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/plans/{param}/clone"); - /** Endpoint for {@code POST /billing/subscriptions/{param}/activate}. */ - public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/activate"); - /** Endpoint for {@code POST /billing/subscriptions/{param}/cancel}. */ - public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/cancel"); - /** Endpoint for {@code POST /billing/subscriptions/{param}/pause}. */ - public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/pause"); - /** Endpoint for {@code POST /billing/subscriptions/{param}/resume}. */ - public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/resume"); - /** Endpoint for {@code POST /billing/wallets/{param}/terminate}. */ - public static final Endpoint POST_BILLING_WALLETS_PARAM_TERMINATE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/terminate"); - /** Endpoint for {@code POST /billing/wallets/{param}/top-up}. */ - public static final Endpoint POST_BILLING_WALLETS_PARAM_TOP_UP = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/top-up"); - } + /** Endpoint for {@code GET /billing/addons/{param}/entitlements}. */ + public static final Endpoint GET_BILLING_ADDONS_PARAM_ENTITLEMENTS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/addons/{param}/entitlements"); + /** Endpoint for {@code GET /billing/customers/portal/{param}}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PORTAL_PARAM = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/portal/{param}"); + /** Endpoint for {@code GET /billing/customers/{param}/entitlements}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/entitlements"); + /** Endpoint for {@code GET /billing/customers/{param}/invoices/summary}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY = + new Endpoint( + ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/invoices/summary"); + /** Endpoint for {@code GET /billing/customers/{param}/usage}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_USAGE = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/usage"); + /** Endpoint for {@code GET /billing/customers/{param}/wallets}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_WALLETS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/wallets"); + /** Endpoint for {@code GET /billing/plans/{param}/entitlements}. */ + public static final Endpoint GET_BILLING_PLANS_PARAM_ENTITLEMENTS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/plans/{param}/entitlements"); + /** Endpoint for {@code GET /billing/prices/lookup/{param}}. */ + public static final Endpoint GET_BILLING_PRICES_LOOKUP_PARAM = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/prices/lookup/{param}"); + /** Endpoint for {@code GET /billing/subscriptions/{param}/entitlements}. */ + public static final Endpoint GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS = + new Endpoint( + ApiService.BILLING, HttpMethod.GET, "/billing/subscriptions/{param}/entitlements"); + /** Endpoint for {@code GET /billing/wallets/{param}/balance/real-time}. */ + public static final Endpoint GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME = + new Endpoint( + ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/balance/real-time"); + /** Endpoint for {@code GET /billing/wallets/{param}/transactions}. */ + public static final Endpoint GET_BILLING_WALLETS_PARAM_TRANSACTIONS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/transactions"); + /** Endpoint for {@code GETRAW /billing/invoices/{param}/pdf}. */ + public static final Endpoint GETRAW_BILLING_INVOICES_PARAM_PDF = + new Endpoint(ApiService.BILLING, HttpMethod.GETRAW, "/billing/invoices/{param}/pdf"); + /** Endpoint for {@code POST /billing/invoices/preview}. */ + public static final Endpoint POST_BILLING_INVOICES_PREVIEW = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/preview"); + /** Endpoint for {@code POST /billing/invoices/{param}/finalize}. */ + public static final Endpoint POST_BILLING_INVOICES_PARAM_FINALIZE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/finalize"); + /** Endpoint for {@code POST /billing/invoices/{param}/void}. */ + public static final Endpoint POST_BILLING_INVOICES_PARAM_VOID = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/void"); + /** Endpoint for {@code POST /billing/meters/{param}/disable}. */ + public static final Endpoint POST_BILLING_METERS_PARAM_DISABLE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/meters/{param}/disable"); + /** Endpoint for {@code POST /billing/plans/{param}/clone}. */ + public static final Endpoint POST_BILLING_PLANS_PARAM_CLONE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/plans/{param}/clone"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/activate}. */ + public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE = + new Endpoint( + ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/activate"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/cancel}. */ + public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/cancel"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/pause}. */ + public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/pause"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/resume}. */ + public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/resume"); + /** Endpoint for {@code POST /billing/wallets/{param}/terminate}. */ + public static final Endpoint POST_BILLING_WALLETS_PARAM_TERMINATE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/terminate"); + /** Endpoint for {@code POST /billing/wallets/{param}/top-up}. */ + public static final Endpoint POST_BILLING_WALLETS_PARAM_TOP_UP = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/top-up"); + } - public static final class Blob { - private Blob() {} + public static final class Blob { + private Blob() {} - /** Endpoint for {@code DELETE /blob/object/{param}/{param}}. */ - public static final Endpoint DELETE_BLOB_OBJECT_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.DELETE, "/blob/object/{param}/{param}"); - /** Endpoint for {@code GET /blob/object/info/{param}/{param}}. */ - public static final Endpoint GET_BLOB_OBJECT_INFO_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/info/{param}/{param}"); - /** Endpoint for {@code GET /blob/object/{param}/{param}}. */ - public static final Endpoint GET_BLOB_OBJECT_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/{param}/{param}"); - /** Endpoint for {@code POST /blob/object/copy}. */ - public static final Endpoint POST_BLOB_OBJECT_COPY = - new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/copy"); - /** Endpoint for {@code POST /blob/object/list/{param}}. */ - public static final Endpoint POST_BLOB_OBJECT_LIST_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/list/{param}"); - /** Endpoint for {@code POST /blob/object/move}. */ - public static final Endpoint POST_BLOB_OBJECT_MOVE = - new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/move"); - /** Endpoint for {@code POST /blob/object/sign/{param}/{param}}. */ - public static final Endpoint POST_BLOB_OBJECT_SIGN_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/sign/{param}/{param}"); - /** Endpoint for {@code POSTFORMDATA /blob/object/{param}/{param}}. */ - public static final Endpoint POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.POSTFORMDATA, "/blob/object/{param}/{param}"); - } + /** Endpoint for {@code DELETE /blob/object/{param}/{param}}. */ + public static final Endpoint DELETE_BLOB_OBJECT_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.DELETE, "/blob/object/{param}/{param}"); + /** Endpoint for {@code GET /blob/object/info/{param}/{param}}. */ + public static final Endpoint GET_BLOB_OBJECT_INFO_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/info/{param}/{param}"); + /** Endpoint for {@code GET /blob/object/{param}/{param}}. */ + public static final Endpoint GET_BLOB_OBJECT_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/{param}/{param}"); + /** Endpoint for {@code POST /blob/object/copy}. */ + public static final Endpoint POST_BLOB_OBJECT_COPY = + new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/copy"); + /** Endpoint for {@code POST /blob/object/list/{param}}. */ + public static final Endpoint POST_BLOB_OBJECT_LIST_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/list/{param}"); + /** Endpoint for {@code POST /blob/object/move}. */ + public static final Endpoint POST_BLOB_OBJECT_MOVE = + new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/move"); + /** Endpoint for {@code POST /blob/object/sign/{param}/{param}}. */ + public static final Endpoint POST_BLOB_OBJECT_SIGN_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/sign/{param}/{param}"); + /** Endpoint for {@code POSTFORMDATA /blob/object/{param}/{param}}. */ + public static final Endpoint POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.POSTFORMDATA, "/blob/object/{param}/{param}"); + } - public static final class Connectors { - private Connectors() {} + public static final class Connectors { + private Connectors() {} - /** Endpoint for {@code DELETE /connectors/installations/{param}}. */ - public static final Endpoint DELETE_CONNECTORS_INSTALLATIONS_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.DELETE, "/connectors/installations/{param}"); - /** Endpoint for {@code GET /connectors/catalog}. */ - public static final Endpoint GET_CONNECTORS_CATALOG = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog"); - /** Endpoint for {@code GET /connectors/catalog/{param}}. */ - public static final Endpoint GET_CONNECTORS_CATALOG_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog/{param}"); - /** Endpoint for {@code GET /connectors/connection-tests/{param}}. */ - public static final Endpoint GET_CONNECTORS_CONNECTION_TESTS_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/connection-tests/{param}"); - /** Endpoint for {@code GET /connectors/installations}. */ - public static final Endpoint GET_CONNECTORS_INSTALLATIONS = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations"); - /** Endpoint for {@code GET /connectors/installations/{param}}. */ - public static final Endpoint GET_CONNECTORS_INSTALLATIONS_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations/{param}"); - /** Endpoint for {@code GET /diagnostics}. */ - public static final Endpoint GET_DIAGNOSTICS = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/diagnostics"); - /** Endpoint for {@code PATCH /connectors/installations/{param}}. */ - public static final Endpoint PATCH_CONNECTORS_INSTALLATIONS_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.PATCH, "/connectors/installations/{param}"); - /** Endpoint for {@code POST /connectors/installations}. */ - public static final Endpoint POST_CONNECTORS_INSTALLATIONS = - new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations"); - /** Endpoint for {@code POST /connectors/installations/{param}/pause}. */ - public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE = - new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/pause"); - /** Endpoint for {@code POST /connectors/installations/{param}/resume}. */ - public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME = - new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/resume"); - /** Endpoint for {@code POST /connectors/sync-runs/{param}/replay}. */ - public static final Endpoint POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY = - new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/sync-runs/{param}/replay"); - } + /** Endpoint for {@code DELETE /connectors/installations/{param}}. */ + public static final Endpoint DELETE_CONNECTORS_INSTALLATIONS_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.DELETE, "/connectors/installations/{param}"); + /** Endpoint for {@code GET /connectors/catalog}. */ + public static final Endpoint GET_CONNECTORS_CATALOG = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog"); + /** Endpoint for {@code GET /connectors/catalog/{param}}. */ + public static final Endpoint GET_CONNECTORS_CATALOG_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog/{param}"); + /** Endpoint for {@code GET /connectors/connection-tests/{param}}. */ + public static final Endpoint GET_CONNECTORS_CONNECTION_TESTS_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/connection-tests/{param}"); + /** Endpoint for {@code GET /connectors/installations}. */ + public static final Endpoint GET_CONNECTORS_INSTALLATIONS = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations"); + /** Endpoint for {@code GET /connectors/installations/{param}}. */ + public static final Endpoint GET_CONNECTORS_INSTALLATIONS_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations/{param}"); + /** Endpoint for {@code GET /diagnostics}. */ + public static final Endpoint GET_DIAGNOSTICS = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/diagnostics"); + /** Endpoint for {@code PATCH /connectors/installations/{param}}. */ + public static final Endpoint PATCH_CONNECTORS_INSTALLATIONS_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.PATCH, "/connectors/installations/{param}"); + /** Endpoint for {@code POST /connectors/installations}. */ + public static final Endpoint POST_CONNECTORS_INSTALLATIONS = + new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations"); + /** Endpoint for {@code POST /connectors/installations/{param}/pause}. */ + public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE = + new Endpoint( + ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/pause"); + /** Endpoint for {@code POST /connectors/installations/{param}/resume}. */ + public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME = + new Endpoint( + ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/resume"); + /** Endpoint for {@code POST /connectors/sync-runs/{param}/replay}. */ + public static final Endpoint POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY = + new Endpoint( + ApiService.CONNECTORS, HttpMethod.POST, "/connectors/sync-runs/{param}/replay"); + } - public static final class ConnectionTests { - private ConnectionTests() {} + public static final class ConnectionTests { + private ConnectionTests() {} - /** Endpoint for {@code GET /connection-tests/{param}}. */ - public static final Endpoint GET_CONNECTION_TESTS_PARAM = - new Endpoint(ApiService.CONNECTION_TESTS, HttpMethod.GET, "/connection-tests/{param}"); - } + /** Endpoint for {@code GET /connection-tests/{param}}. */ + public static final Endpoint GET_CONNECTION_TESTS_PARAM = + new Endpoint(ApiService.CONNECTION_TESTS, HttpMethod.GET, "/connection-tests/{param}"); + } - public static final class Data { - private Data() {} + public static final class Data { + private Data() {} - /** Endpoint for {@code GET /data/aggregations/aggregations}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations"); - /** Endpoint for {@code GET /data/aggregations/aggregations/{param}}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations/{param}"); - /** Endpoint for {@code GET /data/aggregations/capabilities}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/capabilities"); - /** Endpoint for {@code GET /data/aggregations/health}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/health"); - /** Endpoint for {@code GET /data/aggregations/info}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/info"); - /** Endpoint for {@code GET /data/aggregations/runs}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs"); - /** Endpoint for {@code GET /data/aggregations/runs/{param}}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs/{param}"); - /** Endpoint for {@code GET /data/archival/archival/policies}. */ - public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies"); - /** Endpoint for {@code GET /data/archival/archival/policies/{param}}. */ - public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies/{param}"); - /** Endpoint for {@code GET /data/archival/capabilities}. */ - public static final Endpoint GET_DATA_ARCHIVAL_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/capabilities"); - /** Endpoint for {@code GET /data/archival/health}. */ - public static final Endpoint GET_DATA_ARCHIVAL_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/health"); - /** Endpoint for {@code GET /data/archival/info}. */ - public static final Endpoint GET_DATA_ARCHIVAL_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/info"); - /** Endpoint for {@code GET /data/archival/runs}. */ - public static final Endpoint GET_DATA_ARCHIVAL_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs"); - /** Endpoint for {@code GET /data/archival/runs/{param}}. */ - public static final Endpoint GET_DATA_ARCHIVAL_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs/{param}"); - /** Endpoint for {@code GET /data/catalog/capabilities}. */ - public static final Endpoint GET_DATA_CATALOG_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/capabilities"); - /** Endpoint for {@code GET /data/catalog/catalog/datasets}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets"); - /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets/{param}"); - /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = new Endpoint( - ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets/{param}/artifacts/{param}/content"); - /** Endpoint for {@code GET /data/catalog/catalog/sources}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources"); - /** Endpoint for {@code GET /data/catalog/catalog/sources/{param}}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources/{param}"); - /** Endpoint for {@code GET /data/catalog/health}. */ - public static final Endpoint GET_DATA_CATALOG_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/health"); - /** Endpoint for {@code GET /data/catalog/info}. */ - public static final Endpoint GET_DATA_CATALOG_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/info"); - /** Endpoint for {@code GET /data/catalog/runs}. */ - public static final Endpoint GET_DATA_CATALOG_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs"); - /** Endpoint for {@code GET /data/catalog/runs/{param}}. */ - public static final Endpoint GET_DATA_CATALOG_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs/{param}"); - /** Endpoint for {@code GET /data/enrichment/capabilities}. */ - public static final Endpoint GET_DATA_ENRICHMENT_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/capabilities"); - /** Endpoint for {@code GET /data/enrichment/enrichment/profiles}. */ - public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles"); - /** Endpoint for {@code GET /data/enrichment/enrichment/profiles/{param}}. */ - public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles/{param}"); - /** Endpoint for {@code GET /data/enrichment/health}. */ - public static final Endpoint GET_DATA_ENRICHMENT_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/health"); - /** Endpoint for {@code GET /data/enrichment/info}. */ - public static final Endpoint GET_DATA_ENRICHMENT_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/info"); - /** Endpoint for {@code GET /data/enrichment/runs}. */ - public static final Endpoint GET_DATA_ENRICHMENT_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs"); - /** Endpoint for {@code GET /data/enrichment/runs/{param}}. */ - public static final Endpoint GET_DATA_ENRICHMENT_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs/{param}"); - /** Endpoint for {@code GET /data/exports/capabilities}. */ - public static final Endpoint GET_DATA_EXPORTS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/capabilities"); - /** Endpoint for {@code GET /data/exports/exports}. */ - public static final Endpoint GET_DATA_EXPORTS_EXPORTS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports"); - /** Endpoint for {@code GET /data/exports/exports/{param}}. */ - public static final Endpoint GET_DATA_EXPORTS_EXPORTS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports/{param}"); - /** Endpoint for {@code GET /data/exports/health}. */ - public static final Endpoint GET_DATA_EXPORTS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/health"); - /** Endpoint for {@code GET /data/exports/info}. */ - public static final Endpoint GET_DATA_EXPORTS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/info"); - /** Endpoint for {@code GET /data/exports/runs}. */ - public static final Endpoint GET_DATA_EXPORTS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs"); - /** Endpoint for {@code GET /data/exports/runs/{param}}. */ - public static final Endpoint GET_DATA_EXPORTS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs/{param}"); - /** Endpoint for {@code GET /data/ingest/capabilities}. */ - public static final Endpoint GET_DATA_INGEST_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/capabilities"); - /** Endpoint for {@code GET /data/ingest/datasets}. */ - public static final Endpoint GET_DATA_INGEST_DATASETS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets"); - /** Endpoint for {@code GET /data/ingest/datasets/{param}}. */ - public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets/{param}"); - /** Endpoint for {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. */ - public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = new Endpoint( - ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets/{param}/artifacts/{param}/content"); - /** Endpoint for {@code GET /data/ingest/health}. */ - public static final Endpoint GET_DATA_INGEST_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/health"); - /** Endpoint for {@code GET /data/ingest/info}. */ - public static final Endpoint GET_DATA_INGEST_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/info"); - /** Endpoint for {@code GET /data/ingest/runs}. */ - public static final Endpoint GET_DATA_INGEST_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs"); - /** Endpoint for {@code GET /data/ingest/runs/{param}}. */ - public static final Endpoint GET_DATA_INGEST_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs/{param}"); - /** Endpoint for {@code GET /data/ingest/schemas}. */ - public static final Endpoint GET_DATA_INGEST_SCHEMAS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas"); - /** Endpoint for {@code GET /data/ingest/schemas/{param}}. */ - public static final Endpoint GET_DATA_INGEST_SCHEMAS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas/{param}"); - /** Endpoint for {@code GET /data/normalization/capabilities}. */ - public static final Endpoint GET_DATA_NORMALIZATION_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/capabilities"); - /** Endpoint for {@code GET /data/normalization/health}. */ - public static final Endpoint GET_DATA_NORMALIZATION_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/health"); - /** Endpoint for {@code GET /data/normalization/info}. */ - public static final Endpoint GET_DATA_NORMALIZATION_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/info"); - /** Endpoint for {@code GET /data/normalization/normalization/profiles}. */ - public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles"); - /** Endpoint for {@code GET /data/normalization/normalization/profiles/{param}}. */ - public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles/{param}"); - /** Endpoint for {@code GET /data/normalization/runs}. */ - public static final Endpoint GET_DATA_NORMALIZATION_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs"); - /** Endpoint for {@code GET /data/normalization/runs/{param}}. */ - public static final Endpoint GET_DATA_NORMALIZATION_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs/{param}"); - /** Endpoint for {@code GET /data/pipelines/capabilities}. */ - public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/capabilities"); - /** Endpoint for {@code GET /data/pipelines/health}. */ - public static final Endpoint GET_DATA_PIPELINES_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/health"); - /** Endpoint for {@code GET /data/pipelines/info}. */ - public static final Endpoint GET_DATA_PIPELINES_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/info"); - /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs"); - /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); - /** Endpoint for {@code GET /data/pipelines/pipelines}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines"); - /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); - /** Endpoint for {@code GET /data/pipelines/runs}. */ - public static final Endpoint GET_DATA_PIPELINES_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs"); - /** Endpoint for {@code GET /data/pipelines/runs/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs/{param}"); - /** Endpoint for {@code GET /data/quality/capabilities}. */ - public static final Endpoint GET_DATA_QUALITY_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/capabilities"); - /** Endpoint for {@code GET /data/quality/health}. */ - public static final Endpoint GET_DATA_QUALITY_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/health"); - /** Endpoint for {@code GET /data/quality/info}. */ - public static final Endpoint GET_DATA_QUALITY_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/info"); - /** Endpoint for {@code GET /data/quality/quality/rulesets}. */ - public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets"); - /** Endpoint for {@code GET /data/quality/quality/rulesets/{param}}. */ - public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets/{param}"); - /** Endpoint for {@code GET /data/quality/runs}. */ - public static final Endpoint GET_DATA_QUALITY_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs"); - /** Endpoint for {@code GET /data/quality/runs/{param}}. */ - public static final Endpoint GET_DATA_QUALITY_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs/{param}"); - /** Endpoint for {@code GET /data/query/capabilities}. */ - public static final Endpoint GET_DATA_QUERY_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/capabilities"); - /** Endpoint for {@code GET /data/query/health}. */ - public static final Endpoint GET_DATA_QUERY_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/health"); - /** Endpoint for {@code GET /data/query/info}. */ - public static final Endpoint GET_DATA_QUERY_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/info"); - /** Endpoint for {@code GET /data/query/runs}. */ - public static final Endpoint GET_DATA_QUERY_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs"); - /** Endpoint for {@code GET /data/query/runs/{param}}. */ - public static final Endpoint GET_DATA_QUERY_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs/{param}"); - /** Endpoint for {@code GET /data/schemas/capabilities}. */ - public static final Endpoint GET_DATA_SCHEMAS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/capabilities"); - /** Endpoint for {@code GET /data/schemas/health}. */ - public static final Endpoint GET_DATA_SCHEMAS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/health"); - /** Endpoint for {@code GET /data/schemas/info}. */ - public static final Endpoint GET_DATA_SCHEMAS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/info"); - /** Endpoint for {@code GET /data/schemas/runs}. */ - public static final Endpoint GET_DATA_SCHEMAS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs"); - /** Endpoint for {@code GET /data/schemas/runs/{param}}. */ - public static final Endpoint GET_DATA_SCHEMAS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs/{param}"); - /** Endpoint for {@code GET /data/schemas/schemas}. */ - public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas"); - /** Endpoint for {@code GET /data/schemas/schemas/{param}}. */ - public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas/{param}"); - /** Endpoint for {@code GET /data/serving/capabilities}. */ - public static final Endpoint GET_DATA_SERVING_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/capabilities"); - /** Endpoint for {@code GET /data/serving/health}. */ - public static final Endpoint GET_DATA_SERVING_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/health"); - /** Endpoint for {@code GET /data/serving/info}. */ - public static final Endpoint GET_DATA_SERVING_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/info"); - /** Endpoint for {@code GET /data/serving/runs}. */ - public static final Endpoint GET_DATA_SERVING_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs"); - /** Endpoint for {@code GET /data/serving/runs/{param}}. */ - public static final Endpoint GET_DATA_SERVING_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs/{param}"); - /** Endpoint for {@code GET /data/serving/serving/products}. */ - public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products"); - /** Endpoint for {@code GET /data/serving/serving/products/{param}}. */ - public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products/{param}"); - /** Endpoint for {@code GET /data/streams/capabilities}. */ - public static final Endpoint GET_DATA_STREAMS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/capabilities"); - /** Endpoint for {@code GET /data/streams/health}. */ - public static final Endpoint GET_DATA_STREAMS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/health"); - /** Endpoint for {@code GET /data/streams/info}. */ - public static final Endpoint GET_DATA_STREAMS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/info"); - /** Endpoint for {@code GET /data/streams/runs}. */ - public static final Endpoint GET_DATA_STREAMS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs"); - /** Endpoint for {@code GET /data/streams/runs/{param}}. */ - public static final Endpoint GET_DATA_STREAMS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs/{param}"); - /** Endpoint for {@code GET /data/streams/streams}. */ - public static final Endpoint GET_DATA_STREAMS_STREAMS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams"); - /** Endpoint for {@code GET /data/streams/streams/{param}}. */ - public static final Endpoint GET_DATA_STREAMS_STREAMS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams/{param}"); - /** Endpoint for {@code GET /data/sync/capabilities}. */ - public static final Endpoint GET_DATA_SYNC_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/capabilities"); - /** Endpoint for {@code GET /data/sync/health}. */ - public static final Endpoint GET_DATA_SYNC_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/health"); - /** Endpoint for {@code GET /data/sync/info}. */ - public static final Endpoint GET_DATA_SYNC_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/info"); - /** Endpoint for {@code GET /data/sync/runs}. */ - public static final Endpoint GET_DATA_SYNC_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs"); - /** Endpoint for {@code GET /data/sync/runs/{param}}. */ - public static final Endpoint GET_DATA_SYNC_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs/{param}"); - /** Endpoint for {@code GET /data/sync/sync/jobs}. */ - public static final Endpoint GET_DATA_SYNC_SYNC_JOBS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs"); - /** Endpoint for {@code GET /data/sync/sync/jobs/{param}}. */ - public static final Endpoint GET_DATA_SYNC_SYNC_JOBS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs/{param}"); - /** Endpoint for {@code GET /data/transformations/capabilities}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/capabilities"); - /** Endpoint for {@code GET /data/transformations/health}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/health"); - /** Endpoint for {@code GET /data/transformations/info}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/info"); - /** Endpoint for {@code GET /data/transformations/runs}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs"); - /** Endpoint for {@code GET /data/transformations/runs/{param}}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs/{param}"); - /** Endpoint for {@code GET /data/transformations/transformations}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations"); - /** Endpoint for {@code GET /data/transformations/transformations/{param}}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations/{param}"); - /** Endpoint for {@code POST /data/aggregations/aggregations}. */ - public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations"); - /** Endpoint for {@code POST /data/aggregations/aggregations/{param}/executions}. */ - public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations/{param}/executions"); - /** Endpoint for {@code POST /data/aggregations/runs}. */ - public static final Endpoint POST_DATA_AGGREGATIONS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/runs"); - /** Endpoint for {@code POST /data/archival/archival/policies}. */ - public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/archival/policies"); - /** Endpoint for {@code POST /data/archival/archival/policies/{param}/executions}. */ - public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/archival/policies/{param}/executions"); - /** Endpoint for {@code POST /data/archival/runs}. */ - public static final Endpoint POST_DATA_ARCHIVAL_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/runs"); - /** Endpoint for {@code POST /data/catalog/runs}. */ - public static final Endpoint POST_DATA_CATALOG_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/catalog/runs"); - /** Endpoint for {@code POST /data/enrichment/enrichment/profiles}. */ - public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/enrichment/profiles"); - /** Endpoint for {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. */ - public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS = new Endpoint( - ApiService.DATA, HttpMethod.POST, "/data/enrichment/enrichment/profiles/{param}/executions"); - /** Endpoint for {@code POST /data/enrichment/runs}. */ - public static final Endpoint POST_DATA_ENRICHMENT_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/runs"); - /** Endpoint for {@code POST /data/exports/exports}. */ - public static final Endpoint POST_DATA_EXPORTS_EXPORTS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports"); - /** Endpoint for {@code POST /data/exports/exports/{param}/executions}. */ - public static final Endpoint POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports/{param}/executions"); - /** Endpoint for {@code POST /data/exports/runs}. */ - public static final Endpoint POST_DATA_EXPORTS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/runs"); - /** Endpoint for {@code POST /data/ingest/datasets/ingest}. */ - public static final Endpoint POST_DATA_INGEST_DATASETS_INGEST = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/datasets/ingest"); - /** Endpoint for {@code POST /data/ingest/runs}. */ - public static final Endpoint POST_DATA_INGEST_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/runs"); - /** Endpoint for {@code POST /data/normalization/normalization/profiles}. */ - public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/normalization/normalization/profiles"); - /** Endpoint for {@code POST /data/normalization/normalization/profiles/{param}/executions}. */ - public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS = new Endpoint( - ApiService.DATA, HttpMethod.POST, "/data/normalization/normalization/profiles/{param}/executions"); - /** Endpoint for {@code POST /data/normalization/runs}. */ - public static final Endpoint POST_DATA_NORMALIZATION_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/normalization/runs"); - /** Endpoint for {@code POST /data/pipelines/pipelines}. */ - public static final Endpoint POST_DATA_PIPELINES_PIPELINES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/pipelines"); - /** Endpoint for {@code POST /data/pipelines/runs}. */ - public static final Endpoint POST_DATA_PIPELINES_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/runs"); - /** Endpoint for {@code POST /data/quality/quality/rulesets}. */ - public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets"); - /** Endpoint for {@code POST /data/quality/quality/rulesets/{param}/evaluations}. */ - public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets/{param}/evaluations"); - /** Endpoint for {@code POST /data/quality/runs}. */ - public static final Endpoint POST_DATA_QUALITY_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/runs"); - /** Endpoint for {@code POST /data/query/query/federated}. */ - public static final Endpoint POST_DATA_QUERY_QUERY_FEDERATED = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/query/federated"); - /** Endpoint for {@code POST /data/query/runs}. */ - public static final Endpoint POST_DATA_QUERY_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/runs"); - /** Endpoint for {@code POST /data/schemas/runs}. */ - public static final Endpoint POST_DATA_SCHEMAS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/runs"); - /** Endpoint for {@code POST /data/schemas/schemas}. */ - public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas"); - /** Endpoint for {@code POST /data/schemas/schemas/resolve}. */ - public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS_RESOLVE = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas/resolve"); - /** Endpoint for {@code POST /data/serving/runs}. */ - public static final Endpoint POST_DATA_SERVING_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/runs"); - /** Endpoint for {@code POST /data/serving/serving/products}. */ - public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products"); - /** Endpoint for {@code POST /data/serving/serving/products/{param}/refreshes}. */ - public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products/{param}/refreshes"); - /** Endpoint for {@code POST /data/streams/runs}. */ - public static final Endpoint POST_DATA_STREAMS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/runs"); - /** Endpoint for {@code POST /data/streams/streams}. */ - public static final Endpoint POST_DATA_STREAMS_STREAMS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams"); - /** Endpoint for {@code POST /data/streams/streams/{param}/deliveries}. */ - public static final Endpoint POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams/{param}/deliveries"); - /** Endpoint for {@code POST /data/sync/runs}. */ - public static final Endpoint POST_DATA_SYNC_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/runs"); - /** Endpoint for {@code POST /data/sync/sync/jobs}. */ - public static final Endpoint POST_DATA_SYNC_SYNC_JOBS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs"); - /** Endpoint for {@code POST /data/sync/sync/jobs/{param}/executions}. */ - public static final Endpoint POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs/{param}/executions"); - /** Endpoint for {@code POST /data/transformations/runs}. */ - public static final Endpoint POST_DATA_TRANSFORMATIONS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/runs"); - /** Endpoint for {@code POST /data/transformations/transformations}. */ - public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/transformations"); - /** Endpoint for {@code POST /data/transformations/transformations/{param}/executions}. */ - public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS = new Endpoint( - ApiService.DATA, HttpMethod.POST, "/data/transformations/transformations/{param}/executions"); - } + /** Endpoint for {@code GET /data/aggregations/aggregations}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations"); + /** Endpoint for {@code GET /data/aggregations/aggregations/{param}}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations/{param}"); + /** Endpoint for {@code GET /data/aggregations/capabilities}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/capabilities"); + /** Endpoint for {@code GET /data/aggregations/health}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/health"); + /** Endpoint for {@code GET /data/aggregations/info}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/info"); + /** Endpoint for {@code GET /data/aggregations/runs}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs"); + /** Endpoint for {@code GET /data/aggregations/runs/{param}}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs/{param}"); + /** Endpoint for {@code GET /data/archival/archival/policies}. */ + public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies"); + /** Endpoint for {@code GET /data/archival/archival/policies/{param}}. */ + public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies/{param}"); + /** Endpoint for {@code GET /data/archival/capabilities}. */ + public static final Endpoint GET_DATA_ARCHIVAL_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/capabilities"); + /** Endpoint for {@code GET /data/archival/health}. */ + public static final Endpoint GET_DATA_ARCHIVAL_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/health"); + /** Endpoint for {@code GET /data/archival/info}. */ + public static final Endpoint GET_DATA_ARCHIVAL_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/info"); + /** Endpoint for {@code GET /data/archival/runs}. */ + public static final Endpoint GET_DATA_ARCHIVAL_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs"); + /** Endpoint for {@code GET /data/archival/runs/{param}}. */ + public static final Endpoint GET_DATA_ARCHIVAL_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs/{param}"); + /** Endpoint for {@code GET /data/catalog/capabilities}. */ + public static final Endpoint GET_DATA_CATALOG_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/capabilities"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets/{param}"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = + new Endpoint( + ApiService.DATA, + HttpMethod.GET, + "/data/catalog/catalog/datasets/{param}/artifacts/{param}/content"); + /** Endpoint for {@code GET /data/catalog/catalog/sources}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources"); + /** Endpoint for {@code GET /data/catalog/catalog/sources/{param}}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources/{param}"); + /** Endpoint for {@code GET /data/catalog/health}. */ + public static final Endpoint GET_DATA_CATALOG_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/health"); + /** Endpoint for {@code GET /data/catalog/info}. */ + public static final Endpoint GET_DATA_CATALOG_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/info"); + /** Endpoint for {@code GET /data/catalog/runs}. */ + public static final Endpoint GET_DATA_CATALOG_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs"); + /** Endpoint for {@code GET /data/catalog/runs/{param}}. */ + public static final Endpoint GET_DATA_CATALOG_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs/{param}"); + /** Endpoint for {@code GET /data/enrichment/capabilities}. */ + public static final Endpoint GET_DATA_ENRICHMENT_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/capabilities"); + /** Endpoint for {@code GET /data/enrichment/enrichment/profiles}. */ + public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles"); + /** Endpoint for {@code GET /data/enrichment/enrichment/profiles/{param}}. */ + public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM = + new Endpoint( + ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles/{param}"); + /** Endpoint for {@code GET /data/enrichment/health}. */ + public static final Endpoint GET_DATA_ENRICHMENT_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/health"); + /** Endpoint for {@code GET /data/enrichment/info}. */ + public static final Endpoint GET_DATA_ENRICHMENT_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/info"); + /** Endpoint for {@code GET /data/enrichment/runs}. */ + public static final Endpoint GET_DATA_ENRICHMENT_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs"); + /** Endpoint for {@code GET /data/enrichment/runs/{param}}. */ + public static final Endpoint GET_DATA_ENRICHMENT_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs/{param}"); + /** Endpoint for {@code GET /data/exports/capabilities}. */ + public static final Endpoint GET_DATA_EXPORTS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/capabilities"); + /** Endpoint for {@code GET /data/exports/exports}. */ + public static final Endpoint GET_DATA_EXPORTS_EXPORTS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports"); + /** Endpoint for {@code GET /data/exports/exports/{param}}. */ + public static final Endpoint GET_DATA_EXPORTS_EXPORTS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports/{param}"); + /** Endpoint for {@code GET /data/exports/health}. */ + public static final Endpoint GET_DATA_EXPORTS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/health"); + /** Endpoint for {@code GET /data/exports/info}. */ + public static final Endpoint GET_DATA_EXPORTS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/info"); + /** Endpoint for {@code GET /data/exports/runs}. */ + public static final Endpoint GET_DATA_EXPORTS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs"); + /** Endpoint for {@code GET /data/exports/runs/{param}}. */ + public static final Endpoint GET_DATA_EXPORTS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs/{param}"); + /** Endpoint for {@code GET /data/ingest/capabilities}. */ + public static final Endpoint GET_DATA_INGEST_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/capabilities"); + /** Endpoint for {@code GET /data/ingest/datasets}. */ + public static final Endpoint GET_DATA_INGEST_DATASETS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets"); + /** Endpoint for {@code GET /data/ingest/datasets/{param}}. */ + public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets/{param}"); + /** Endpoint for {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. */ + public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = + new Endpoint( + ApiService.DATA, + HttpMethod.GET, + "/data/ingest/datasets/{param}/artifacts/{param}/content"); + /** Endpoint for {@code GET /data/ingest/health}. */ + public static final Endpoint GET_DATA_INGEST_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/health"); + /** Endpoint for {@code GET /data/ingest/info}. */ + public static final Endpoint GET_DATA_INGEST_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/info"); + /** Endpoint for {@code GET /data/ingest/runs}. */ + public static final Endpoint GET_DATA_INGEST_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs"); + /** Endpoint for {@code GET /data/ingest/runs/{param}}. */ + public static final Endpoint GET_DATA_INGEST_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs/{param}"); + /** Endpoint for {@code GET /data/ingest/schemas}. */ + public static final Endpoint GET_DATA_INGEST_SCHEMAS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas"); + /** Endpoint for {@code GET /data/ingest/schemas/{param}}. */ + public static final Endpoint GET_DATA_INGEST_SCHEMAS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas/{param}"); + /** Endpoint for {@code GET /data/normalization/capabilities}. */ + public static final Endpoint GET_DATA_NORMALIZATION_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/capabilities"); + /** Endpoint for {@code GET /data/normalization/health}. */ + public static final Endpoint GET_DATA_NORMALIZATION_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/health"); + /** Endpoint for {@code GET /data/normalization/info}. */ + public static final Endpoint GET_DATA_NORMALIZATION_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/info"); + /** Endpoint for {@code GET /data/normalization/normalization/profiles}. */ + public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles"); + /** Endpoint for {@code GET /data/normalization/normalization/profiles/{param}}. */ + public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM = + new Endpoint( + ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles/{param}"); + /** Endpoint for {@code GET /data/normalization/runs}. */ + public static final Endpoint GET_DATA_NORMALIZATION_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs"); + /** Endpoint for {@code GET /data/normalization/runs/{param}}. */ + public static final Endpoint GET_DATA_NORMALIZATION_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/capabilities}. */ + public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/capabilities"); + /** Endpoint for {@code GET /data/pipelines/health}. */ + public static final Endpoint GET_DATA_PIPELINES_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/health"); + /** Endpoint for {@code GET /data/pipelines/info}. */ + public static final Endpoint GET_DATA_PIPELINES_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/info"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/pipelines}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines"); + /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); + /** Endpoint for {@code GET /data/pipelines/runs}. */ + public static final Endpoint GET_DATA_PIPELINES_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs"); + /** Endpoint for {@code GET /data/pipelines/runs/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs/{param}"); + /** Endpoint for {@code GET /data/quality/capabilities}. */ + public static final Endpoint GET_DATA_QUALITY_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/capabilities"); + /** Endpoint for {@code GET /data/quality/health}. */ + public static final Endpoint GET_DATA_QUALITY_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/health"); + /** Endpoint for {@code GET /data/quality/info}. */ + public static final Endpoint GET_DATA_QUALITY_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/info"); + /** Endpoint for {@code GET /data/quality/quality/rulesets}. */ + public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets"); + /** Endpoint for {@code GET /data/quality/quality/rulesets/{param}}. */ + public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets/{param}"); + /** Endpoint for {@code GET /data/quality/runs}. */ + public static final Endpoint GET_DATA_QUALITY_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs"); + /** Endpoint for {@code GET /data/quality/runs/{param}}. */ + public static final Endpoint GET_DATA_QUALITY_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs/{param}"); + /** Endpoint for {@code GET /data/query/capabilities}. */ + public static final Endpoint GET_DATA_QUERY_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/capabilities"); + /** Endpoint for {@code GET /data/query/health}. */ + public static final Endpoint GET_DATA_QUERY_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/health"); + /** Endpoint for {@code GET /data/query/info}. */ + public static final Endpoint GET_DATA_QUERY_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/info"); + /** Endpoint for {@code GET /data/query/runs}. */ + public static final Endpoint GET_DATA_QUERY_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs"); + /** Endpoint for {@code GET /data/query/runs/{param}}. */ + public static final Endpoint GET_DATA_QUERY_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs/{param}"); + /** Endpoint for {@code GET /data/schemas/capabilities}. */ + public static final Endpoint GET_DATA_SCHEMAS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/capabilities"); + /** Endpoint for {@code GET /data/schemas/health}. */ + public static final Endpoint GET_DATA_SCHEMAS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/health"); + /** Endpoint for {@code GET /data/schemas/info}. */ + public static final Endpoint GET_DATA_SCHEMAS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/info"); + /** Endpoint for {@code GET /data/schemas/runs}. */ + public static final Endpoint GET_DATA_SCHEMAS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs"); + /** Endpoint for {@code GET /data/schemas/runs/{param}}. */ + public static final Endpoint GET_DATA_SCHEMAS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs/{param}"); + /** Endpoint for {@code GET /data/schemas/schemas}. */ + public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas"); + /** Endpoint for {@code GET /data/schemas/schemas/{param}}. */ + public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas/{param}"); + /** Endpoint for {@code GET /data/serving/capabilities}. */ + public static final Endpoint GET_DATA_SERVING_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/capabilities"); + /** Endpoint for {@code GET /data/serving/health}. */ + public static final Endpoint GET_DATA_SERVING_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/health"); + /** Endpoint for {@code GET /data/serving/info}. */ + public static final Endpoint GET_DATA_SERVING_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/info"); + /** Endpoint for {@code GET /data/serving/runs}. */ + public static final Endpoint GET_DATA_SERVING_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs"); + /** Endpoint for {@code GET /data/serving/runs/{param}}. */ + public static final Endpoint GET_DATA_SERVING_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs/{param}"); + /** Endpoint for {@code GET /data/serving/serving/products}. */ + public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products"); + /** Endpoint for {@code GET /data/serving/serving/products/{param}}. */ + public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products/{param}"); + /** Endpoint for {@code GET /data/streams/capabilities}. */ + public static final Endpoint GET_DATA_STREAMS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/capabilities"); + /** Endpoint for {@code GET /data/streams/health}. */ + public static final Endpoint GET_DATA_STREAMS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/health"); + /** Endpoint for {@code GET /data/streams/info}. */ + public static final Endpoint GET_DATA_STREAMS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/info"); + /** Endpoint for {@code GET /data/streams/runs}. */ + public static final Endpoint GET_DATA_STREAMS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs"); + /** Endpoint for {@code GET /data/streams/runs/{param}}. */ + public static final Endpoint GET_DATA_STREAMS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs/{param}"); + /** Endpoint for {@code GET /data/streams/streams}. */ + public static final Endpoint GET_DATA_STREAMS_STREAMS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams"); + /** Endpoint for {@code GET /data/streams/streams/{param}}. */ + public static final Endpoint GET_DATA_STREAMS_STREAMS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams/{param}"); + /** Endpoint for {@code GET /data/sync/capabilities}. */ + public static final Endpoint GET_DATA_SYNC_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/capabilities"); + /** Endpoint for {@code GET /data/sync/health}. */ + public static final Endpoint GET_DATA_SYNC_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/health"); + /** Endpoint for {@code GET /data/sync/info}. */ + public static final Endpoint GET_DATA_SYNC_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/info"); + /** Endpoint for {@code GET /data/sync/runs}. */ + public static final Endpoint GET_DATA_SYNC_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs"); + /** Endpoint for {@code GET /data/sync/runs/{param}}. */ + public static final Endpoint GET_DATA_SYNC_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs/{param}"); + /** Endpoint for {@code GET /data/sync/sync/jobs}. */ + public static final Endpoint GET_DATA_SYNC_SYNC_JOBS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs"); + /** Endpoint for {@code GET /data/sync/sync/jobs/{param}}. */ + public static final Endpoint GET_DATA_SYNC_SYNC_JOBS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs/{param}"); + /** Endpoint for {@code GET /data/transformations/capabilities}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/capabilities"); + /** Endpoint for {@code GET /data/transformations/health}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/health"); + /** Endpoint for {@code GET /data/transformations/info}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/info"); + /** Endpoint for {@code GET /data/transformations/runs}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs"); + /** Endpoint for {@code GET /data/transformations/runs/{param}}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs/{param}"); + /** Endpoint for {@code GET /data/transformations/transformations}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations"); + /** Endpoint for {@code GET /data/transformations/transformations/{param}}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM = + new Endpoint( + ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations/{param}"); + /** Endpoint for {@code POST /data/aggregations/aggregations}. */ + public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations"); + /** Endpoint for {@code POST /data/aggregations/aggregations/{param}/executions}. */ + public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS = + new Endpoint( + ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations/{param}/executions"); + /** Endpoint for {@code POST /data/aggregations/runs}. */ + public static final Endpoint POST_DATA_AGGREGATIONS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/runs"); + /** Endpoint for {@code POST /data/archival/archival/policies}. */ + public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/archival/policies"); + /** Endpoint for {@code POST /data/archival/archival/policies/{param}/executions}. */ + public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS = + new Endpoint( + ApiService.DATA, + HttpMethod.POST, + "/data/archival/archival/policies/{param}/executions"); + /** Endpoint for {@code POST /data/archival/runs}. */ + public static final Endpoint POST_DATA_ARCHIVAL_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/runs"); + /** Endpoint for {@code POST /data/catalog/runs}. */ + public static final Endpoint POST_DATA_CATALOG_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/catalog/runs"); + /** Endpoint for {@code POST /data/enrichment/enrichment/profiles}. */ + public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/enrichment/profiles"); + /** Endpoint for {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. */ + public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS = + new Endpoint( + ApiService.DATA, + HttpMethod.POST, + "/data/enrichment/enrichment/profiles/{param}/executions"); + /** Endpoint for {@code POST /data/enrichment/runs}. */ + public static final Endpoint POST_DATA_ENRICHMENT_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/runs"); + /** Endpoint for {@code POST /data/exports/exports}. */ + public static final Endpoint POST_DATA_EXPORTS_EXPORTS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports"); + /** Endpoint for {@code POST /data/exports/exports/{param}/executions}. */ + public static final Endpoint POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports/{param}/executions"); + /** Endpoint for {@code POST /data/exports/runs}. */ + public static final Endpoint POST_DATA_EXPORTS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/runs"); + /** Endpoint for {@code POST /data/ingest/datasets/ingest}. */ + public static final Endpoint POST_DATA_INGEST_DATASETS_INGEST = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/datasets/ingest"); + /** Endpoint for {@code POST /data/ingest/runs}. */ + public static final Endpoint POST_DATA_INGEST_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/runs"); + /** Endpoint for {@code POST /data/normalization/normalization/profiles}. */ + public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES = + new Endpoint( + ApiService.DATA, HttpMethod.POST, "/data/normalization/normalization/profiles"); + /** Endpoint for {@code POST /data/normalization/normalization/profiles/{param}/executions}. */ + public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS = + new Endpoint( + ApiService.DATA, + HttpMethod.POST, + "/data/normalization/normalization/profiles/{param}/executions"); + /** Endpoint for {@code POST /data/normalization/runs}. */ + public static final Endpoint POST_DATA_NORMALIZATION_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/normalization/runs"); + /** Endpoint for {@code POST /data/pipelines/pipelines}. */ + public static final Endpoint POST_DATA_PIPELINES_PIPELINES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/pipelines"); + /** Endpoint for {@code POST /data/pipelines/runs}. */ + public static final Endpoint POST_DATA_PIPELINES_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/runs"); + /** Endpoint for {@code POST /data/quality/quality/rulesets}. */ + public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets"); + /** Endpoint for {@code POST /data/quality/quality/rulesets/{param}/evaluations}. */ + public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS = + new Endpoint( + ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets/{param}/evaluations"); + /** Endpoint for {@code POST /data/quality/runs}. */ + public static final Endpoint POST_DATA_QUALITY_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/runs"); + /** Endpoint for {@code POST /data/query/query/federated}. */ + public static final Endpoint POST_DATA_QUERY_QUERY_FEDERATED = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/query/federated"); + /** Endpoint for {@code POST /data/query/runs}. */ + public static final Endpoint POST_DATA_QUERY_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/runs"); + /** Endpoint for {@code POST /data/schemas/runs}. */ + public static final Endpoint POST_DATA_SCHEMAS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/runs"); + /** Endpoint for {@code POST /data/schemas/schemas}. */ + public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas"); + /** Endpoint for {@code POST /data/schemas/schemas/resolve}. */ + public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS_RESOLVE = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas/resolve"); + /** Endpoint for {@code POST /data/serving/runs}. */ + public static final Endpoint POST_DATA_SERVING_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/runs"); + /** Endpoint for {@code POST /data/serving/serving/products}. */ + public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products"); + /** Endpoint for {@code POST /data/serving/serving/products/{param}/refreshes}. */ + public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES = + new Endpoint( + ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products/{param}/refreshes"); + /** Endpoint for {@code POST /data/streams/runs}. */ + public static final Endpoint POST_DATA_STREAMS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/runs"); + /** Endpoint for {@code POST /data/streams/streams}. */ + public static final Endpoint POST_DATA_STREAMS_STREAMS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams"); + /** Endpoint for {@code POST /data/streams/streams/{param}/deliveries}. */ + public static final Endpoint POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams/{param}/deliveries"); + /** Endpoint for {@code POST /data/sync/runs}. */ + public static final Endpoint POST_DATA_SYNC_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/runs"); + /** Endpoint for {@code POST /data/sync/sync/jobs}. */ + public static final Endpoint POST_DATA_SYNC_SYNC_JOBS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs"); + /** Endpoint for {@code POST /data/sync/sync/jobs/{param}/executions}. */ + public static final Endpoint POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs/{param}/executions"); + /** Endpoint for {@code POST /data/transformations/runs}. */ + public static final Endpoint POST_DATA_TRANSFORMATIONS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/runs"); + /** Endpoint for {@code POST /data/transformations/transformations}. */ + public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/transformations"); + /** Endpoint for {@code POST /data/transformations/transformations/{param}/executions}. */ + public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS = + new Endpoint( + ApiService.DATA, + HttpMethod.POST, + "/data/transformations/transformations/{param}/executions"); + } - public static final class Events { - private Events() {} + public static final class Events { + private Events() {} - /** Endpoint for {@code GET /events}. */ - public static final Endpoint GET_EVENTS = new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events"); - /** Endpoint for {@code GET /events/monitoring}. */ - public static final Endpoint GET_EVENTS_MONITORING = - new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/monitoring"); - /** Endpoint for {@code GET /events/{param}}. */ - public static final Endpoint GET_EVENTS_PARAM = - new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/{param}"); - /** Endpoint for {@code POST /events}. */ - public static final Endpoint POST_EVENTS = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events"); - /** Endpoint for {@code POST /events/analytics}. */ - public static final Endpoint POST_EVENTS_ANALYTICS = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics"); - /** Endpoint for {@code POST /events/analytics-v2}. */ - public static final Endpoint POST_EVENTS_ANALYTICS_V2 = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics-v2"); - /** Endpoint for {@code POST /events/benchmark/v1}. */ - public static final Endpoint POST_EVENTS_BENCHMARK_V1 = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v1"); - /** Endpoint for {@code POST /events/benchmark/v2}. */ - public static final Endpoint POST_EVENTS_BENCHMARK_V2 = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v2"); - /** Endpoint for {@code POST /events/bulk}. */ - public static final Endpoint POST_EVENTS_BULK = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/bulk"); - /** Endpoint for {@code POST /events/huggingface-billing}. */ - public static final Endpoint POST_EVENTS_HUGGINGFACE_BILLING = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/huggingface-billing"); - /** Endpoint for {@code POST /events/query}. */ - public static final Endpoint POST_EVENTS_QUERY = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/query"); - /** Endpoint for {@code POST /events/raw/reprocess/all}. */ - public static final Endpoint POST_EVENTS_RAW_REPROCESS_ALL = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/all"); - /** Endpoint for {@code POST /events/raw/reprocess/pending}. */ - public static final Endpoint POST_EVENTS_RAW_REPROCESS_PENDING = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/pending"); - /** Endpoint for {@code POST /events/reprocess}. */ - public static final Endpoint POST_EVENTS_REPROCESS = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess"); - /** Endpoint for {@code POST /events/reprocess/internal}. */ - public static final Endpoint POST_EVENTS_REPROCESS_INTERNAL = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess/internal"); - /** Endpoint for {@code POST /events/usage}. */ - public static final Endpoint POST_EVENTS_USAGE = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage"); - /** Endpoint for {@code POST /events/usage/meter}. */ - public static final Endpoint POST_EVENTS_USAGE_METER = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage/meter"); - } + /** Endpoint for {@code GET /events}. */ + public static final Endpoint GET_EVENTS = + new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events"); + /** Endpoint for {@code GET /events/monitoring}. */ + public static final Endpoint GET_EVENTS_MONITORING = + new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/monitoring"); + /** Endpoint for {@code GET /events/{param}}. */ + public static final Endpoint GET_EVENTS_PARAM = + new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/{param}"); + /** Endpoint for {@code POST /events}. */ + public static final Endpoint POST_EVENTS = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events"); + /** Endpoint for {@code POST /events/analytics}. */ + public static final Endpoint POST_EVENTS_ANALYTICS = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics"); + /** Endpoint for {@code POST /events/analytics-v2}. */ + public static final Endpoint POST_EVENTS_ANALYTICS_V2 = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics-v2"); + /** Endpoint for {@code POST /events/benchmark/v1}. */ + public static final Endpoint POST_EVENTS_BENCHMARK_V1 = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v1"); + /** Endpoint for {@code POST /events/benchmark/v2}. */ + public static final Endpoint POST_EVENTS_BENCHMARK_V2 = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v2"); + /** Endpoint for {@code POST /events/bulk}. */ + public static final Endpoint POST_EVENTS_BULK = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/bulk"); + /** Endpoint for {@code POST /events/huggingface-billing}. */ + public static final Endpoint POST_EVENTS_HUGGINGFACE_BILLING = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/huggingface-billing"); + /** Endpoint for {@code POST /events/query}. */ + public static final Endpoint POST_EVENTS_QUERY = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/query"); + /** Endpoint for {@code POST /events/raw/reprocess/all}. */ + public static final Endpoint POST_EVENTS_RAW_REPROCESS_ALL = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/all"); + /** Endpoint for {@code POST /events/raw/reprocess/pending}. */ + public static final Endpoint POST_EVENTS_RAW_REPROCESS_PENDING = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/pending"); + /** Endpoint for {@code POST /events/reprocess}. */ + public static final Endpoint POST_EVENTS_REPROCESS = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess"); + /** Endpoint for {@code POST /events/reprocess/internal}. */ + public static final Endpoint POST_EVENTS_REPROCESS_INTERNAL = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess/internal"); + /** Endpoint for {@code POST /events/usage}. */ + public static final Endpoint POST_EVENTS_USAGE = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage"); + /** Endpoint for {@code POST /events/usage/meter}. */ + public static final Endpoint POST_EVENTS_USAGE_METER = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage/meter"); + } - public static final class Governance { - private Governance() {} + public static final class Governance { + private Governance() {} - /** Endpoint for {@code DELETE /policies/{param}}. */ - public static final Endpoint DELETE_POLICIES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/policies/{param}"); - /** Endpoint for {@code DELETE /roles/{param}}. */ - public static final Endpoint DELETE_ROLES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/roles/{param}"); - /** Endpoint for {@code GET /compliance/assessments}. */ - public static final Endpoint GET_COMPLIANCE_ASSESSMENTS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments"); - /** Endpoint for {@code GET /compliance/assessments/{param}}. */ - public static final Endpoint GET_COMPLIANCE_ASSESSMENTS_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments/{param}"); - /** Endpoint for {@code GET /compliance/frameworks}. */ - public static final Endpoint GET_COMPLIANCE_FRAMEWORKS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/frameworks"); - /** Endpoint for {@code GET /compliance/score}. */ - public static final Endpoint GET_COMPLIANCE_SCORE = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/score"); - /** Endpoint for {@code GET /compliance/violations}. */ - public static final Endpoint GET_COMPLIANCE_VIOLATIONS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/violations"); - /** Endpoint for {@code GET /permissions}. */ - public static final Endpoint GET_PERMISSIONS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions"); - /** Endpoint for {@code GET /permissions/{param}}. */ - public static final Endpoint GET_PERMISSIONS_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions/{param}"); - /** Endpoint for {@code GET /policies}. */ - public static final Endpoint GET_POLICIES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies"); - /** Endpoint for {@code GET /policies/templates}. */ - public static final Endpoint GET_POLICIES_TEMPLATES = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/templates"); - /** Endpoint for {@code GET /policies/{param}}. */ - public static final Endpoint GET_POLICIES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}"); - /** Endpoint for {@code GET /policies/{param}/versions}. */ - public static final Endpoint GET_POLICIES_PARAM_VERSIONS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}/versions"); - /** Endpoint for {@code GET /roles}. */ - public static final Endpoint GET_ROLES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles"); - /** Endpoint for {@code GET /roles/{param}}. */ - public static final Endpoint GET_ROLES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles/{param}"); - /** Endpoint for {@code POST /access/check}. */ - public static final Endpoint POST_ACCESS_CHECK = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/access/check"); - /** Endpoint for {@code POST /compliance/assessments}. */ - public static final Endpoint POST_COMPLIANCE_ASSESSMENTS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/assessments"); - /** Endpoint for {@code POST /compliance/violations/{param}/resolve}. */ - public static final Endpoint POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/violations/{param}/resolve"); - /** Endpoint for {@code POST /permissions}. */ - public static final Endpoint POST_PERMISSIONS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/permissions"); - /** Endpoint for {@code POST /policies}. */ - public static final Endpoint POST_POLICIES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies"); - /** Endpoint for {@code POST /policies/from-template}. */ - public static final Endpoint POST_POLICIES_FROM_TEMPLATE = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/from-template"); - /** Endpoint for {@code POST /policies/validate}. */ - public static final Endpoint POST_POLICIES_VALIDATE = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/validate"); - /** Endpoint for {@code POST /roles}. */ - public static final Endpoint POST_ROLES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/roles"); - /** Endpoint for {@code PUT /policies/{param}}. */ - public static final Endpoint PUT_POLICIES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.PUT, "/policies/{param}"); - } + /** Endpoint for {@code DELETE /policies/{param}}. */ + public static final Endpoint DELETE_POLICIES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/policies/{param}"); + /** Endpoint for {@code DELETE /roles/{param}}. */ + public static final Endpoint DELETE_ROLES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/roles/{param}"); + /** Endpoint for {@code GET /compliance/assessments}. */ + public static final Endpoint GET_COMPLIANCE_ASSESSMENTS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments"); + /** Endpoint for {@code GET /compliance/assessments/{param}}. */ + public static final Endpoint GET_COMPLIANCE_ASSESSMENTS_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments/{param}"); + /** Endpoint for {@code GET /compliance/frameworks}. */ + public static final Endpoint GET_COMPLIANCE_FRAMEWORKS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/frameworks"); + /** Endpoint for {@code GET /compliance/score}. */ + public static final Endpoint GET_COMPLIANCE_SCORE = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/score"); + /** Endpoint for {@code GET /compliance/violations}. */ + public static final Endpoint GET_COMPLIANCE_VIOLATIONS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/violations"); + /** Endpoint for {@code GET /permissions}. */ + public static final Endpoint GET_PERMISSIONS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions"); + /** Endpoint for {@code GET /permissions/{param}}. */ + public static final Endpoint GET_PERMISSIONS_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions/{param}"); + /** Endpoint for {@code GET /policies}. */ + public static final Endpoint GET_POLICIES = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies"); + /** Endpoint for {@code GET /policies/templates}. */ + public static final Endpoint GET_POLICIES_TEMPLATES = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/templates"); + /** Endpoint for {@code GET /policies/{param}}. */ + public static final Endpoint GET_POLICIES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}"); + /** Endpoint for {@code GET /policies/{param}/versions}. */ + public static final Endpoint GET_POLICIES_PARAM_VERSIONS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}/versions"); + /** Endpoint for {@code GET /roles}. */ + public static final Endpoint GET_ROLES = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles"); + /** Endpoint for {@code GET /roles/{param}}. */ + public static final Endpoint GET_ROLES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles/{param}"); + /** Endpoint for {@code POST /access/check}. */ + public static final Endpoint POST_ACCESS_CHECK = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/access/check"); + /** Endpoint for {@code POST /compliance/assessments}. */ + public static final Endpoint POST_COMPLIANCE_ASSESSMENTS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/assessments"); + /** Endpoint for {@code POST /compliance/violations/{param}/resolve}. */ + public static final Endpoint POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE = + new Endpoint( + ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/violations/{param}/resolve"); + /** Endpoint for {@code POST /permissions}. */ + public static final Endpoint POST_PERMISSIONS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/permissions"); + /** Endpoint for {@code POST /policies}. */ + public static final Endpoint POST_POLICIES = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies"); + /** Endpoint for {@code POST /policies/from-template}. */ + public static final Endpoint POST_POLICIES_FROM_TEMPLATE = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/from-template"); + /** Endpoint for {@code POST /policies/validate}. */ + public static final Endpoint POST_POLICIES_VALIDATE = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/validate"); + /** Endpoint for {@code POST /roles}. */ + public static final Endpoint POST_ROLES = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/roles"); + /** Endpoint for {@code PUT /policies/{param}}. */ + public static final Endpoint PUT_POLICIES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.PUT, "/policies/{param}"); + } - public static final class Invocations { - private Invocations() {} + public static final class Invocations { + private Invocations() {} - /** Endpoint for {@code POST /invocations}. */ - public static final Endpoint POST_INVOCATIONS = - new Endpoint(ApiService.INVOCATIONS, HttpMethod.POST, "/invocations"); - } + /** Endpoint for {@code POST /invocations}. */ + public static final Endpoint POST_INVOCATIONS = + new Endpoint(ApiService.INVOCATIONS, HttpMethod.POST, "/invocations"); + } - public static final class Lineage { - private Lineage() {} + public static final class Lineage { + private Lineage() {} - /** Endpoint for {@code GET /lineage/edges}. */ - public static final Endpoint GET_LINEAGE_EDGES = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges"); - /** Endpoint for {@code GET /lineage/edges/{param}}. */ - public static final Endpoint GET_LINEAGE_EDGES_PARAM = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges/{param}"); - /** Endpoint for {@code GET /lineage/graph}. */ - public static final Endpoint GET_LINEAGE_GRAPH = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/graph"); - /** Endpoint for {@code GET /lineage/nodes}. */ - public static final Endpoint GET_LINEAGE_NODES = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes"); - /** Endpoint for {@code GET /lineage/nodes/{param}}. */ - public static final Endpoint GET_LINEAGE_NODES_PARAM = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}"); - /** Endpoint for {@code GET /lineage/nodes/{param}/trace}. */ - public static final Endpoint GET_LINEAGE_NODES_PARAM_TRACE = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}/trace"); - /** Endpoint for {@code POST /lineage/impact}. */ - public static final Endpoint POST_LINEAGE_IMPACT = - new Endpoint(ApiService.LINEAGE, HttpMethod.POST, "/lineage/impact"); - } + /** Endpoint for {@code GET /lineage/edges}. */ + public static final Endpoint GET_LINEAGE_EDGES = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges"); + /** Endpoint for {@code GET /lineage/edges/{param}}. */ + public static final Endpoint GET_LINEAGE_EDGES_PARAM = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges/{param}"); + /** Endpoint for {@code GET /lineage/graph}. */ + public static final Endpoint GET_LINEAGE_GRAPH = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/graph"); + /** Endpoint for {@code GET /lineage/nodes}. */ + public static final Endpoint GET_LINEAGE_NODES = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes"); + /** Endpoint for {@code GET /lineage/nodes/{param}}. */ + public static final Endpoint GET_LINEAGE_NODES_PARAM = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}"); + /** Endpoint for {@code GET /lineage/nodes/{param}/trace}. */ + public static final Endpoint GET_LINEAGE_NODES_PARAM_TRACE = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}/trace"); + /** Endpoint for {@code POST /lineage/impact}. */ + public static final Endpoint POST_LINEAGE_IMPACT = + new Endpoint(ApiService.LINEAGE, HttpMethod.POST, "/lineage/impact"); + } - public static final class Observability { - private Observability() {} + public static final class Observability { + private Observability() {} - /** Endpoint for {@code DELETE /observability/alerts/rules/{param}}. */ - public static final Endpoint DELETE_OBSERVABILITY_ALERTS_RULES_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/rules/{param}"); - /** Endpoint for {@code DELETE /observability/alerts/{param}}. */ - public static final Endpoint DELETE_OBSERVABILITY_ALERTS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/{param}"); - /** Endpoint for {@code DELETE /observability/dashboards/{param}}. */ - public static final Endpoint DELETE_OBSERVABILITY_DASHBOARDS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/dashboards/{param}"); - /** Endpoint for {@code GET /observability/alerts}. */ - public static final Endpoint GET_OBSERVABILITY_ALERTS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts"); - /** Endpoint for {@code GET /observability/alerts/incidents}. */ - public static final Endpoint GET_OBSERVABILITY_ALERTS_INCIDENTS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/incidents"); - /** Endpoint for {@code GET /observability/alerts/rules}. */ - public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules"); - /** Endpoint for {@code GET /observability/alerts/rules/{param}}. */ - public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules/{param}"); - /** Endpoint for {@code GET /observability/dashboards}. */ - public static final Endpoint GET_OBSERVABILITY_DASHBOARDS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards"); - /** Endpoint for {@code GET /observability/dashboards/{param}}. */ - public static final Endpoint GET_OBSERVABILITY_DASHBOARDS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards/{param}"); - /** Endpoint for {@code GET /observability/events/stats}. */ - public static final Endpoint GET_OBSERVABILITY_EVENTS_STATS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/events/stats"); - /** Endpoint for {@code GET /observability/metrics}. */ - public static final Endpoint GET_OBSERVABILITY_METRICS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics"); - /** Endpoint for {@code GET /observability/metrics/list}. */ - public static final Endpoint GET_OBSERVABILITY_METRICS_LIST = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics/list"); - /** Endpoint for {@code GET /observability/traces}. */ - public static final Endpoint GET_OBSERVABILITY_TRACES = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces"); - /** Endpoint for {@code GET /observability/traces/{param}}. */ - public static final Endpoint GET_OBSERVABILITY_TRACES_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces/{param}"); - /** Endpoint for {@code POST /observability/alerts}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts"); - /** Endpoint for {@code POST /observability/alerts/rules}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/rules"); - /** Endpoint for {@code POST /observability/alerts/rules/{param}/toggle}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/rules/{param}/toggle"); - /** Endpoint for {@code POST /observability/alerts/{param}/disable}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_DISABLE = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/disable"); - /** Endpoint for {@code POST /observability/alerts/{param}/enable}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_ENABLE = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/enable"); - /** Endpoint for {@code POST /observability/dashboards}. */ - public static final Endpoint POST_OBSERVABILITY_DASHBOARDS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards"); - /** Endpoint for {@code POST /observability/dashboards/{param}/share}. */ - public static final Endpoint POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards/{param}/share"); - /** Endpoint for {@code POST /observability/events}. */ - public static final Endpoint POST_OBSERVABILITY_EVENTS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events"); - /** Endpoint for {@code POST /observability/events/batch}. */ - public static final Endpoint POST_OBSERVABILITY_EVENTS_BATCH = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events/batch"); - /** Endpoint for {@code POST /observability/logs/ingest}. */ - public static final Endpoint POST_OBSERVABILITY_LOGS_INGEST = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/ingest"); - /** Endpoint for {@code POST /observability/logs/query}. */ - public static final Endpoint POST_OBSERVABILITY_LOGS_QUERY = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/query"); - /** Endpoint for {@code POST /observability/metrics/ingest}. */ - public static final Endpoint POST_OBSERVABILITY_METRICS_INGEST = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/metrics/ingest"); - /** Endpoint for {@code POST /observability/traces/query}. */ - public static final Endpoint POST_OBSERVABILITY_TRACES_QUERY = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/traces/query"); - /** Endpoint for {@code PUT /observability/alerts/rules/{param}}. */ - public static final Endpoint PUT_OBSERVABILITY_ALERTS_RULES_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/rules/{param}"); - /** Endpoint for {@code PUT /observability/alerts/{param}}. */ - public static final Endpoint PUT_OBSERVABILITY_ALERTS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/{param}"); - /** Endpoint for {@code PUT /observability/dashboards/{param}}. */ - public static final Endpoint PUT_OBSERVABILITY_DASHBOARDS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/dashboards/{param}"); - /** Endpoint for {@code STREAM /observability/logs/stream}. */ - public static final Endpoint STREAM_OBSERVABILITY_LOGS_STREAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.STREAM, "/observability/logs/stream"); - } + /** Endpoint for {@code DELETE /observability/alerts/rules/{param}}. */ + public static final Endpoint DELETE_OBSERVABILITY_ALERTS_RULES_PARAM = + new Endpoint( + ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code DELETE /observability/alerts/{param}}. */ + public static final Endpoint DELETE_OBSERVABILITY_ALERTS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/{param}"); + /** Endpoint for {@code DELETE /observability/dashboards/{param}}. */ + public static final Endpoint DELETE_OBSERVABILITY_DASHBOARDS_PARAM = + new Endpoint( + ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/dashboards/{param}"); + /** Endpoint for {@code GET /observability/alerts}. */ + public static final Endpoint GET_OBSERVABILITY_ALERTS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts"); + /** Endpoint for {@code GET /observability/alerts/incidents}. */ + public static final Endpoint GET_OBSERVABILITY_ALERTS_INCIDENTS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/incidents"); + /** Endpoint for {@code GET /observability/alerts/rules}. */ + public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules"); + /** Endpoint for {@code GET /observability/alerts/rules/{param}}. */ + public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES_PARAM = + new Endpoint( + ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code GET /observability/dashboards}. */ + public static final Endpoint GET_OBSERVABILITY_DASHBOARDS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards"); + /** Endpoint for {@code GET /observability/dashboards/{param}}. */ + public static final Endpoint GET_OBSERVABILITY_DASHBOARDS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards/{param}"); + /** Endpoint for {@code GET /observability/events/stats}. */ + public static final Endpoint GET_OBSERVABILITY_EVENTS_STATS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/events/stats"); + /** Endpoint for {@code GET /observability/metrics}. */ + public static final Endpoint GET_OBSERVABILITY_METRICS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics"); + /** Endpoint for {@code GET /observability/metrics/list}. */ + public static final Endpoint GET_OBSERVABILITY_METRICS_LIST = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics/list"); + /** Endpoint for {@code GET /observability/traces}. */ + public static final Endpoint GET_OBSERVABILITY_TRACES = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces"); + /** Endpoint for {@code GET /observability/traces/{param}}. */ + public static final Endpoint GET_OBSERVABILITY_TRACES_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces/{param}"); + /** Endpoint for {@code POST /observability/alerts}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts"); + /** Endpoint for {@code POST /observability/alerts/rules}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/rules"); + /** Endpoint for {@code POST /observability/alerts/rules/{param}/toggle}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE = + new Endpoint( + ApiService.OBSERVABILITY, + HttpMethod.POST, + "/observability/alerts/rules/{param}/toggle"); + /** Endpoint for {@code POST /observability/alerts/{param}/disable}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_DISABLE = + new Endpoint( + ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/disable"); + /** Endpoint for {@code POST /observability/alerts/{param}/enable}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_ENABLE = + new Endpoint( + ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/enable"); + /** Endpoint for {@code POST /observability/dashboards}. */ + public static final Endpoint POST_OBSERVABILITY_DASHBOARDS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards"); + /** Endpoint for {@code POST /observability/dashboards/{param}/share}. */ + public static final Endpoint POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE = + new Endpoint( + ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards/{param}/share"); + /** Endpoint for {@code POST /observability/events}. */ + public static final Endpoint POST_OBSERVABILITY_EVENTS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events"); + /** Endpoint for {@code POST /observability/events/batch}. */ + public static final Endpoint POST_OBSERVABILITY_EVENTS_BATCH = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events/batch"); + /** Endpoint for {@code POST /observability/logs/ingest}. */ + public static final Endpoint POST_OBSERVABILITY_LOGS_INGEST = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/ingest"); + /** Endpoint for {@code POST /observability/logs/query}. */ + public static final Endpoint POST_OBSERVABILITY_LOGS_QUERY = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/query"); + /** Endpoint for {@code POST /observability/metrics/ingest}. */ + public static final Endpoint POST_OBSERVABILITY_METRICS_INGEST = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/metrics/ingest"); + /** Endpoint for {@code POST /observability/traces/query}. */ + public static final Endpoint POST_OBSERVABILITY_TRACES_QUERY = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/traces/query"); + /** Endpoint for {@code PUT /observability/alerts/rules/{param}}. */ + public static final Endpoint PUT_OBSERVABILITY_ALERTS_RULES_PARAM = + new Endpoint( + ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code PUT /observability/alerts/{param}}. */ + public static final Endpoint PUT_OBSERVABILITY_ALERTS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/{param}"); + /** Endpoint for {@code PUT /observability/dashboards/{param}}. */ + public static final Endpoint PUT_OBSERVABILITY_DASHBOARDS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/dashboards/{param}"); + /** Endpoint for {@code STREAM /observability/logs/stream}. */ + public static final Endpoint STREAM_OBSERVABILITY_LOGS_STREAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.STREAM, "/observability/logs/stream"); + } - public static final class Ontology { - private Ontology() {} + public static final class Ontology { + private Ontology() {} - /** Endpoint for {@code DELETE /ontology/objects/object-types/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/object-types/{param}"); - /** Endpoint for {@code DELETE /ontology/objects/objects/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/objects/{param}"); - /** Endpoint for {@code DELETE /ontology/reasoning/rules/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_REASONING_RULES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/reasoning/rules/{param}"); - /** Endpoint for {@code DELETE /ontology/relationships/relationship-types/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM = new Endpoint( - ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/relationships/relationship-types/{param}"); - /** Endpoint for {@code DELETE /ontology/relationships/relationships/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/relationships/relationships/{param}"); - /** Endpoint for {@code DELETE /ontology/rollouts/rollouts/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollouts/rollouts/{param}"); - /** Endpoint for {@code DELETE /ontology/rollups/rollups/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollups/rollups/{param}"); - /** Endpoint for {@code DELETE /ontology/schemas/schemas/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/schemas/schemas/{param}"); - /** Endpoint for {@code DELETE /ontology/validation/rules/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_VALIDATION_RULES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/validation/rules/{param}"); - /** Endpoint for {@code DELETE /ontology/versions/versions/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/versions/versions/{param}"); - /** Endpoint for {@code GET /ontology/engine/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/capabilities"); - /** Endpoint for {@code GET /ontology/engine/health}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/health"); - /** Endpoint for {@code GET /ontology/engine/info}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/info"); - /** Endpoint for {@code GET /ontology/engine/runs}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs"); - /** Endpoint for {@code GET /ontology/engine/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs/{param}"); - /** Endpoint for {@code GET /ontology/events/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/capabilities"); - /** Endpoint for {@code GET /ontology/events/events}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events"); - /** Endpoint for {@code GET /ontology/events/events/checkpoints/{param}}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/checkpoints/{param}"); - /** Endpoint for {@code GET /ontology/events/events/{param}}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/{param}"); - /** Endpoint for {@code GET /ontology/events/health}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/health"); - /** Endpoint for {@code GET /ontology/events/info}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/info"); - /** Endpoint for {@code GET /ontology/events/runs}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs"); - /** Endpoint for {@code GET /ontology/events/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs/{param}"); - /** Endpoint for {@code GET /ontology/extract/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/capabilities"); - /** Endpoint for {@code GET /ontology/extract/health}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/health"); - /** Endpoint for {@code GET /ontology/extract/info}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/info"); - /** Endpoint for {@code GET /ontology/extract/runs}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs"); - /** Endpoint for {@code GET /ontology/extract/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs/{param}"); - /** Endpoint for {@code GET /ontology/graph/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/capabilities"); - /** Endpoint for {@code GET /ontology/graph/entities/{param}}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}"); - /** Endpoint for {@code GET /ontology/graph/entities/{param}/provenance}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}/provenance"); - /** Endpoint for {@code GET /ontology/graph/health}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/health"); - /** Endpoint for {@code GET /ontology/graph/info}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/info"); - /** Endpoint for {@code GET /ontology/graph/relationships/{param}}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/relationships/{param}"); - /** Endpoint for {@code GET /ontology/graph/runs}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs"); - /** Endpoint for {@code GET /ontology/graph/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs/{param}"); - /** Endpoint for {@code GET /ontology/objects/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/capabilities"); - /** Endpoint for {@code GET /ontology/objects/health}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/health"); - /** Endpoint for {@code GET /ontology/objects/info}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/info"); - /** Endpoint for {@code GET /ontology/objects/object-types}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types"); - /** Endpoint for {@code GET /ontology/objects/object-types/{param}}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types/{param}"); - /** Endpoint for {@code GET /ontology/objects/objects}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects"); - /** Endpoint for {@code GET /ontology/objects/objects/{param}}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects/{param}"); - /** Endpoint for {@code GET /ontology/objects/runs}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs"); - /** Endpoint for {@code GET /ontology/objects/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs/{param}"); - /** Endpoint for {@code GET /ontology/reasoning/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/capabilities"); - /** Endpoint for {@code GET /ontology/reasoning/health}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/health"); - /** Endpoint for {@code GET /ontology/reasoning/info}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/info"); - /** Endpoint for {@code GET /ontology/reasoning/rules}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_RULES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/rules"); - /** Endpoint for {@code GET /ontology/reasoning/runs}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs"); - /** Endpoint for {@code GET /ontology/reasoning/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs/{param}"); - /** Endpoint for {@code GET /ontology/relationships/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/capabilities"); - /** Endpoint for {@code GET /ontology/relationships/health}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/health"); - /** Endpoint for {@code GET /ontology/relationships/info}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/info"); - /** Endpoint for {@code GET /ontology/relationships/relationship-types}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationship-types"); - /** Endpoint for {@code GET /ontology/relationships/relationships}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships"); - /** Endpoint for {@code GET /ontology/relationships/relationships/{param}}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships/{param}"); - /** Endpoint for {@code GET /ontology/relationships/runs}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs"); - /** Endpoint for {@code GET /ontology/relationships/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs/{param}"); - /** Endpoint for {@code GET /ontology/rollouts/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/capabilities"); - /** Endpoint for {@code GET /ontology/rollouts/health}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/health"); - /** Endpoint for {@code GET /ontology/rollouts/info}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/info"); - /** Endpoint for {@code GET /ontology/rollouts/rollouts}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts"); - /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}"); - /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}/status}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}/status"); - /** Endpoint for {@code GET /ontology/rollouts/runs}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs"); - /** Endpoint for {@code GET /ontology/rollouts/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs/{param}"); - /** Endpoint for {@code GET /ontology/rollups/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/capabilities"); - /** Endpoint for {@code GET /ontology/rollups/health}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/health"); - /** Endpoint for {@code GET /ontology/rollups/info}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/info"); - /** Endpoint for {@code GET /ontology/rollups/rollup-results/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollup-results/{param}"); - /** Endpoint for {@code GET /ontology/rollups/rollups}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups"); - /** Endpoint for {@code GET /ontology/rollups/rollups/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}"); - /** Endpoint for {@code GET /ontology/rollups/rollups/{param}/result}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}/result"); - /** Endpoint for {@code GET /ontology/rollups/runs}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs"); - /** Endpoint for {@code GET /ontology/rollups/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs/{param}"); - /** Endpoint for {@code GET /ontology/schemas/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/capabilities"); - /** Endpoint for {@code GET /ontology/schemas/health}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/health"); - /** Endpoint for {@code GET /ontology/schemas/info}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/info"); - /** Endpoint for {@code GET /ontology/schemas/runs}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs"); - /** Endpoint for {@code GET /ontology/schemas/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs/{param}"); - /** Endpoint for {@code GET /ontology/schemas/schemas}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas"); - /** Endpoint for {@code GET /ontology/schemas/schemas/{param}}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas/{param}"); - /** Endpoint for {@code GET /ontology/transformations/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/capabilities"); - /** Endpoint for {@code GET /ontology/transformations/health}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/health"); - /** Endpoint for {@code GET /ontology/transformations/info}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/info"); - /** Endpoint for {@code GET /ontology/transformations/runs}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs"); - /** Endpoint for {@code GET /ontology/transformations/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs/{param}"); - /** Endpoint for {@code GET /ontology/validation/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/capabilities"); - /** Endpoint for {@code GET /ontology/validation/health}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/health"); - /** Endpoint for {@code GET /ontology/validation/info}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/info"); - /** Endpoint for {@code GET /ontology/validation/rules}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules"); - /** Endpoint for {@code GET /ontology/validation/rules/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules/{param}"); - /** Endpoint for {@code GET /ontology/validation/runs}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs"); - /** Endpoint for {@code GET /ontology/validation/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs/{param}"); - /** Endpoint for {@code GET /ontology/versions/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/capabilities"); - /** Endpoint for {@code GET /ontology/versions/health}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/health"); - /** Endpoint for {@code GET /ontology/versions/info}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/info"); - /** Endpoint for {@code GET /ontology/versions/release-bundles}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles"); - /** Endpoint for {@code GET /ontology/versions/release-bundles/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles/{param}"); - /** Endpoint for {@code GET /ontology/versions/runs}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs"); - /** Endpoint for {@code GET /ontology/versions/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs/{param}"); - /** Endpoint for {@code GET /ontology/versions/versions/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/versions/{param}"); - /** Endpoint for {@code POST /ontology/engine/ontologies/compare-versions}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/compare-versions"); - /** Endpoint for {@code POST /ontology/engine/ontologies/export}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export"); - /** Endpoint for {@code POST /ontology/engine/ontologies/export-shacl}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export-shacl"); - /** Endpoint for {@code POST /ontology/engine/ontologies/generate}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/generate"); - /** Endpoint for {@code POST /ontology/engine/ontologies/infer-classes}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-classes"); - /** Endpoint for {@code POST /ontology/engine/ontologies/infer-properties}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-properties"); - /** Endpoint for {@code POST /ontology/engine/ontologies/validate}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/validate"); - /** Endpoint for {@code POST /ontology/engine/runs}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/runs"); - /** Endpoint for {@code POST /ontology/events/events}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events"); - /** Endpoint for {@code POST /ontology/events/events/checkpoints}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/checkpoints"); - /** Endpoint for {@code POST /ontology/events/events/leases/acknowledge}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acknowledge"); - /** Endpoint for {@code POST /ontology/events/events/leases/acquire}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acquire"); - /** Endpoint for {@code POST /ontology/events/runs}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/runs"); - /** Endpoint for {@code POST /ontology/extract/extract/analyze}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/analyze"); - /** Endpoint for {@code POST /ontology/extract/extract/architecture}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/architecture"); - /** Endpoint for {@code POST /ontology/extract/extract/coreferences}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/coreferences"); - /** Endpoint for {@code POST /ontology/extract/extract/entities}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/entities"); - /** Endpoint for {@code POST /ontology/extract/extract/events}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/events"); - /** Endpoint for {@code POST /ontology/extract/extract/relations}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/relations"); - /** Endpoint for {@code POST /ontology/extract/extract/triplets}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/triplets"); - /** Endpoint for {@code POST /ontology/extract/runs}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/runs"); - /** Endpoint for {@code POST /ontology/graph/graph/analyze}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/analyze"); - /** Endpoint for {@code POST /ontology/graph/graph/build}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BUILD = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/build"); - /** Endpoint for {@code POST /ontology/graph/graph/bulk-read}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/bulk-read"); - /** Endpoint for {@code POST /ontology/graph/graph/neighborhood}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/neighborhood"); - /** Endpoint for {@code POST /ontology/graph/graph/path}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_PATH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/path"); - /** Endpoint for {@code POST /ontology/graph/graph/query}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_QUERY = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/query"); - /** Endpoint for {@code POST /ontology/graph/runs}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/runs"); - /** Endpoint for {@code POST /ontology/objects/runs}. */ - public static final Endpoint POST_ONTOLOGY_OBJECTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/objects/runs"); - /** Endpoint for {@code POST /ontology/reasoning/explain}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_EXPLAIN = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/explain"); - /** Endpoint for {@code POST /ontology/reasoning/facts}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_FACTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts"); - /** Endpoint for {@code POST /ontology/reasoning/facts/load-graph}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts/load-graph"); - /** Endpoint for {@code POST /ontology/reasoning/reason/backward}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_REASON_BACKWARD = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/backward"); - /** Endpoint for {@code POST /ontology/reasoning/reason/forward}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_REASON_FORWARD = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/forward"); - /** Endpoint for {@code POST /ontology/reasoning/rules}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_RULES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/rules"); - /** Endpoint for {@code POST /ontology/reasoning/runs}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/runs"); - /** Endpoint for {@code POST /ontology/relationships/runs}. */ - public static final Endpoint POST_ONTOLOGY_RELATIONSHIPS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/relationships/runs"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/pause}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/pause"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/resume}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/resume"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/rollback}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/rollback"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/start}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/start"); - /** Endpoint for {@code POST /ontology/rollouts/runs}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/runs"); - /** Endpoint for {@code POST /ontology/rollups/rollups}. */ - public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups"); - /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/execute}. */ - public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/execute"); - /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/preview}. */ - public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/preview"); - /** Endpoint for {@code POST /ontology/rollups/runs}. */ - public static final Endpoint POST_ONTOLOGY_ROLLUPS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/runs"); - /** Endpoint for {@code POST /ontology/schemas/runs}. */ - public static final Endpoint POST_ONTOLOGY_SCHEMAS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/runs"); - /** Endpoint for {@code POST /ontology/schemas/schemas}. */ - public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas"); - /** Endpoint for {@code POST /ontology/schemas/schemas/validate}. */ - public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas/validate"); - /** Endpoint for {@code POST /ontology/transformations/runs}. */ - public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/runs"); - /** Endpoint for {@code POST /ontology/transformations/transformations}. */ - public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/transformations"); - /** Endpoint for {@code POST /ontology/validation/payloads/validate}. */ - public static final Endpoint POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/payloads/validate"); - /** Endpoint for {@code POST /ontology/validation/rules}. */ - public static final Endpoint POST_ONTOLOGY_VALIDATION_RULES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/rules"); - /** Endpoint for {@code POST /ontology/validation/runs}. */ - public static final Endpoint POST_ONTOLOGY_VALIDATION_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/runs"); - /** Endpoint for {@code POST /ontology/versions/audit/verify}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/audit/verify"); - /** Endpoint for {@code POST /ontology/versions/release-bundles}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/release-bundles"); - /** Endpoint for {@code POST /ontology/versions/runs}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/runs"); - /** Endpoint for {@code POST /ontology/versions/versions}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions"); - /** Endpoint for {@code POST /ontology/versions/versions/compare}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions/compare"); - /** Endpoint for {@code PUT /ontology/graph/entities/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/entities/{param}"); - /** Endpoint for {@code PUT /ontology/graph/relationships/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/relationships/{param}"); - /** Endpoint for {@code PUT /ontology/objects/object-types/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/object-types/{param}"); - /** Endpoint for {@code PUT /ontology/objects/objects/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/objects/{param}"); - /** Endpoint for {@code PUT /ontology/reasoning/rules/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_REASONING_RULES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/reasoning/rules/{param}"); - /** Endpoint for {@code PUT /ontology/relationships/relationships/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/relationships/relationships/{param}"); - /** Endpoint for {@code PUT /ontology/rollouts/rollouts/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollouts/rollouts/{param}"); - /** Endpoint for {@code PUT /ontology/rollups/rollups/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollups/rollups/{param}"); - } + /** Endpoint for {@code DELETE /ontology/objects/object-types/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code DELETE /ontology/objects/objects/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code DELETE /ontology/reasoning/rules/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_REASONING_RULES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/reasoning/rules/{param}"); + /** Endpoint for {@code DELETE /ontology/relationships/relationship-types/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM = + new Endpoint( + ApiService.ONTOLOGY, + HttpMethod.DELETE, + "/ontology/relationships/relationship-types/{param}"); + /** Endpoint for {@code DELETE /ontology/relationships/relationships/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = + new Endpoint( + ApiService.ONTOLOGY, + HttpMethod.DELETE, + "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code DELETE /ontology/rollouts/rollouts/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code DELETE /ontology/rollups/rollups/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollups/rollups/{param}"); + /** Endpoint for {@code DELETE /ontology/schemas/schemas/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/schemas/schemas/{param}"); + /** Endpoint for {@code DELETE /ontology/validation/rules/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_VALIDATION_RULES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/validation/rules/{param}"); + /** Endpoint for {@code DELETE /ontology/versions/versions/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/versions/versions/{param}"); + /** Endpoint for {@code GET /ontology/engine/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/capabilities"); + /** Endpoint for {@code GET /ontology/engine/health}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/health"); + /** Endpoint for {@code GET /ontology/engine/info}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/info"); + /** Endpoint for {@code GET /ontology/engine/runs}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs"); + /** Endpoint for {@code GET /ontology/engine/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs/{param}"); + /** Endpoint for {@code GET /ontology/events/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/capabilities"); + /** Endpoint for {@code GET /ontology/events/events}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events"); + /** Endpoint for {@code GET /ontology/events/events/checkpoints/{param}}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/checkpoints/{param}"); + /** Endpoint for {@code GET /ontology/events/events/{param}}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/{param}"); + /** Endpoint for {@code GET /ontology/events/health}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/health"); + /** Endpoint for {@code GET /ontology/events/info}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/info"); + /** Endpoint for {@code GET /ontology/events/runs}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs"); + /** Endpoint for {@code GET /ontology/events/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs/{param}"); + /** Endpoint for {@code GET /ontology/extract/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/capabilities"); + /** Endpoint for {@code GET /ontology/extract/health}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/health"); + /** Endpoint for {@code GET /ontology/extract/info}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/info"); + /** Endpoint for {@code GET /ontology/extract/runs}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs"); + /** Endpoint for {@code GET /ontology/extract/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs/{param}"); + /** Endpoint for {@code GET /ontology/graph/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/capabilities"); + /** Endpoint for {@code GET /ontology/graph/entities/{param}}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}"); + /** Endpoint for {@code GET /ontology/graph/entities/{param}/provenance}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}/provenance"); + /** Endpoint for {@code GET /ontology/graph/health}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/health"); + /** Endpoint for {@code GET /ontology/graph/info}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/info"); + /** Endpoint for {@code GET /ontology/graph/relationships/{param}}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/relationships/{param}"); + /** Endpoint for {@code GET /ontology/graph/runs}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs"); + /** Endpoint for {@code GET /ontology/graph/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs/{param}"); + /** Endpoint for {@code GET /ontology/objects/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/capabilities"); + /** Endpoint for {@code GET /ontology/objects/health}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/health"); + /** Endpoint for {@code GET /ontology/objects/info}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/info"); + /** Endpoint for {@code GET /ontology/objects/object-types}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types"); + /** Endpoint for {@code GET /ontology/objects/object-types/{param}}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code GET /ontology/objects/objects}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects"); + /** Endpoint for {@code GET /ontology/objects/objects/{param}}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code GET /ontology/objects/runs}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs"); + /** Endpoint for {@code GET /ontology/objects/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs/{param}"); + /** Endpoint for {@code GET /ontology/reasoning/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/capabilities"); + /** Endpoint for {@code GET /ontology/reasoning/health}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/health"); + /** Endpoint for {@code GET /ontology/reasoning/info}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/info"); + /** Endpoint for {@code GET /ontology/reasoning/rules}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_RULES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/rules"); + /** Endpoint for {@code GET /ontology/reasoning/runs}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs"); + /** Endpoint for {@code GET /ontology/reasoning/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs/{param}"); + /** Endpoint for {@code GET /ontology/relationships/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/capabilities"); + /** Endpoint for {@code GET /ontology/relationships/health}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/health"); + /** Endpoint for {@code GET /ontology/relationships/info}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/info"); + /** Endpoint for {@code GET /ontology/relationships/relationship-types}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationship-types"); + /** Endpoint for {@code GET /ontology/relationships/relationships}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships"); + /** Endpoint for {@code GET /ontology/relationships/relationships/{param}}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code GET /ontology/relationships/runs}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs"); + /** Endpoint for {@code GET /ontology/relationships/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs/{param}"); + /** Endpoint for {@code GET /ontology/rollouts/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/capabilities"); + /** Endpoint for {@code GET /ontology/rollouts/health}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/health"); + /** Endpoint for {@code GET /ontology/rollouts/info}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/info"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}/status}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}/status"); + /** Endpoint for {@code GET /ontology/rollouts/runs}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs"); + /** Endpoint for {@code GET /ontology/rollouts/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs/{param}"); + /** Endpoint for {@code GET /ontology/rollups/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/capabilities"); + /** Endpoint for {@code GET /ontology/rollups/health}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/health"); + /** Endpoint for {@code GET /ontology/rollups/info}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/info"); + /** Endpoint for {@code GET /ontology/rollups/rollup-results/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollup-results/{param}"); + /** Endpoint for {@code GET /ontology/rollups/rollups}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups"); + /** Endpoint for {@code GET /ontology/rollups/rollups/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}"); + /** Endpoint for {@code GET /ontology/rollups/rollups/{param}/result}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}/result"); + /** Endpoint for {@code GET /ontology/rollups/runs}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs"); + /** Endpoint for {@code GET /ontology/rollups/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs/{param}"); + /** Endpoint for {@code GET /ontology/schemas/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/capabilities"); + /** Endpoint for {@code GET /ontology/schemas/health}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/health"); + /** Endpoint for {@code GET /ontology/schemas/info}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/info"); + /** Endpoint for {@code GET /ontology/schemas/runs}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs"); + /** Endpoint for {@code GET /ontology/schemas/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs/{param}"); + /** Endpoint for {@code GET /ontology/schemas/schemas}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas"); + /** Endpoint for {@code GET /ontology/schemas/schemas/{param}}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas/{param}"); + /** Endpoint for {@code GET /ontology/transformations/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/capabilities"); + /** Endpoint for {@code GET /ontology/transformations/health}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/health"); + /** Endpoint for {@code GET /ontology/transformations/info}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/info"); + /** Endpoint for {@code GET /ontology/transformations/runs}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs"); + /** Endpoint for {@code GET /ontology/transformations/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs/{param}"); + /** Endpoint for {@code GET /ontology/validation/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/capabilities"); + /** Endpoint for {@code GET /ontology/validation/health}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/health"); + /** Endpoint for {@code GET /ontology/validation/info}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/info"); + /** Endpoint for {@code GET /ontology/validation/rules}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules"); + /** Endpoint for {@code GET /ontology/validation/rules/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules/{param}"); + /** Endpoint for {@code GET /ontology/validation/runs}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs"); + /** Endpoint for {@code GET /ontology/validation/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs/{param}"); + /** Endpoint for {@code GET /ontology/versions/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/capabilities"); + /** Endpoint for {@code GET /ontology/versions/health}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/health"); + /** Endpoint for {@code GET /ontology/versions/info}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/info"); + /** Endpoint for {@code GET /ontology/versions/release-bundles}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles"); + /** Endpoint for {@code GET /ontology/versions/release-bundles/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles/{param}"); + /** Endpoint for {@code GET /ontology/versions/runs}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs"); + /** Endpoint for {@code GET /ontology/versions/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs/{param}"); + /** Endpoint for {@code GET /ontology/versions/versions/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/versions/{param}"); + /** Endpoint for {@code POST /ontology/engine/ontologies/compare-versions}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/compare-versions"); + /** Endpoint for {@code POST /ontology/engine/ontologies/export}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export"); + /** Endpoint for {@code POST /ontology/engine/ontologies/export-shacl}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export-shacl"); + /** Endpoint for {@code POST /ontology/engine/ontologies/generate}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/generate"); + /** Endpoint for {@code POST /ontology/engine/ontologies/infer-classes}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-classes"); + /** Endpoint for {@code POST /ontology/engine/ontologies/infer-properties}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-properties"); + /** Endpoint for {@code POST /ontology/engine/ontologies/validate}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/validate"); + /** Endpoint for {@code POST /ontology/engine/runs}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/runs"); + /** Endpoint for {@code POST /ontology/events/events}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events"); + /** Endpoint for {@code POST /ontology/events/events/checkpoints}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/checkpoints"); + /** Endpoint for {@code POST /ontology/events/events/leases/acknowledge}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acknowledge"); + /** Endpoint for {@code POST /ontology/events/events/leases/acquire}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acquire"); + /** Endpoint for {@code POST /ontology/events/runs}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/runs"); + /** Endpoint for {@code POST /ontology/extract/extract/analyze}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/analyze"); + /** Endpoint for {@code POST /ontology/extract/extract/architecture}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/architecture"); + /** Endpoint for {@code POST /ontology/extract/extract/coreferences}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/coreferences"); + /** Endpoint for {@code POST /ontology/extract/extract/entities}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/entities"); + /** Endpoint for {@code POST /ontology/extract/extract/events}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/events"); + /** Endpoint for {@code POST /ontology/extract/extract/relations}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/relations"); + /** Endpoint for {@code POST /ontology/extract/extract/triplets}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/triplets"); + /** Endpoint for {@code POST /ontology/extract/runs}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/runs"); + /** Endpoint for {@code POST /ontology/graph/graph/analyze}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/analyze"); + /** Endpoint for {@code POST /ontology/graph/graph/build}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BUILD = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/build"); + /** Endpoint for {@code POST /ontology/graph/graph/bulk-read}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/bulk-read"); + /** Endpoint for {@code POST /ontology/graph/graph/neighborhood}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/neighborhood"); + /** Endpoint for {@code POST /ontology/graph/graph/path}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_PATH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/path"); + /** Endpoint for {@code POST /ontology/graph/graph/query}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_QUERY = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/query"); + /** Endpoint for {@code POST /ontology/graph/runs}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/runs"); + /** Endpoint for {@code POST /ontology/objects/runs}. */ + public static final Endpoint POST_ONTOLOGY_OBJECTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/objects/runs"); + /** Endpoint for {@code POST /ontology/reasoning/explain}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_EXPLAIN = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/explain"); + /** Endpoint for {@code POST /ontology/reasoning/facts}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_FACTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts"); + /** Endpoint for {@code POST /ontology/reasoning/facts/load-graph}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts/load-graph"); + /** Endpoint for {@code POST /ontology/reasoning/reason/backward}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_REASON_BACKWARD = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/backward"); + /** Endpoint for {@code POST /ontology/reasoning/reason/forward}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_REASON_FORWARD = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/forward"); + /** Endpoint for {@code POST /ontology/reasoning/rules}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_RULES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/rules"); + /** Endpoint for {@code POST /ontology/reasoning/runs}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/runs"); + /** Endpoint for {@code POST /ontology/relationships/runs}. */ + public static final Endpoint POST_ONTOLOGY_RELATIONSHIPS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/relationships/runs"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/pause}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/pause"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/resume}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/resume"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/rollback}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/rollback"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/start}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/start"); + /** Endpoint for {@code POST /ontology/rollouts/runs}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/runs"); + /** Endpoint for {@code POST /ontology/rollups/rollups}. */ + public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups"); + /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/execute}. */ + public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/execute"); + /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/preview}. */ + public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/preview"); + /** Endpoint for {@code POST /ontology/rollups/runs}. */ + public static final Endpoint POST_ONTOLOGY_ROLLUPS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/runs"); + /** Endpoint for {@code POST /ontology/schemas/runs}. */ + public static final Endpoint POST_ONTOLOGY_SCHEMAS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/runs"); + /** Endpoint for {@code POST /ontology/schemas/schemas}. */ + public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas"); + /** Endpoint for {@code POST /ontology/schemas/schemas/validate}. */ + public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas/validate"); + /** Endpoint for {@code POST /ontology/transformations/runs}. */ + public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/runs"); + /** Endpoint for {@code POST /ontology/transformations/transformations}. */ + public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/transformations"); + /** Endpoint for {@code POST /ontology/validation/payloads/validate}. */ + public static final Endpoint POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/payloads/validate"); + /** Endpoint for {@code POST /ontology/validation/rules}. */ + public static final Endpoint POST_ONTOLOGY_VALIDATION_RULES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/rules"); + /** Endpoint for {@code POST /ontology/validation/runs}. */ + public static final Endpoint POST_ONTOLOGY_VALIDATION_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/runs"); + /** Endpoint for {@code POST /ontology/versions/audit/verify}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/audit/verify"); + /** Endpoint for {@code POST /ontology/versions/release-bundles}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/release-bundles"); + /** Endpoint for {@code POST /ontology/versions/runs}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/runs"); + /** Endpoint for {@code POST /ontology/versions/versions}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions"); + /** Endpoint for {@code POST /ontology/versions/versions/compare}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions/compare"); + /** Endpoint for {@code PUT /ontology/graph/entities/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/entities/{param}"); + /** Endpoint for {@code PUT /ontology/graph/relationships/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/relationships/{param}"); + /** Endpoint for {@code PUT /ontology/objects/object-types/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code PUT /ontology/objects/objects/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code PUT /ontology/reasoning/rules/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_REASONING_RULES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/reasoning/rules/{param}"); + /** Endpoint for {@code PUT /ontology/relationships/relationships/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = + new Endpoint( + ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code PUT /ontology/rollouts/rollouts/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code PUT /ontology/rollups/rollups/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollups/rollups/{param}"); + } - public static final class Pipelines { - private Pipelines() {} + public static final class Pipelines { + private Pipelines() {} - /** Endpoint for {@code GET /data/pipelines/capabilities}. */ - public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/capabilities"); - /** Endpoint for {@code GET /data/pipelines/health}. */ - public static final Endpoint GET_DATA_PIPELINES_HEALTH = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/health"); - /** Endpoint for {@code GET /data/pipelines/info}. */ - public static final Endpoint GET_DATA_PIPELINES_INFO = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/info"); - /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs"); - /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); - /** Endpoint for {@code GET /data/pipelines/pipelines}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINES = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines"); - /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); - /** Endpoint for {@code GET /data/pipelines/runs}. */ - public static final Endpoint GET_DATA_PIPELINES_RUNS = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/runs"); - /** Endpoint for {@code POST /data/pipelines/pipelines}. */ - public static final Endpoint POST_DATA_PIPELINES_PIPELINES = - new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/pipelines"); - /** Endpoint for {@code POST /data/pipelines/runs}. */ - public static final Endpoint POST_DATA_PIPELINES_RUNS = - new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/runs"); - /** Endpoint for {@code STREAM /data/pipelines/pipeline-runs/{param}}. */ - public static final Endpoint STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM = - new Endpoint(ApiService.PIPELINES, HttpMethod.STREAM, "/data/pipelines/pipeline-runs/{param}"); - } + /** Endpoint for {@code GET /data/pipelines/capabilities}. */ + public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/capabilities"); + /** Endpoint for {@code GET /data/pipelines/health}. */ + public static final Endpoint GET_DATA_PIPELINES_HEALTH = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/health"); + /** Endpoint for {@code GET /data/pipelines/info}. */ + public static final Endpoint GET_DATA_PIPELINES_INFO = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/info"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/pipelines}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINES = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines"); + /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); + /** Endpoint for {@code GET /data/pipelines/runs}. */ + public static final Endpoint GET_DATA_PIPELINES_RUNS = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/runs"); + /** Endpoint for {@code POST /data/pipelines/pipelines}. */ + public static final Endpoint POST_DATA_PIPELINES_PIPELINES = + new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/pipelines"); + /** Endpoint for {@code POST /data/pipelines/runs}. */ + public static final Endpoint POST_DATA_PIPELINES_RUNS = + new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/runs"); + /** Endpoint for {@code STREAM /data/pipelines/pipeline-runs/{param}}. */ + public static final Endpoint STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM = + new Endpoint( + ApiService.PIPELINES, HttpMethod.STREAM, "/data/pipelines/pipeline-runs/{param}"); + } - public static final class Providers { - private Providers() {} + public static final class Providers { + private Providers() {} - /** Endpoint for {@code GET /providers/{param}}. */ - public static final Endpoint GET_PROVIDERS_PARAM = - new Endpoint(ApiService.PROVIDERS, HttpMethod.GET, "/providers/{param}"); - } + /** Endpoint for {@code GET /providers/{param}}. */ + public static final Endpoint GET_PROVIDERS_PARAM = + new Endpoint(ApiService.PROVIDERS, HttpMethod.GET, "/providers/{param}"); + } - public static final class React { - private React() {} - } + public static final class React { + private React() {} + } - public static final class Sandbox { - private Sandbox() {} + public static final class Sandbox { + private Sandbox() {} - /** Endpoint for {@code GET /sandbox/languages}. */ - public static final Endpoint GET_SANDBOX_LANGUAGES = - new Endpoint(ApiService.SANDBOX, HttpMethod.GET, "/sandbox/languages"); - /** Endpoint for {@code POST /sandbox/self-test}. */ - public static final Endpoint POST_SANDBOX_SELF_TEST = - new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/self-test"); - /** Endpoint for {@code POST /sandbox/submit}. */ - public static final Endpoint POST_SANDBOX_SUBMIT = - new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/submit"); - } + /** Endpoint for {@code GET /sandbox/languages}. */ + public static final Endpoint GET_SANDBOX_LANGUAGES = + new Endpoint(ApiService.SANDBOX, HttpMethod.GET, "/sandbox/languages"); + /** Endpoint for {@code POST /sandbox/self-test}. */ + public static final Endpoint POST_SANDBOX_SELF_TEST = + new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/self-test"); + /** Endpoint for {@code POST /sandbox/submit}. */ + public static final Endpoint POST_SANDBOX_SUBMIT = + new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/submit"); + } - public static final class Schedules { - private Schedules() {} + public static final class Schedules { + private Schedules() {} - /** Endpoint for {@code DELETE /workflows/schedules/{param}}. */ - public static final Endpoint DELETE_WORKFLOWS_SCHEDULES_PARAM = - new Endpoint(ApiService.SCHEDULES, HttpMethod.DELETE, "/workflows/schedules/{param}"); - /** Endpoint for {@code GET /workflows/schedules}. */ - public static final Endpoint GET_WORKFLOWS_SCHEDULES = - new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules"); - /** Endpoint for {@code GET /workflows/schedules/{param}}. */ - public static final Endpoint GET_WORKFLOWS_SCHEDULES_PARAM = - new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules/{param}"); - /** Endpoint for {@code PATCH /workflows/schedules/{param}}. */ - public static final Endpoint PATCH_WORKFLOWS_SCHEDULES_PARAM = - new Endpoint(ApiService.SCHEDULES, HttpMethod.PATCH, "/workflows/schedules/{param}"); - /** Endpoint for {@code POST /workflows/cron/parse}. */ - public static final Endpoint POST_WORKFLOWS_CRON_PARSE = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/parse"); - /** Endpoint for {@code POST /workflows/cron/validate}. */ - public static final Endpoint POST_WORKFLOWS_CRON_VALIDATE = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/validate"); - /** Endpoint for {@code POST /workflows/schedules}. */ - public static final Endpoint POST_WORKFLOWS_SCHEDULES = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules"); - /** Endpoint for {@code POST /workflows/schedules/{param}/pause}. */ - public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/pause"); - /** Endpoint for {@code POST /workflows/schedules/{param}/resume}. */ - public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_RESUME = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/resume"); - /** Endpoint for {@code POST /workflows/schedules/{param}/trigger}. */ - public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/trigger"); - } + /** Endpoint for {@code DELETE /workflows/schedules/{param}}. */ + public static final Endpoint DELETE_WORKFLOWS_SCHEDULES_PARAM = + new Endpoint(ApiService.SCHEDULES, HttpMethod.DELETE, "/workflows/schedules/{param}"); + /** Endpoint for {@code GET /workflows/schedules}. */ + public static final Endpoint GET_WORKFLOWS_SCHEDULES = + new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules"); + /** Endpoint for {@code GET /workflows/schedules/{param}}. */ + public static final Endpoint GET_WORKFLOWS_SCHEDULES_PARAM = + new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules/{param}"); + /** Endpoint for {@code PATCH /workflows/schedules/{param}}. */ + public static final Endpoint PATCH_WORKFLOWS_SCHEDULES_PARAM = + new Endpoint(ApiService.SCHEDULES, HttpMethod.PATCH, "/workflows/schedules/{param}"); + /** Endpoint for {@code POST /workflows/cron/parse}. */ + public static final Endpoint POST_WORKFLOWS_CRON_PARSE = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/parse"); + /** Endpoint for {@code POST /workflows/cron/validate}. */ + public static final Endpoint POST_WORKFLOWS_CRON_VALIDATE = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/validate"); + /** Endpoint for {@code POST /workflows/schedules}. */ + public static final Endpoint POST_WORKFLOWS_SCHEDULES = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules"); + /** Endpoint for {@code POST /workflows/schedules/{param}/pause}. */ + public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/pause"); + /** Endpoint for {@code POST /workflows/schedules/{param}/resume}. */ + public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_RESUME = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/resume"); + /** Endpoint for {@code POST /workflows/schedules/{param}/trigger}. */ + public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/trigger"); + } - public static final class Webhooks { - private Webhooks() {} + public static final class Webhooks { + private Webhooks() {} - /** Endpoint for {@code DELETE /webhooks/{param}}. */ - public static final Endpoint DELETE_WEBHOOKS_PARAM = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.DELETE, "/webhooks/{param}"); - /** Endpoint for {@code GET /webhooks}. */ - public static final Endpoint GET_WEBHOOKS = new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks"); - /** Endpoint for {@code GET /webhooks/deliveries}. */ - public static final Endpoint GET_WEBHOOKS_DELIVERIES = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries"); - /** Endpoint for {@code GET /webhooks/deliveries/{param}}. */ - public static final Endpoint GET_WEBHOOKS_DELIVERIES_PARAM = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries/{param}"); - /** Endpoint for {@code GET /webhooks/stats}. */ - public static final Endpoint GET_WEBHOOKS_STATS = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/stats"); - /** Endpoint for {@code GET /webhooks/{param}}. */ - public static final Endpoint GET_WEBHOOKS_PARAM = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/{param}"); - /** Endpoint for {@code POST /webhooks}. */ - public static final Endpoint POST_WEBHOOKS = new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks"); - /** Endpoint for {@code POST /webhooks/deliveries/{param}/retry}. */ - public static final Endpoint POST_WEBHOOKS_DELIVERIES_PARAM_RETRY = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/deliveries/{param}/retry"); - /** Endpoint for {@code POST /webhooks/{param}/rotate-secret}. */ - public static final Endpoint POST_WEBHOOKS_PARAM_ROTATE_SECRET = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/{param}/rotate-secret"); - /** Endpoint for {@code PUT /webhooks/{param}}. */ - public static final Endpoint PUT_WEBHOOKS_PARAM = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.PUT, "/webhooks/{param}"); - } + /** Endpoint for {@code DELETE /webhooks/{param}}. */ + public static final Endpoint DELETE_WEBHOOKS_PARAM = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.DELETE, "/webhooks/{param}"); + /** Endpoint for {@code GET /webhooks}. */ + public static final Endpoint GET_WEBHOOKS = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks"); + /** Endpoint for {@code GET /webhooks/deliveries}. */ + public static final Endpoint GET_WEBHOOKS_DELIVERIES = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries"); + /** Endpoint for {@code GET /webhooks/deliveries/{param}}. */ + public static final Endpoint GET_WEBHOOKS_DELIVERIES_PARAM = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries/{param}"); + /** Endpoint for {@code GET /webhooks/stats}. */ + public static final Endpoint GET_WEBHOOKS_STATS = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/stats"); + /** Endpoint for {@code GET /webhooks/{param}}. */ + public static final Endpoint GET_WEBHOOKS_PARAM = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/{param}"); + /** Endpoint for {@code POST /webhooks}. */ + public static final Endpoint POST_WEBHOOKS = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks"); + /** Endpoint for {@code POST /webhooks/deliveries/{param}/retry}. */ + public static final Endpoint POST_WEBHOOKS_DELIVERIES_PARAM_RETRY = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/deliveries/{param}/retry"); + /** Endpoint for {@code POST /webhooks/{param}/rotate-secret}. */ + public static final Endpoint POST_WEBHOOKS_PARAM_ROTATE_SECRET = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/{param}/rotate-secret"); + /** Endpoint for {@code PUT /webhooks/{param}}. */ + public static final Endpoint PUT_WEBHOOKS_PARAM = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.PUT, "/webhooks/{param}"); + } - public static final class WebhookEndpoints { - private WebhookEndpoints() {} + public static final class WebhookEndpoints { + private WebhookEndpoints() {} - /** Endpoint for {@code DELETE /webhook-endpoints/{param}}. */ - public static final Endpoint DELETE_WEBHOOK_ENDPOINTS_PARAM = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.DELETE, "/webhook-endpoints/{param}"); - /** Endpoint for {@code GET /webhook-endpoints}. */ - public static final Endpoint GET_WEBHOOK_ENDPOINTS = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints"); - /** Endpoint for {@code GET /webhook-endpoints/{param}}. */ - public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}"); - /** Endpoint for {@code GET /webhook-endpoints/{param}/deliveries}. */ - public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}/deliveries"); - /** Endpoint for {@code PATCH /webhook-endpoints/{param}}. */ - public static final Endpoint PATCH_WEBHOOK_ENDPOINTS_PARAM = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.PATCH, "/webhook-endpoints/{param}"); - /** Endpoint for {@code POST /webhook-endpoints}. */ - public static final Endpoint POST_WEBHOOK_ENDPOINTS = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.POST, "/webhook-endpoints"); - /** Endpoint for {@code POST /webhook-endpoints/{param}/rotate-secret}. */ - public static final Endpoint POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.POST, "/webhook-endpoints/{param}/rotate-secret"); - } + /** Endpoint for {@code DELETE /webhook-endpoints/{param}}. */ + public static final Endpoint DELETE_WEBHOOK_ENDPOINTS_PARAM = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.DELETE, "/webhook-endpoints/{param}"); + /** Endpoint for {@code GET /webhook-endpoints}. */ + public static final Endpoint GET_WEBHOOK_ENDPOINTS = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints"); + /** Endpoint for {@code GET /webhook-endpoints/{param}}. */ + public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}"); + /** Endpoint for {@code GET /webhook-endpoints/{param}/deliveries}. */ + public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES = + new Endpoint( + ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}/deliveries"); + /** Endpoint for {@code PATCH /webhook-endpoints/{param}}. */ + public static final Endpoint PATCH_WEBHOOK_ENDPOINTS_PARAM = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.PATCH, "/webhook-endpoints/{param}"); + /** Endpoint for {@code POST /webhook-endpoints}. */ + public static final Endpoint POST_WEBHOOK_ENDPOINTS = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.POST, "/webhook-endpoints"); + /** Endpoint for {@code POST /webhook-endpoints/{param}/rotate-secret}. */ + public static final Endpoint POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET = + new Endpoint( + ApiService.WEBHOOK_ENDPOINTS, + HttpMethod.POST, + "/webhook-endpoints/{param}/rotate-secret"); + } - public static final class Workflows { - private Workflows() {} + public static final class Workflows { + private Workflows() {} - /** Endpoint for {@code DELETE /workflows/{param}}. */ - public static final Endpoint DELETE_WORKFLOWS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.DELETE, "/workflows/{param}"); - /** Endpoint for {@code GET /workflows}. */ - public static final Endpoint GET_WORKFLOWS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows"); - /** Endpoint for {@code GET /workflows/approvals}. */ - public static final Endpoint GET_WORKFLOWS_APPROVALS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals"); - /** Endpoint for {@code GET /workflows/approvals/{param}}. */ - public static final Endpoint GET_WORKFLOWS_APPROVALS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals/{param}"); - /** Endpoint for {@code GET /workflows/executions}. */ - public static final Endpoint GET_WORKFLOWS_EXECUTIONS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions"); - /** Endpoint for {@code GET /workflows/executions/{param}}. */ - public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}"); - /** Endpoint for {@code GET /workflows/executions/{param}/tasks}. */ - public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}/tasks"); - /** Endpoint for {@code GET /workflows/runs/{param}/steps}. */ - public static final Endpoint GET_WORKFLOWS_RUNS_PARAM_STEPS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/runs/{param}/steps"); - /** Endpoint for {@code GET /workflows/tasks/{param}}. */ - public static final Endpoint GET_WORKFLOWS_TASKS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/tasks/{param}"); - /** Endpoint for {@code GET /workflows/templates}. */ - public static final Endpoint GET_WORKFLOWS_TEMPLATES = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates"); - /** Endpoint for {@code GET /workflows/templates/{param}}. */ - public static final Endpoint GET_WORKFLOWS_TEMPLATES_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates/{param}"); - /** Endpoint for {@code GET /workflows/{param}}. */ - public static final Endpoint GET_WORKFLOWS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}"); - /** Endpoint for {@code GET /workflows/{param}/{param}}. */ - public static final Endpoint GET_WORKFLOWS_PARAM_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}"); - /** Endpoint for {@code GET /workflows/{param}/{param}/summary}. */ - public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_SUMMARY = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/summary"); - /** Endpoint for {@code GET /workflows/{param}/{param}/timeline}. */ - public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_TIMELINE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/timeline"); - /** Endpoint for {@code PATCH /workflows/{param}}. */ - public static final Endpoint PATCH_WORKFLOWS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.PATCH, "/workflows/{param}"); - /** Endpoint for {@code POST /workflows}. */ - public static final Endpoint POST_WORKFLOWS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows"); - /** Endpoint for {@code POST /workflows/approvals/{param}/approve}. */ - public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_APPROVE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/approve"); - /** Endpoint for {@code POST /workflows/approvals/{param}/reject}. */ - public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_REJECT = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/reject"); - /** Endpoint for {@code POST /workflows/batch}. */ - public static final Endpoint POST_WORKFLOWS_BATCH = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/batch"); - /** Endpoint for {@code POST /workflows/executions}. */ - public static final Endpoint POST_WORKFLOWS_EXECUTIONS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/executions"); - /** Endpoint for {@code POST /workflows/search}. */ - public static final Endpoint POST_WORKFLOWS_SEARCH = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/search"); - /** Endpoint for {@code POST /workflows/tasks/{param}/cancel}. */ - public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_CANCEL = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/cancel"); - /** Endpoint for {@code POST /workflows/tasks/{param}/retry}. */ - public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_RETRY = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/retry"); - /** Endpoint for {@code POST /workflows/templates}. */ - public static final Endpoint POST_WORKFLOWS_TEMPLATES = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates"); - /** Endpoint for {@code POST /workflows/templates/{param}/instantiate}. */ - public static final Endpoint POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates/{param}/instantiate"); - /** Endpoint for {@code POST /workflows/{param}/archive}. */ - public static final Endpoint POST_WORKFLOWS_PARAM_ARCHIVE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/archive"); - /** Endpoint for {@code POST /workflows/{param}/publish}. */ - public static final Endpoint POST_WORKFLOWS_PARAM_PUBLISH = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/publish"); - /** Endpoint for {@code POST /workflows/{param}/restore}. */ - public static final Endpoint POST_WORKFLOWS_PARAM_RESTORE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/restore"); - /** Endpoint for {@code POST /workflows/{param}/versions}. */ - public static final Endpoint POST_WORKFLOWS_PARAM_VERSIONS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/versions"); - } + /** Endpoint for {@code DELETE /workflows/{param}}. */ + public static final Endpoint DELETE_WORKFLOWS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.DELETE, "/workflows/{param}"); + /** Endpoint for {@code GET /workflows}. */ + public static final Endpoint GET_WORKFLOWS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows"); + /** Endpoint for {@code GET /workflows/approvals}. */ + public static final Endpoint GET_WORKFLOWS_APPROVALS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals"); + /** Endpoint for {@code GET /workflows/approvals/{param}}. */ + public static final Endpoint GET_WORKFLOWS_APPROVALS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals/{param}"); + /** Endpoint for {@code GET /workflows/executions}. */ + public static final Endpoint GET_WORKFLOWS_EXECUTIONS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions"); + /** Endpoint for {@code GET /workflows/executions/{param}}. */ + public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}"); + /** Endpoint for {@code GET /workflows/executions/{param}/tasks}. */ + public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}/tasks"); + /** Endpoint for {@code GET /workflows/runs/{param}/steps}. */ + public static final Endpoint GET_WORKFLOWS_RUNS_PARAM_STEPS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/runs/{param}/steps"); + /** Endpoint for {@code GET /workflows/tasks/{param}}. */ + public static final Endpoint GET_WORKFLOWS_TASKS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/tasks/{param}"); + /** Endpoint for {@code GET /workflows/templates}. */ + public static final Endpoint GET_WORKFLOWS_TEMPLATES = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates"); + /** Endpoint for {@code GET /workflows/templates/{param}}. */ + public static final Endpoint GET_WORKFLOWS_TEMPLATES_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates/{param}"); + /** Endpoint for {@code GET /workflows/{param}}. */ + public static final Endpoint GET_WORKFLOWS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}"); + /** Endpoint for {@code GET /workflows/{param}/{param}}. */ + public static final Endpoint GET_WORKFLOWS_PARAM_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}"); + /** Endpoint for {@code GET /workflows/{param}/{param}/summary}. */ + public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_SUMMARY = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/summary"); + /** Endpoint for {@code GET /workflows/{param}/{param}/timeline}. */ + public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_TIMELINE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/timeline"); + /** Endpoint for {@code PATCH /workflows/{param}}. */ + public static final Endpoint PATCH_WORKFLOWS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.PATCH, "/workflows/{param}"); + /** Endpoint for {@code POST /workflows}. */ + public static final Endpoint POST_WORKFLOWS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows"); + /** Endpoint for {@code POST /workflows/approvals/{param}/approve}. */ + public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_APPROVE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/approve"); + /** Endpoint for {@code POST /workflows/approvals/{param}/reject}. */ + public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_REJECT = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/reject"); + /** Endpoint for {@code POST /workflows/batch}. */ + public static final Endpoint POST_WORKFLOWS_BATCH = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/batch"); + /** Endpoint for {@code POST /workflows/executions}. */ + public static final Endpoint POST_WORKFLOWS_EXECUTIONS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/executions"); + /** Endpoint for {@code POST /workflows/search}. */ + public static final Endpoint POST_WORKFLOWS_SEARCH = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/search"); + /** Endpoint for {@code POST /workflows/tasks/{param}/cancel}. */ + public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_CANCEL = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/cancel"); + /** Endpoint for {@code POST /workflows/tasks/{param}/retry}. */ + public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_RETRY = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/retry"); + /** Endpoint for {@code POST /workflows/templates}. */ + public static final Endpoint POST_WORKFLOWS_TEMPLATES = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates"); + /** Endpoint for {@code POST /workflows/templates/{param}/instantiate}. */ + public static final Endpoint POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE = + new Endpoint( + ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates/{param}/instantiate"); + /** Endpoint for {@code POST /workflows/{param}/archive}. */ + public static final Endpoint POST_WORKFLOWS_PARAM_ARCHIVE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/archive"); + /** Endpoint for {@code POST /workflows/{param}/publish}. */ + public static final Endpoint POST_WORKFLOWS_PARAM_PUBLISH = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/publish"); + /** Endpoint for {@code POST /workflows/{param}/restore}. */ + public static final Endpoint POST_WORKFLOWS_PARAM_RESTORE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/restore"); + /** Endpoint for {@code POST /workflows/{param}/versions}. */ + public static final Endpoint POST_WORKFLOWS_PARAM_VERSIONS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/versions"); + } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsBenchmarkClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsBenchmarkClient.java new file mode 100644 index 0000000..608f9d2 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsBenchmarkClient.java @@ -0,0 +1,119 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for events/benchmark. Generated by scripts/generate_endpoints.py. */ +public final class EventsBenchmarkClient extends ServiceClient { + EventsBenchmarkClient(ApiClient client) { + super(ApiService.EVENTS, client); + } + + /** + * Calls the contract route {@code POST /events/benchmark/v1}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/benchmark/v1") + public @Nullable T createV1(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V1, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/benchmark/v1} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createV1(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V1, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/benchmark/v1} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createV1(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createV1(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /events/benchmark/v1} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createV1(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createV1(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /events/benchmark/v2}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/benchmark/v2") + public @Nullable T createV2(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V2, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/benchmark/v2} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createV2(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V2, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/benchmark/v2} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createV2(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createV2(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /events/benchmark/v2} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createV2(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createV2(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java index 4b9e025..09f0693 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java @@ -6,12 +6,40 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the events service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for events. Generated by scripts/generate_endpoints.py. */ public final class EventsClient extends ServiceClient { EventsClient(ApiClient client) { super(ApiService.EVENTS, client); } + /** Returns the client for the nested resource. + * @return the benchmark resource client + */ + public EventsBenchmarkClient benchmark() { + return new EventsBenchmarkClient(client()); + } + + /** Returns the client for the nested resource. + * @return the raw resource client + */ + public EventsRawClient raw() { + return new EventsRawClient(client()); + } + + /** Returns the client for the nested resource. + * @return the reprocess resource client + */ + public EventsReprocessClient reprocess() { + return new EventsReprocessClient(client()); + } + + /** Returns the client for the nested resource. + * @return the usage resource client + */ + public EventsUsageClient usage() { + return new EventsUsageClient(client()); + } + /** * Calls the contract route {@code GET /events}. * @param decoded response type @@ -22,13 +50,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|GET|/events") - public @Nullable T getEvents(QueryParams query, Class responseType) - throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /events}. + * Calls the contract route {@code GET /events} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param responseType responseType supplied to the operation @@ -36,10 +62,31 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getEvents(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS, List.of(), query, null, responseType); } + /** + * Calls the contract route {@code GET /events} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /events} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } /** * Calls the contract route {@code GET /events/monitoring}. @@ -51,13 +98,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|GET|/events/monitoring") - public @Nullable T getEventsMonitoring(QueryParams query, Class responseType) - throws IOException, InterruptedException { + public @Nullable T getMonitoring(QueryParams query, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS_MONITORING, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /events/monitoring}. + * Calls the contract route {@code GET /events/monitoring} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param responseType responseType supplied to the operation @@ -65,10 +110,31 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getEventsMonitoring(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T getMonitoring(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS_MONITORING, List.of(), query, null, responseType); } + /** + * Calls the contract route {@code GET /events/monitoring} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getMonitoring(Class responseType) throws IOException, InterruptedException { + return getMonitoring(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /events/monitoring} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getMonitoring(TypeReference responseType) throws IOException, InterruptedException { + return getMonitoring(QueryParams.empty(), responseType); + } /** * Calls the contract route {@code GET /events/{param}}. @@ -81,13 +147,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|GET|/events/{param}") - public @Nullable T getEventsId(String id, QueryParams query, Class responseType) - throws IOException, InterruptedException { + public @Nullable T get(String id, QueryParams query, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS_PARAM, List.of(id), query, null, responseType); } - /** - * Calls the contract route {@code GET /events/{param}}. + * Calls the contract route {@code GET /events/{param}} using a generic response type. * @param decoded response type * @param id id supplied to the operation * @param query query supplied to the operation @@ -96,10 +160,33 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getEventsId(String id, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T get(String id, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS_PARAM, List.of(id), query, null, responseType); } + /** + * Calls the contract route {@code GET /events/{param}} without query parameters. + * @param decoded response type + * @param id id supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String id, Class responseType) throws IOException, InterruptedException { + return get(id, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /events/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param id id supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String id, TypeReference responseType) throws IOException, InterruptedException { + return get(id, QueryParams.empty(), responseType); + } /** * Calls the contract route {@code POST /events}. @@ -112,13 +199,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events") - public @Nullable T postEvents(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events}. + * Calls the contract route {@code POST /events} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -127,10 +212,33 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEvents(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS, List.of(), query, body, responseType); } + /** + * Calls the contract route {@code POST /events} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /events} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } /** * Calls the contract route {@code POST /events/analytics}. @@ -143,13 +251,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/analytics") - public @Nullable T postEventsAnalytics(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T analytics(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_ANALYTICS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/analytics}. + * Calls the contract route {@code POST /events/analytics} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -158,46 +264,36 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsAnalytics( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T analytics(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_ANALYTICS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/analytics-v2}. + * Calls the contract route {@code POST /events/analytics} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("events|POST|/events/analytics-v2") - public @Nullable T postEventsAnalyticsV2(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_ANALYTICS_V2, List.of(), query, body, responseType); + public @Nullable T analytics(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return analytics(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /events/analytics-v2}. + * Calls the contract route {@code POST /events/analytics} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsAnalyticsV2( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_ANALYTICS_V2, List.of(), query, body, responseType); + public @Nullable T analytics(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return analytics(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /events/benchmark/v1}. + * Calls the contract route {@code POST /events/analytics-v2}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -206,14 +302,12 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("events|POST|/events/benchmark/v1") - public @Nullable T postEventsBenchmarkV1(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V1, List.of(), query, body, responseType); + @SdkOperation("events|POST|/events/analytics-v2") + public @Nullable T createAnalyticsV2(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_ANALYTICS_V2, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/benchmark/v1}. + * Calls the contract route {@code POST /events/analytics-v2} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -222,42 +316,32 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsBenchmarkV1( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V1, List.of(), query, body, responseType); + public @Nullable T createAnalyticsV2(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_ANALYTICS_V2, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/benchmark/v2}. + * Calls the contract route {@code POST /events/analytics-v2} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("events|POST|/events/benchmark/v2") - public @Nullable T postEventsBenchmarkV2(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V2, List.of(), query, body, responseType); + public @Nullable T createAnalyticsV2(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createAnalyticsV2(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /events/benchmark/v2}. + * Calls the contract route {@code POST /events/analytics-v2} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsBenchmarkV2( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V2, List.of(), query, body, responseType); + public @Nullable T createAnalyticsV2(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createAnalyticsV2(QueryParams.empty(), body, responseType); } /** @@ -271,13 +355,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/bulk") - public @Nullable T postEventsBulk(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T bulk(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_BULK, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/bulk}. + * Calls the contract route {@code POST /events/bulk} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -286,10 +368,33 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsBulk(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T bulk(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_BULK, List.of(), query, body, responseType); } + /** + * Calls the contract route {@code POST /events/bulk} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T bulk(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return bulk(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /events/bulk} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T bulk(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return bulk(QueryParams.empty(), body, responseType); + } /** * Calls the contract route {@code POST /events/huggingface-billing}. @@ -302,14 +407,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/huggingface-billing") - public @Nullable T postEventsHuggingfaceBilling( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T createHuggingfaceBilling(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_HUGGINGFACE_BILLING, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/huggingface-billing}. + * Calls the contract route {@code POST /events/huggingface-billing} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -318,45 +420,36 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsHuggingfaceBilling( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T createHuggingfaceBilling(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_HUGGINGFACE_BILLING, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/query}. + * Calls the contract route {@code POST /events/huggingface-billing} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("events|POST|/events/query") - public @Nullable T postEventsQuery(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_QUERY, List.of(), query, body, responseType); + public @Nullable T createHuggingfaceBilling(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createHuggingfaceBilling(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /events/query}. + * Calls the contract route {@code POST /events/huggingface-billing} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsQuery(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_QUERY, List.of(), query, body, responseType); + public @Nullable T createHuggingfaceBilling(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createHuggingfaceBilling(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /events/raw/reprocess/all}. + * Calls the contract route {@code POST /events/query}. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -365,14 +458,12 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("events|POST|/events/raw/reprocess/all") - public @Nullable T postEventsRawReprocessAll(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_ALL, List.of(), query, body, responseType); + @SdkOperation("events|POST|/events/query") + public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_QUERY, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/raw/reprocess/all}. + * Calls the contract route {@code POST /events/query} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -381,43 +472,32 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsRawReprocessAll( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_ALL, List.of(), query, body, responseType); + public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_QUERY, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/raw/reprocess/pending}. + * Calls the contract route {@code POST /events/query} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("events|POST|/events/raw/reprocess/pending") - public @Nullable T postEventsRawReprocessPending( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_PENDING, List.of(), query, body, responseType); + public @Nullable T query(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return query(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /events/raw/reprocess/pending}. + * Calls the contract route {@code POST /events/query} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsRawReprocessPending( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_PENDING, List.of(), query, body, responseType); + public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return query(QueryParams.empty(), body, responseType); } /** @@ -431,13 +511,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/reprocess") - public @Nullable T postEventsReprocess(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T reprocess(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_REPROCESS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/reprocess}. + * Calls the contract route {@code POST /events/reprocess} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -446,43 +524,32 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsReprocess( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T reprocess(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_REPROCESS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/reprocess/internal}. + * Calls the contract route {@code POST /events/reprocess} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("events|POST|/events/reprocess/internal") - public @Nullable T postEventsReprocessInternal( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_REPROCESS_INTERNAL, List.of(), query, body, responseType); + public @Nullable T reprocess(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return reprocess(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /events/reprocess/internal}. + * Calls the contract route {@code POST /events/reprocess} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsReprocessInternal( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_REPROCESS_INTERNAL, List.of(), query, body, responseType); + public @Nullable T reprocess(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return reprocess(QueryParams.empty(), body, responseType); } /** @@ -496,13 +563,11 @@ public final class EventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/usage") - public @Nullable T postEventsUsage(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T usage(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_USAGE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/usage}. + * Calls the contract route {@code POST /events/usage} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -511,40 +576,32 @@ public final class EventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsUsage(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T usage(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_USAGE, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /events/usage/meter}. + * Calls the contract route {@code POST /events/usage} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("events|POST|/events/usage/meter") - public @Nullable T postEventsUsageMeter(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_USAGE_METER, List.of(), query, body, responseType); + public @Nullable T usage(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return usage(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /events/usage/meter}. + * Calls the contract route {@code POST /events/usage} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postEventsUsageMeter( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Events.POST_EVENTS_USAGE_METER, List.of(), query, body, responseType); + public @Nullable T usage(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return usage(QueryParams.empty(), body, responseType); } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsRawClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsRawClient.java new file mode 100644 index 0000000..cecf4c7 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsRawClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for events/raw. Generated by scripts/generate_endpoints.py. */ +public final class EventsRawClient extends ServiceClient { + EventsRawClient(ApiClient client) { + super(ApiService.EVENTS, client); + } + + /** Returns the client for the nested resource. + * @return the reprocess resource client + */ + public EventsRawReprocessClient reprocess() { + return new EventsRawReprocessClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsRawReprocessClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsRawReprocessClient.java new file mode 100644 index 0000000..0e3698d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsRawReprocessClient.java @@ -0,0 +1,119 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for events/raw/reprocess. Generated by scripts/generate_endpoints.py. */ +public final class EventsRawReprocessClient extends ServiceClient { + EventsRawReprocessClient(ApiClient client) { + super(ApiService.EVENTS, client); + } + + /** + * Calls the contract route {@code POST /events/raw/reprocess/all}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/raw/reprocess/all") + public @Nullable T createAll(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_ALL, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/raw/reprocess/all} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createAll(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_ALL, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/raw/reprocess/all} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createAll(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createAll(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /events/raw/reprocess/all} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createAll(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createAll(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /events/raw/reprocess/pending}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/raw/reprocess/pending") + public @Nullable T createPending(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_PENDING, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/raw/reprocess/pending} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPending(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_PENDING, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/raw/reprocess/pending} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPending(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createPending(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /events/raw/reprocess/pending} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPending(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createPending(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsReprocessClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsReprocessClient.java new file mode 100644 index 0000000..4d7ce22 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsReprocessClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for events/reprocess. Generated by scripts/generate_endpoints.py. */ +public final class EventsReprocessClient extends ServiceClient { + EventsReprocessClient(ApiClient client) { + super(ApiService.EVENTS, client); + } + + /** + * Calls the contract route {@code POST /events/reprocess/internal}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/reprocess/internal") + public @Nullable T createInternal(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_REPROCESS_INTERNAL, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/reprocess/internal} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createInternal(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_REPROCESS_INTERNAL, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/reprocess/internal} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createInternal(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createInternal(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /events/reprocess/internal} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createInternal(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createInternal(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsUsageClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsUsageClient.java new file mode 100644 index 0000000..7853f2b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsUsageClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for events/usage. Generated by scripts/generate_endpoints.py. */ +public final class EventsUsageClient extends ServiceClient { + EventsUsageClient(ApiClient client) { + super(ApiService.EVENTS, client); + } + + /** + * Calls the contract route {@code POST /events/usage/meter}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("events|POST|/events/usage/meter") + public @Nullable T createMeter(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_USAGE_METER, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/usage/meter} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createMeter(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Events.POST_EVENTS_USAGE_METER, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /events/usage/meter} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createMeter(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createMeter(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /events/usage/meter} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createMeter(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createMeter(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceAccessClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceAccessClient.java new file mode 100644 index 0000000..5e8f204 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceAccessClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/access. Generated by scripts/generate_endpoints.py. */ +public final class GovernanceAccessClient extends ServiceClient { + GovernanceAccessClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code POST /access/check}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/access/check") + public @Nullable T check(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_ACCESS_CHECK, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /access/check} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T check(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_ACCESS_CHECK, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /access/check} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T check(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return check(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /access/check} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T check(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return check(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java index 0c4e31f..dd5590a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java @@ -6,762 +6,45 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the governance service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for governance. Generated by scripts/generate_endpoints.py. */ public final class GovernanceClient extends ServiceClient { GovernanceClient(ApiClient client) { super(ApiService.GOVERNANCE, client); } - /** - * Calls the contract route {@code DELETE /policies/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the access resource client */ - @SdkOperation("governance|DELETE|/policies/{param}") - public @Nullable T deletePoliciesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.DELETE_POLICIES_PARAM, List.of(pathParam1), query, null, responseType); + public GovernanceAccessClient access() { + return new GovernanceAccessClient(client()); } - /** - * Calls the contract route {@code DELETE /policies/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the compliance resource client */ - public @Nullable T deletePoliciesParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.DELETE_POLICIES_PARAM, List.of(pathParam1), query, null, responseType); + public GovernanceComplianceClient compliance() { + return new GovernanceComplianceClient(client()); } - /** - * Calls the contract route {@code DELETE /roles/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the permissions resource client */ - @SdkOperation("governance|DELETE|/roles/{param}") - public @Nullable T deleteRolesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.DELETE_ROLES_PARAM, List.of(pathParam1), query, null, responseType); + public GovernancePermissionsClient permissions() { + return new GovernancePermissionsClient(client()); } - /** - * Calls the contract route {@code DELETE /roles/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the policies resource client */ - public @Nullable T deleteRolesParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.DELETE_ROLES_PARAM, List.of(pathParam1), query, null, responseType); + public GovernancePoliciesClient policies() { + return new GovernancePoliciesClient(client()); } - /** - * Calls the contract route {@code GET /compliance/assessments}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the roles resource client */ - @SdkOperation("governance|GET|/compliance/assessments") - public @Nullable T getComplianceAssessments(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS, List.of(), query, null, responseType); + public GovernanceRolesClient roles() { + return new GovernanceRolesClient(client()); } - /** - * Calls the contract route {@code GET /compliance/assessments}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getComplianceAssessments(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /compliance/assessments/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/compliance/assessments/{param}") - public @Nullable T getComplianceAssessmentsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /compliance/assessments/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getComplianceAssessmentsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /compliance/frameworks}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/compliance/frameworks") - public @Nullable T getComplianceFrameworks(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_FRAMEWORKS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /compliance/frameworks}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getComplianceFrameworks(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_FRAMEWORKS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /compliance/score}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/compliance/score") - public @Nullable T getComplianceScore(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_SCORE, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /compliance/score}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getComplianceScore(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_SCORE, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /compliance/violations}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/compliance/violations") - public @Nullable T getComplianceViolations(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_VIOLATIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /compliance/violations}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getComplianceViolations(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_VIOLATIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /permissions}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/permissions") - public @Nullable T getPermissions(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_PERMISSIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /permissions}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getPermissions(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_PERMISSIONS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /permissions/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/permissions/{param}") - public @Nullable T getPermissionsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_PERMISSIONS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /permissions/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getPermissionsParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_PERMISSIONS_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /policies}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/policies") - public @Nullable T getPolicies(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_POLICIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /policies}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getPolicies(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_POLICIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /policies/templates}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/policies/templates") - public @Nullable T getPoliciesTemplates(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_POLICIES_TEMPLATES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /policies/templates}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getPoliciesTemplates(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_POLICIES_TEMPLATES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /policies/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/policies/{param}") - public @Nullable T getPoliciesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_POLICIES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /policies/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getPoliciesParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_POLICIES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /policies/{param}/versions}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/policies/{param}/versions") - public @Nullable T getPoliciesParamVersions(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Governance.GET_POLICIES_PARAM_VERSIONS, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /policies/{param}/versions}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getPoliciesParamVersions(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Governance.GET_POLICIES_PARAM_VERSIONS, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /roles}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/roles") - public @Nullable T getRoles(QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_ROLES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /roles}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getRoles(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_ROLES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /roles/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|GET|/roles/{param}") - public @Nullable T getRolesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_ROLES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /roles/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getRolesParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_ROLES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /access/check}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|POST|/access/check") - public @Nullable T postAccessCheck(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_ACCESS_CHECK, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /access/check}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postAccessCheck(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_ACCESS_CHECK, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /compliance/assessments}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|POST|/compliance/assessments") - public @Nullable T postComplianceAssessments(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_COMPLIANCE_ASSESSMENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /compliance/assessments}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postComplianceAssessments( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_COMPLIANCE_ASSESSMENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /compliance/violations/{param}/resolve}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|POST|/compliance/violations/{param}/resolve") - public @Nullable T postComplianceViolationsParamResolve( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /compliance/violations/{param}/resolve}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postComplianceViolationsParamResolve( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /permissions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|POST|/permissions") - public @Nullable T postPermissions(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_PERMISSIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /permissions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postPermissions(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_PERMISSIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /policies}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|POST|/policies") - public @Nullable T postPolicies(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_POLICIES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /policies}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postPolicies(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_POLICIES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /policies/from-template}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|POST|/policies/from-template") - public @Nullable T postPoliciesFromTemplate(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_POLICIES_FROM_TEMPLATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /policies/from-template}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postPoliciesFromTemplate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_POLICIES_FROM_TEMPLATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /policies/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|POST|/policies/validate") - public @Nullable T postPoliciesValidate(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_POLICIES_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /policies/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postPoliciesValidate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_POLICIES_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /roles}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|POST|/roles") - public @Nullable T postRoles(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_ROLES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /roles}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postRoles(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_ROLES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /policies/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("governance|PUT|/policies/{param}") - public @Nullable T putPoliciesParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.PUT_POLICIES_PARAM, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /policies/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putPoliciesParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Governance.PUT_POLICIES_PARAM, List.of(pathParam1), query, body, responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceAssessmentsClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceAssessmentsClient.java new file mode 100644 index 0000000..ceb51f0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceAssessmentsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/compliance/assessments. Generated by scripts/generate_endpoints.py. */ +public final class GovernanceComplianceAssessmentsClient extends ServiceClient { + GovernanceComplianceAssessmentsClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code GET /compliance/assessments}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/assessments") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/assessments} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/assessments} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /compliance/assessments} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /compliance/assessments/{param}}. + * @param decoded response type + * @param assessmentId assessmentId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/assessments/{param}") + public @Nullable T get(String assessmentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, List.of(assessmentId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/assessments/{param}} using a generic response type. + * @param decoded response type + * @param assessmentId assessmentId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String assessmentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, List.of(assessmentId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/assessments/{param}} without query parameters. + * @param decoded response type + * @param assessmentId assessmentId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String assessmentId, Class responseType) throws IOException, InterruptedException { + return get(assessmentId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /compliance/assessments/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param assessmentId assessmentId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String assessmentId, TypeReference responseType) throws IOException, InterruptedException { + return get(assessmentId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /compliance/assessments}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/compliance/assessments") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_COMPLIANCE_ASSESSMENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /compliance/assessments} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_COMPLIANCE_ASSESSMENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /compliance/assessments} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /compliance/assessments} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceClient.java new file mode 100644 index 0000000..789cb6e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceClient.java @@ -0,0 +1,84 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/compliance. Generated by scripts/generate_endpoints.py. */ +public final class GovernanceComplianceClient extends ServiceClient { + GovernanceComplianceClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** Returns the client for the nested resource. + * @return the assessments resource client + */ + public GovernanceComplianceAssessmentsClient assessments() { + return new GovernanceComplianceAssessmentsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the frameworks resource client + */ + public GovernanceComplianceFrameworksClient frameworks() { + return new GovernanceComplianceFrameworksClient(client()); + } + + /** Returns the client for the nested resource. + * @return the violations resource client + */ + public GovernanceComplianceViolationsClient violations() { + return new GovernanceComplianceViolationsClient(client()); + } + + /** + * Calls the contract route {@code GET /compliance/score}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/score") + public @Nullable T getScore(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_SCORE, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/score} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getScore(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_SCORE, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/score} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getScore(Class responseType) throws IOException, InterruptedException { + return getScore(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /compliance/score} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getScore(TypeReference responseType) throws IOException, InterruptedException { + return getScore(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceFrameworksClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceFrameworksClient.java new file mode 100644 index 0000000..555ef58 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceFrameworksClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/compliance/frameworks. Generated by scripts/generate_endpoints.py. */ +public final class GovernanceComplianceFrameworksClient extends ServiceClient { + GovernanceComplianceFrameworksClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code GET /compliance/frameworks}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/frameworks") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_FRAMEWORKS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/frameworks} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_FRAMEWORKS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/frameworks} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /compliance/frameworks} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceViolationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceViolationsClient.java new file mode 100644 index 0000000..d552379 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceViolationsClient.java @@ -0,0 +1,119 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/compliance/violations. Generated by scripts/generate_endpoints.py. */ +public final class GovernanceComplianceViolationsClient extends ServiceClient { + GovernanceComplianceViolationsClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code GET /compliance/violations}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/compliance/violations") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_VIOLATIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/violations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_COMPLIANCE_VIOLATIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /compliance/violations} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /compliance/violations} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /compliance/violations/{param}/resolve}. + * @param decoded response type + * @param violationId violationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/compliance/violations/{param}/resolve") + public @Nullable T resolve(String violationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, List.of(violationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /compliance/violations/{param}/resolve} using a generic response type. + * @param decoded response type + * @param violationId violationId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resolve(String violationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, List.of(violationId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /compliance/violations/{param}/resolve} without query parameters. + * @param decoded response type + * @param violationId violationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resolve(String violationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return resolve(violationId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /compliance/violations/{param}/resolve} without query parameters using a generic response type. + * @param decoded response type + * @param violationId violationId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resolve(String violationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return resolve(violationId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernancePermissionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernancePermissionsClient.java new file mode 100644 index 0000000..c002f20 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernancePermissionsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/permissions. Generated by scripts/generate_endpoints.py. */ +public final class GovernancePermissionsClient extends ServiceClient { + GovernancePermissionsClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code GET /permissions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/permissions") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_PERMISSIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /permissions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_PERMISSIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /permissions} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /permissions} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /permissions/{param}}. + * @param decoded response type + * @param permissionId permissionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/permissions/{param}") + public @Nullable T get(String permissionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_PERMISSIONS_PARAM, List.of(permissionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /permissions/{param}} using a generic response type. + * @param decoded response type + * @param permissionId permissionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String permissionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_PERMISSIONS_PARAM, List.of(permissionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /permissions/{param}} without query parameters. + * @param decoded response type + * @param permissionId permissionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String permissionId, Class responseType) throws IOException, InterruptedException { + return get(permissionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /permissions/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param permissionId permissionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String permissionId, TypeReference responseType) throws IOException, InterruptedException { + return get(permissionId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /permissions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/permissions") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_PERMISSIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /permissions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_PERMISSIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /permissions} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /permissions} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesClient.java new file mode 100644 index 0000000..bed6f80 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesClient.java @@ -0,0 +1,393 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/policies. Generated by scripts/generate_endpoints.py. */ +public final class GovernancePoliciesClient extends ServiceClient { + GovernancePoliciesClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** Returns the client for the nested resource. + * @return the templates resource client + */ + public GovernancePoliciesTemplatesClient templates() { + return new GovernancePoliciesTemplatesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the versions resource client + */ + public GovernancePoliciesVersionsClient versions() { + return new GovernancePoliciesVersionsClient(client()); + } + + /** + * Calls the contract route {@code DELETE /policies/{param}}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|DELETE|/policies/{param}") + public @Nullable T delete(String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.DELETE_POLICIES_PARAM, List.of(policyId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /policies/{param}} using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String policyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.DELETE_POLICIES_PARAM, List.of(policyId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /policies/{param}} without query parameters. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String policyId, Class responseType) throws IOException, InterruptedException { + return delete(policyId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /policies/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String policyId, TypeReference responseType) throws IOException, InterruptedException { + return delete(policyId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/policies") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /policies} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /policies} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /policies} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /policies/{param}}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/policies/{param}") + public @Nullable T get(String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_PARAM, List.of(policyId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /policies/{param}} using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String policyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_PARAM, List.of(policyId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /policies/{param}} without query parameters. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String policyId, Class responseType) throws IOException, InterruptedException { + return get(policyId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /policies/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String policyId, TypeReference responseType) throws IOException, InterruptedException { + return get(policyId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /policies}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/policies") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /policies} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /policies} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /policies} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /policies/from-template}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/policies/from-template") + public @Nullable T createFromTemplate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES_FROM_TEMPLATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /policies/from-template} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createFromTemplate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES_FROM_TEMPLATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /policies/from-template} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createFromTemplate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createFromTemplate(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /policies/from-template} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createFromTemplate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createFromTemplate(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /policies/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/policies/validate") + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /policies/validate} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_POLICIES_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /policies/validate} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /policies/validate} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /policies/{param}}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|PUT|/policies/{param}") + public @Nullable T update(String policyId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.PUT_POLICIES_PARAM, List.of(policyId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /policies/{param}} using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.PUT_POLICIES_PARAM, List.of(policyId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /policies/{param}} without query parameters. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String policyId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(policyId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /policies/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String policyId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(policyId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesTemplatesClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesTemplatesClient.java new file mode 100644 index 0000000..09b3ecf --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesTemplatesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/policies/templates. Generated by scripts/generate_endpoints.py. */ +public final class GovernancePoliciesTemplatesClient extends ServiceClient { + GovernancePoliciesTemplatesClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code GET /policies/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/policies/templates") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_TEMPLATES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /policies/templates} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_TEMPLATES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /policies/templates} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /policies/templates} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesVersionsClient.java new file mode 100644 index 0000000..4174858 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesVersionsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/policies/versions. Generated by scripts/generate_endpoints.py. */ +public final class GovernancePoliciesVersionsClient extends ServiceClient { + GovernancePoliciesVersionsClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code GET /policies/{param}/versions}. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/policies/{param}/versions") + public @Nullable T list(String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_PARAM_VERSIONS, List.of(policyId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /policies/{param}/versions} using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String policyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_POLICIES_PARAM_VERSIONS, List.of(policyId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /policies/{param}/versions} without query parameters. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String policyId, Class responseType) throws IOException, InterruptedException { + return list(policyId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /policies/{param}/versions} without query parameters using a generic response type. + * @param decoded response type + * @param policyId policyId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String policyId, TypeReference responseType) throws IOException, InterruptedException { + return list(policyId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceRolesClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceRolesClient.java new file mode 100644 index 0000000..5729d41 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceRolesClient.java @@ -0,0 +1,219 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for governance/roles. Generated by scripts/generate_endpoints.py. */ +public final class GovernanceRolesClient extends ServiceClient { + GovernanceRolesClient(ApiClient client) { + super(ApiService.GOVERNANCE, client); + } + + /** + * Calls the contract route {@code DELETE /roles/{param}}. + * @param decoded response type + * @param roleId roleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|DELETE|/roles/{param}") + public @Nullable T delete(String roleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.DELETE_ROLES_PARAM, List.of(roleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /roles/{param}} using a generic response type. + * @param decoded response type + * @param roleId roleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String roleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.DELETE_ROLES_PARAM, List.of(roleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /roles/{param}} without query parameters. + * @param decoded response type + * @param roleId roleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String roleId, Class responseType) throws IOException, InterruptedException { + return delete(roleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /roles/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param roleId roleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String roleId, TypeReference responseType) throws IOException, InterruptedException { + return delete(roleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /roles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/roles") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_ROLES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /roles} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_ROLES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /roles} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /roles} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /roles/{param}}. + * @param decoded response type + * @param roleId roleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|GET|/roles/{param}") + public @Nullable T get(String roleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_ROLES_PARAM, List.of(roleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /roles/{param}} using a generic response type. + * @param decoded response type + * @param roleId roleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String roleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.GET_ROLES_PARAM, List.of(roleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /roles/{param}} without query parameters. + * @param decoded response type + * @param roleId roleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String roleId, Class responseType) throws IOException, InterruptedException { + return get(roleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /roles/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param roleId roleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String roleId, TypeReference responseType) throws IOException, InterruptedException { + return get(roleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /roles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("governance|POST|/roles") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_ROLES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /roles} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Governance.POST_ROLES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /roles} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /roles} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java index 9ff5efc..38505d7 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java @@ -6,7 +6,7 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the invocations service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for invocations. Generated by scripts/generate_endpoints.py. */ public final class InvocationsClient extends ServiceClient { InvocationsClient(ApiClient client) { super(ApiService.INVOCATIONS, client); @@ -23,13 +23,11 @@ public final class InvocationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("invocations|POST|/invocations") - public @Nullable T postInvocations(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Invocations.POST_INVOCATIONS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /invocations}. + * Calls the contract route {@code POST /invocations} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -38,8 +36,32 @@ public final class InvocationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postInvocations(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Invocations.POST_INVOCATIONS, List.of(), query, body, responseType); } + /** + * Calls the contract route {@code POST /invocations} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /invocations} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java b/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java index 2fb4111..06fd9f2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java @@ -6,70 +6,24 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the lineage service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for lineage. Generated by scripts/generate_endpoints.py. */ public final class LineageClient extends ServiceClient { LineageClient(ApiClient client) { super(ApiService.LINEAGE, client); } - /** - * Calls the contract route {@code GET /lineage/edges}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the edges resource client */ - @SdkOperation("lineage|GET|/lineage/edges") - public @Nullable T getLineageEdges(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_EDGES, List.of(), query, null, responseType); + public LineageEdgesClient edges() { + return new LineageEdgesClient(client()); } - /** - * Calls the contract route {@code GET /lineage/edges}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the nodes resource client */ - public @Nullable T getLineageEdges(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_EDGES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /lineage/edges/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("lineage|GET|/lineage/edges/{param}") - public @Nullable T getLineageEdgesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_EDGES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /lineage/edges/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getLineageEdgesParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_EDGES_PARAM, List.of(pathParam1), query, null, responseType); + public LineageNodesClient nodes() { + return new LineageNodesClient(client()); } /** @@ -82,13 +36,11 @@ public final class LineageClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("lineage|GET|/lineage/graph") - public @Nullable T getLineageGraph(QueryParams query, Class responseType) - throws IOException, InterruptedException { + public @Nullable T getGraph(QueryParams query, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_GRAPH, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /lineage/graph}. + * Calls the contract route {@code GET /lineage/graph} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param responseType responseType supplied to the operation @@ -96,131 +48,82 @@ public final class LineageClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getLineageGraph(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T getGraph(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_GRAPH, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /lineage/nodes}. + * Calls the contract route {@code GET /lineage/graph} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("lineage|GET|/lineage/nodes") - public @Nullable T getLineageNodes(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_NODES, List.of(), query, null, responseType); + public @Nullable T getGraph(Class responseType) throws IOException, InterruptedException { + return getGraph(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /lineage/nodes}. + * Calls the contract route {@code GET /lineage/graph} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getLineageNodes(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_NODES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /lineage/nodes/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("lineage|GET|/lineage/nodes/{param}") - public @Nullable T getLineageNodesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /lineage/nodes/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getLineageNodesParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T getGraph(TypeReference responseType) throws IOException, InterruptedException { + return getGraph(QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /lineage/nodes/{param}/trace}. + * Calls the contract route {@code POST /lineage/impact}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation + * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("lineage|GET|/lineage/nodes/{param}/trace") - public @Nullable T getLineageNodesParamTrace(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM_TRACE, List.of(pathParam1), query, null, responseType); + @SdkOperation("lineage|POST|/lineage/impact") + public @Nullable T createImpact(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.POST_LINEAGE_IMPACT, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code GET /lineage/nodes/{param}/trace}. + * Calls the contract route {@code POST /lineage/impact} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation + * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getLineageNodesParamTrace( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM_TRACE, List.of(pathParam1), query, null, responseType); + public @Nullable T createImpact(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.POST_LINEAGE_IMPACT, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /lineage/impact}. + * Calls the contract route {@code POST /lineage/impact} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("lineage|POST|/lineage/impact") - public @Nullable T postLineageImpact(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.POST_LINEAGE_IMPACT, List.of(), query, body, responseType); + public @Nullable T createImpact(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createImpact(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /lineage/impact}. + * Calls the contract route {@code POST /lineage/impact} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postLineageImpact(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Lineage.POST_LINEAGE_IMPACT, List.of(), query, body, responseType); + public @Nullable T createImpact(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createImpact(QueryParams.empty(), body, responseType); } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/LineageEdgesClient.java b/services/src/main/java/dev/frontal/sdk/resources/LineageEdgesClient.java new file mode 100644 index 0000000..297d9c1 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/LineageEdgesClient.java @@ -0,0 +1,115 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for lineage/edges. Generated by scripts/generate_endpoints.py. */ +public final class LineageEdgesClient extends ServiceClient { + LineageEdgesClient(ApiClient client) { + super(ApiService.LINEAGE, client); + } + + /** + * Calls the contract route {@code GET /lineage/edges}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/edges") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_EDGES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/edges} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_EDGES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/edges} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /lineage/edges} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /lineage/edges/{param}}. + * @param decoded response type + * @param edgeId edgeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/edges/{param}") + public @Nullable T get(String edgeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_EDGES_PARAM, List.of(edgeId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/edges/{param}} using a generic response type. + * @param decoded response type + * @param edgeId edgeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String edgeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_EDGES_PARAM, List.of(edgeId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/edges/{param}} without query parameters. + * @param decoded response type + * @param edgeId edgeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String edgeId, Class responseType) throws IOException, InterruptedException { + return get(edgeId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /lineage/edges/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param edgeId edgeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String edgeId, TypeReference responseType) throws IOException, InterruptedException { + return get(edgeId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/LineageNodesClient.java b/services/src/main/java/dev/frontal/sdk/resources/LineageNodesClient.java new file mode 100644 index 0000000..5143143 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/LineageNodesClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for lineage/nodes. Generated by scripts/generate_endpoints.py. */ +public final class LineageNodesClient extends ServiceClient { + LineageNodesClient(ApiClient client) { + super(ApiService.LINEAGE, client); + } + + /** + * Calls the contract route {@code GET /lineage/nodes}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/nodes") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /lineage/nodes/{param}}. + * @param decoded response type + * @param nodeId nodeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/nodes/{param}") + public @Nullable T get(String nodeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM, List.of(nodeId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes/{param}} using a generic response type. + * @param decoded response type + * @param nodeId nodeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String nodeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM, List.of(nodeId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes/{param}} without query parameters. + * @param decoded response type + * @param nodeId nodeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String nodeId, Class responseType) throws IOException, InterruptedException { + return get(nodeId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param nodeId nodeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String nodeId, TypeReference responseType) throws IOException, InterruptedException { + return get(nodeId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /lineage/nodes/{param}/trace}. + * @param decoded response type + * @param nodeId nodeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("lineage|GET|/lineage/nodes/{param}/trace") + public @Nullable T getTrace(String nodeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM_TRACE, List.of(nodeId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes/{param}/trace} using a generic response type. + * @param decoded response type + * @param nodeId nodeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getTrace(String nodeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM_TRACE, List.of(nodeId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes/{param}/trace} without query parameters. + * @param decoded response type + * @param nodeId nodeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getTrace(String nodeId, Class responseType) throws IOException, InterruptedException { + return getTrace(nodeId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /lineage/nodes/{param}/trace} without query parameters using a generic response type. + * @param decoded response type + * @param nodeId nodeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getTrace(String nodeId, TypeReference responseType) throws IOException, InterruptedException { + return getTrace(nodeId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsClient.java new file mode 100644 index 0000000..a0a89fc --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsClient.java @@ -0,0 +1,349 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for observability/alerts. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityAlertsClient extends ServiceClient { + ObservabilityAlertsClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** Returns the client for the nested resource. + * @return the incidents resource client + */ + public ObservabilityAlertsIncidentsClient incidents() { + return new ObservabilityAlertsIncidentsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the rules resource client + */ + public ObservabilityAlertsRulesClient rules() { + return new ObservabilityAlertsRulesClient(client()); + } + + /** + * Calls the contract route {@code DELETE /observability/alerts/{param}}. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|DELETE|/observability/alerts/{param}") + public @Nullable T delete(String alertId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /observability/alerts/{param}} using a generic response type. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String alertId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /observability/alerts/{param}} without query parameters. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String alertId, Class responseType) throws IOException, InterruptedException { + return delete(alertId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /observability/alerts/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String alertId, TypeReference responseType) throws IOException, InterruptedException { + return delete(alertId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/alerts") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/{param}/disable}. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts/{param}/disable") + public @Nullable T disable(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, List.of(alertId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/{param}/disable} using a generic response type. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, List.of(alertId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/{param}/disable} without query parameters. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(String alertId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return disable(alertId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/{param}/disable} without query parameters using a generic response type. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T disable(String alertId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return disable(alertId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/{param}/enable}. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts/{param}/enable") + public @Nullable T enable(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, List.of(alertId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/{param}/enable} using a generic response type. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T enable(String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, List.of(alertId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/{param}/enable} without query parameters. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T enable(String alertId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return enable(alertId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/{param}/enable} without query parameters using a generic response type. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T enable(String alertId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return enable(alertId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /observability/alerts/{param}}. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|PUT|/observability/alerts/{param}") + public @Nullable T update(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/alerts/{param}} using a generic response type. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/alerts/{param}} without query parameters. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String alertId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(alertId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/alerts/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param alertId alertId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String alertId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(alertId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsIncidentsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsIncidentsClient.java new file mode 100644 index 0000000..19b5694 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsIncidentsClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for observability/alerts/incidents. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityAlertsIncidentsClient extends ServiceClient { + ObservabilityAlertsIncidentsClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** + * Calls the contract route {@code GET /observability/alerts/incidents}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/alerts/incidents") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/incidents} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/incidents} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/incidents} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsRulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsRulesClient.java new file mode 100644 index 0000000..81e2f87 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsRulesClient.java @@ -0,0 +1,331 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for observability/alerts/rules. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityAlertsRulesClient extends ServiceClient { + ObservabilityAlertsRulesClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** + * Calls the contract route {@code DELETE /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|DELETE|/observability/alerts/rules/{param}") + public @Nullable T delete(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /observability/alerts/rules/{param}} using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /observability/alerts/rules/{param}} without query parameters. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, Class responseType) throws IOException, InterruptedException { + return delete(ruleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /observability/alerts/rules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, TypeReference responseType) throws IOException, InterruptedException { + return delete(ruleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/alerts/rules") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/rules} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/rules} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/rules} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/alerts/rules/{param}") + public @Nullable T get(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/rules/{param}} using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/rules/{param}} without query parameters. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String ruleId, Class responseType) throws IOException, InterruptedException { + return get(ruleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/alerts/rules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String ruleId, TypeReference responseType) throws IOException, InterruptedException { + return get(ruleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts/rules") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/rules} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/rules} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/rules} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/alerts/rules/{param}/toggle") + public @Nullable T toggle(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, List.of(ruleId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle} using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T toggle(String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, List.of(ruleId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle} without query parameters. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T toggle(String ruleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return toggle(ruleId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle} without query parameters using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T toggle(String ruleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return toggle(ruleId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /observability/alerts/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|PUT|/observability/alerts/rules/{param}") + public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/alerts/rules/{param}} using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/alerts/rules/{param}} without query parameters. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String ruleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(ruleId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/alerts/rules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String ruleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(ruleId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java index d3cb321..057fa31 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java @@ -4,1111 +4,54 @@ import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; -import java.util.concurrent.Flow; import org.jspecify.annotations.Nullable; -/** Named contract operations for the observability service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for observability. Generated by scripts/generate_endpoints.py. */ public final class ObservabilityClient extends ServiceClient { ObservabilityClient(ApiClient client) { super(ApiService.OBSERVABILITY, client); } - /** - * Calls the contract route {@code DELETE /observability/alerts/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the alerts resource client */ - @SdkOperation("observability|DELETE|/observability/alerts/rules/{param}") - public @Nullable T deleteObservabilityAlertsRulesRuleId(String ruleId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, - List.of(ruleId), - query, - null, - responseType); + public ObservabilityAlertsClient alerts() { + return new ObservabilityAlertsClient(client()); } - /** - * Calls the contract route {@code DELETE /observability/alerts/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the dashboards resource client */ - public @Nullable T deleteObservabilityAlertsRulesRuleId( - String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, - List.of(ruleId), - query, - null, - responseType); + public ObservabilityDashboardsClient dashboards() { + return new ObservabilityDashboardsClient(client()); } - /** - * Calls the contract route {@code DELETE /observability/alerts/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the events resource client */ - @SdkOperation("observability|DELETE|/observability/alerts/{param}") - public @Nullable T deleteObservabilityAlertsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, - List.of(pathParam1), - query, - null, - responseType); + public ObservabilityEventsClient events() { + return new ObservabilityEventsClient(client()); } - /** - * Calls the contract route {@code DELETE /observability/alerts/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the logs resource client */ - public @Nullable T deleteObservabilityAlertsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, - List.of(pathParam1), - query, - null, - responseType); + public ObservabilityLogsClient logs() { + return new ObservabilityLogsClient(client()); } - /** - * Calls the contract route {@code DELETE /observability/dashboards/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the metrics resource client */ - @SdkOperation("observability|DELETE|/observability/dashboards/{param}") - public @Nullable T deleteObservabilityDashboardsParam( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, - List.of(pathParam1), - query, - null, - responseType); + public ObservabilityMetricsClient metrics() { + return new ObservabilityMetricsClient(client()); } - /** - * Calls the contract route {@code DELETE /observability/dashboards/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the traces resource client */ - public @Nullable T deleteObservabilityDashboardsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, - List.of(pathParam1), - query, - null, - responseType); + public ObservabilityTracesClient traces() { + return new ObservabilityTracesClient(client()); } - /** - * Calls the contract route {@code GET /observability/alerts}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/alerts") - public @Nullable T getObservabilityAlerts(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/alerts}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityAlerts(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/alerts/incidents}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/alerts/incidents") - public @Nullable T getObservabilityAlertsIncidents(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/alerts/incidents}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityAlertsIncidents(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/alerts/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/alerts/rules") - public @Nullable T getObservabilityAlertsRules(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/alerts/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityAlertsRules(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/alerts/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/alerts/rules/{param}") - public @Nullable T getObservabilityAlertsRulesRuleId(String ruleId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, - List.of(ruleId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /observability/alerts/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityAlertsRulesRuleId( - String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, - List.of(ruleId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /observability/dashboards}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/dashboards") - public @Nullable T getObservabilityDashboards(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/dashboards}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityDashboards(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/dashboards/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/dashboards/{param}") - public @Nullable T getObservabilityDashboardsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /observability/dashboards/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityDashboardsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /observability/events/stats}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/events/stats") - public @Nullable T getObservabilityEventsStats(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_EVENTS_STATS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/events/stats}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityEventsStats(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_EVENTS_STATS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/metrics}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/metrics") - public @Nullable T getObservabilityMetrics(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/metrics}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityMetrics(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/metrics/list}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/metrics/list") - public @Nullable T getObservabilityMetricsList(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS_LIST, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/metrics/list}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityMetricsList(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS_LIST, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/traces}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/traces") - public @Nullable T getObservabilityTraces(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/traces}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityTraces(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/traces/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|GET|/observability/traces/{param}") - public @Nullable T getObservabilityTracesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /observability/traces/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getObservabilityTracesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/alerts") - public @Nullable T postObservabilityAlerts(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityAlerts( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/alerts/rules") - public @Nullable T postObservabilityAlertsRules( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityAlertsRules( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/alerts/rules/{param}/toggle") - public @Nullable T postObservabilityAlertsRulesRuleIdToggle( - String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, - List.of(ruleId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityAlertsRulesRuleIdToggle( - String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, - List.of(ruleId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts/{param}/disable}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/alerts/{param}/disable") - public @Nullable T postObservabilityAlertsParamDisable( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts/{param}/disable}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityAlertsParamDisable( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts/{param}/enable}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/alerts/{param}/enable") - public @Nullable T postObservabilityAlertsParamEnable( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /observability/alerts/{param}/enable}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityAlertsParamEnable( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /observability/dashboards}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/dashboards") - public @Nullable T postObservabilityDashboards( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/dashboards}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityDashboards( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/dashboards/{param}/share}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/dashboards/{param}/share") - public @Nullable T postObservabilityDashboardsParamShare( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /observability/dashboards/{param}/share}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityDashboardsParamShare( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /observability/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/events") - public @Nullable T postObservabilityEvents(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityEvents( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/events/batch}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/events/batch") - public @Nullable T postObservabilityEventsBatch( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS_BATCH, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/events/batch}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityEventsBatch( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS_BATCH, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/logs/ingest}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/logs/ingest") - public @Nullable T postObservabilityLogsIngest( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_INGEST, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/logs/ingest}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityLogsIngest( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_INGEST, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/logs/query}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/logs/query") - public @Nullable T postObservabilityLogsQuery(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_QUERY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/logs/query}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityLogsQuery( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_QUERY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/metrics/ingest}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/metrics/ingest") - public @Nullable T postObservabilityMetricsIngest( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_METRICS_INGEST, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/metrics/ingest}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityMetricsIngest( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_METRICS_INGEST, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/traces/query}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|POST|/observability/traces/query") - public @Nullable T postObservabilityTracesQuery( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_TRACES_QUERY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /observability/traces/query}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postObservabilityTracesQuery( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_TRACES_QUERY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /observability/alerts/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|PUT|/observability/alerts/rules/{param}") - public @Nullable T putObservabilityAlertsRulesRuleId( - String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, - List.of(ruleId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /observability/alerts/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putObservabilityAlertsRulesRuleId( - String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, - List.of(ruleId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /observability/alerts/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|PUT|/observability/alerts/{param}") - public @Nullable T putObservabilityAlertsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /observability/alerts/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putObservabilityAlertsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /observability/dashboards/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("observability|PUT|/observability/dashboards/{param}") - public @Nullable T putObservabilityDashboardsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /observability/dashboards/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putObservabilityDashboardsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Opens the event stream for {@code STREAM /observability/logs/stream}. - * @param query query supplied to the operation - * @return a publisher that emits event data - */ - @SdkOperation("observability|STREAM|/observability/logs/stream") - public Flow.Publisher streamObservabilityLogsStream(QueryParams query) { - return streamPublisher(Endpoints.Observability.STREAM_OBSERVABILITY_LOGS_STREAM, List.of(), query); - } - - /** - * Opens a blocking event stream for {@code STREAM /observability/logs/stream}. - * @param query query supplied to the operation - * @return an iterator that must be closed - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public SseEventIterator streamObservabilityLogsStreamBlocking(QueryParams query) - throws IOException, InterruptedException { - return streamEvents(Endpoints.Observability.STREAM_OBSERVABILITY_LOGS_STREAM, List.of(), query); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityDashboardsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityDashboardsClient.java new file mode 100644 index 0000000..c6db9bf --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityDashboardsClient.java @@ -0,0 +1,331 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for observability/dashboards. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityDashboardsClient extends ServiceClient { + ObservabilityDashboardsClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** + * Calls the contract route {@code DELETE /observability/dashboards/{param}}. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|DELETE|/observability/dashboards/{param}") + public @Nullable T delete(String dashboardId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /observability/dashboards/{param}} using a generic response type. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String dashboardId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /observability/dashboards/{param}} without query parameters. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String dashboardId, Class responseType) throws IOException, InterruptedException { + return delete(dashboardId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /observability/dashboards/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String dashboardId, TypeReference responseType) throws IOException, InterruptedException { + return delete(dashboardId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /observability/dashboards}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/dashboards") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/dashboards} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/dashboards} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/dashboards} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /observability/dashboards/{param}}. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/dashboards/{param}") + public @Nullable T get(String dashboardId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/dashboards/{param}} using a generic response type. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String dashboardId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/dashboards/{param}} without query parameters. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String dashboardId, Class responseType) throws IOException, InterruptedException { + return get(dashboardId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/dashboards/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String dashboardId, TypeReference responseType) throws IOException, InterruptedException { + return get(dashboardId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /observability/dashboards}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/dashboards") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/dashboards} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/dashboards} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/dashboards} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/dashboards/{param}/share}. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/dashboards/{param}/share") + public @Nullable T share(String dashboardId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, List.of(dashboardId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/dashboards/{param}/share} using a generic response type. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T share(String dashboardId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, List.of(dashboardId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/dashboards/{param}/share} without query parameters. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T share(String dashboardId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return share(dashboardId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/dashboards/{param}/share} without query parameters using a generic response type. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T share(String dashboardId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return share(dashboardId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /observability/dashboards/{param}}. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|PUT|/observability/dashboards/{param}") + public @Nullable T update(String dashboardId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/dashboards/{param}} using a generic response type. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String dashboardId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/dashboards/{param}} without query parameters. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String dashboardId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(dashboardId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /observability/dashboards/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param dashboardId dashboardId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String dashboardId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(dashboardId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsClient.java new file mode 100644 index 0000000..278871a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsClient.java @@ -0,0 +1,126 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for observability/events. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityEventsClient extends ServiceClient { + ObservabilityEventsClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** Returns the client for the nested resource. + * @return the stats resource client + */ + public ObservabilityEventsStatsClient stats() { + return new ObservabilityEventsStatsClient(client()); + } + + /** + * Calls the contract route {@code POST /observability/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/events") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/events} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/events} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/events} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/events/batch}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/events/batch") + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS_BATCH, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/events/batch} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS_BATCH, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/events/batch} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T batch(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return batch(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/events/batch} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return batch(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsStatsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsStatsClient.java new file mode 100644 index 0000000..a6b7ae7 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsStatsClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for observability/events/stats. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityEventsStatsClient extends ServiceClient { + ObservabilityEventsStatsClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** + * Calls the contract route {@code GET /observability/events/stats}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/events/stats") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_EVENTS_STATS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/events/stats} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_EVENTS_STATS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/events/stats} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/events/stats} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityLogsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityLogsClient.java new file mode 100644 index 0000000..c88ab93 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityLogsClient.java @@ -0,0 +1,156 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; +import java.util.concurrent.Flow; + +/** Contract operations for observability/logs. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityLogsClient extends ServiceClient { + ObservabilityLogsClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** + * Calls the contract route {@code POST /observability/logs/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/logs/ingest") + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_INGEST, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/logs/ingest} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_INGEST, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/logs/ingest} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return ingest(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/logs/ingest} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return ingest(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /observability/logs/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/logs/query") + public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_QUERY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/logs/query} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_QUERY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/logs/query} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return query(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/logs/query} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return query(QueryParams.empty(), body, responseType); + } + + /** + * Opens the event stream for {@code STREAM /observability/logs/stream}. + * @param query query supplied to the operation + * @return a publisher that emits event data + */ + @SdkOperation("observability|STREAM|/observability/logs/stream") + public Flow.Publisher stream(QueryParams query) { + return streamPublisher(Endpoints.Observability.STREAM_OBSERVABILITY_LOGS_STREAM, List.of(), query); + } + /** + * Opens a blocking event stream for {@code STREAM /observability/logs/stream}. + * @param query query supplied to the operation + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator streamBlocking(QueryParams query) throws IOException, InterruptedException { + return streamEvents(Endpoints.Observability.STREAM_OBSERVABILITY_LOGS_STREAM, List.of(), query); + } + /** + * Opens the event stream for {@code STREAM /observability/logs/stream} with no query parameters. + * @return a publisher that emits event data + */ + public Flow.Publisher stream() { + return stream(QueryParams.empty()); + } + /** + * Opens a blocking event stream for {@code STREAM /observability/logs/stream} with no query parameters. + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator streamBlocking() throws IOException, InterruptedException { + return streamBlocking(QueryParams.empty()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityMetricsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityMetricsClient.java new file mode 100644 index 0000000..3120fbc --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityMetricsClient.java @@ -0,0 +1,163 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for observability/metrics. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityMetricsClient extends ServiceClient { + ObservabilityMetricsClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** + * Calls the contract route {@code GET /observability/metrics}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/metrics") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/metrics} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/metrics} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/metrics} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /observability/metrics/list}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/metrics/list") + public @Nullable T getList(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS_LIST, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/metrics/list} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getList(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS_LIST, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/metrics/list} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getList(Class responseType) throws IOException, InterruptedException { + return getList(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/metrics/list} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getList(TypeReference responseType) throws IOException, InterruptedException { + return getList(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /observability/metrics/ingest}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/metrics/ingest") + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_METRICS_INGEST, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/metrics/ingest} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_METRICS_INGEST, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/metrics/ingest} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return ingest(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/metrics/ingest} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return ingest(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityTracesClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityTracesClient.java new file mode 100644 index 0000000..e5f1844 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityTracesClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for observability/traces. Generated by scripts/generate_endpoints.py. */ +public final class ObservabilityTracesClient extends ServiceClient { + ObservabilityTracesClient(ApiClient client) { + super(ApiService.OBSERVABILITY, client); + } + + /** + * Calls the contract route {@code GET /observability/traces}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/traces") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/traces} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/traces} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/traces} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /observability/traces/{param}}. + * @param decoded response type + * @param traceId traceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|GET|/observability/traces/{param}") + public @Nullable T get(String traceId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(traceId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/traces/{param}} using a generic response type. + * @param decoded response type + * @param traceId traceId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String traceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(traceId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /observability/traces/{param}} without query parameters. + * @param decoded response type + * @param traceId traceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String traceId, Class responseType) throws IOException, InterruptedException { + return get(traceId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /observability/traces/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param traceId traceId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String traceId, TypeReference responseType) throws IOException, InterruptedException { + return get(traceId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /observability/traces/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("observability|POST|/observability/traces/query") + public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_TRACES_QUERY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/traces/query} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Observability.POST_OBSERVABILITY_TRACES_QUERY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /observability/traces/query} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return query(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /observability/traces/query} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return query(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java index ea4a7cd..656028b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java @@ -6,5693 +6,101 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the ontology service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for ontology. Generated by scripts/generate_endpoints.py. */ public final class OntologyClient extends ServiceClient { OntologyClient(ApiClient client) { super(ApiService.ONTOLOGY, client); } - /** - * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}}. - * @param decoded response type - * @param objectTypeId objectTypeId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the engine resource client */ - @SdkOperation("ontology|DELETE|/ontology/objects/object-types/{param}") - public @Nullable T deleteOntologyObjectsObjectTypesObjectTypeId( - String objectTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, - List.of(objectTypeId), - query, - null, - responseType); + public OntologyEngineClient engine() { + return new OntologyEngineClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}}. - * @param decoded response type - * @param objectTypeId objectTypeId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the events resource client */ - public @Nullable T deleteOntologyObjectsObjectTypesObjectTypeId( - String objectTypeId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, - List.of(objectTypeId), - query, - null, - responseType); + public OntologyEventsClient events() { + return new OntologyEventsClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/objects/objects/{param}}. - * @param decoded response type - * @param objectId objectId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the extract resource client */ - @SdkOperation("ontology|DELETE|/ontology/objects/objects/{param}") - public @Nullable T deleteOntologyObjectsObjectsObjectId( - String objectId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + public OntologyExtractClient extract() { + return new OntologyExtractClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/objects/objects/{param}}. - * @param decoded response type - * @param objectId objectId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the graph resource client */ - public @Nullable T deleteOntologyObjectsObjectsObjectId( - String objectId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + public OntologyGraphClient graph() { + return new OntologyGraphClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the objects resource client */ - @SdkOperation("ontology|DELETE|/ontology/reasoning/rules/{param}") - public @Nullable T deleteOntologyReasoningRulesRuleId(String ruleId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); + public OntologyObjectsClient objects() { + return new OntologyObjectsClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the reasoning resource client */ - public @Nullable T deleteOntologyReasoningRulesRuleId( - String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); + public OntologyReasoningClient reasoning() { + return new OntologyReasoningClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}}. - * @param decoded response type - * @param relationshipTypeId relationshipTypeId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the relationships resource client */ - @SdkOperation("ontology|DELETE|/ontology/relationships/relationship-types/{param}") - public @Nullable T deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId( - String relationshipTypeId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, - List.of(relationshipTypeId), - query, - null, - responseType); + public OntologyRelationshipsClient relationships() { + return new OntologyRelationshipsClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}}. - * @param decoded response type - * @param relationshipTypeId relationshipTypeId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the rollouts resource client */ - public @Nullable T deleteOntologyRelationshipsRelationshipTypesRelationshipTypeId( - String relationshipTypeId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, - List.of(relationshipTypeId), - query, - null, - responseType); + public OntologyRolloutsClient rollouts() { + return new OntologyRolloutsClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the rollups resource client */ - @SdkOperation("ontology|DELETE|/ontology/relationships/relationships/{param}") - public @Nullable T deleteOntologyRelationshipsRelationshipsRelationshipId( - String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - null, - responseType); + public OntologyRollupsClient rollups() { + return new OntologyRollupsClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the schemas resource client */ - public @Nullable T deleteOntologyRelationshipsRelationshipsRelationshipId( - String relationshipId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - null, - responseType); + public OntologySchemasClient schemas() { + return new OntologySchemasClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the transformations resource client */ - @SdkOperation("ontology|DELETE|/ontology/rollouts/rollouts/{param}") - public @Nullable T deleteOntologyRolloutsRolloutsRolloutId( - String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, - List.of(rolloutId), - query, - null, - responseType); + public OntologyTransformationsClient transformations() { + return new OntologyTransformationsClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the validation resource client */ - public @Nullable T deleteOntologyRolloutsRolloutsRolloutId( - String rolloutId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, - List.of(rolloutId), - query, - null, - responseType); + public OntologyValidationClient validation() { + return new OntologyValidationClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the versions resource client */ - @SdkOperation("ontology|DELETE|/ontology/rollups/rollups/{param}") - public @Nullable T deleteOntologyRollupsRollupsRollupId( - String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + public OntologyVersionsClient versions() { + return new OntologyVersionsClient(client()); } - /** - * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteOntologyRollupsRollupsRollupId( - String rollupId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}}. - * @param decoded response type - * @param schemaId schemaId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|DELETE|/ontology/schemas/schemas/{param}") - public @Nullable T deleteOntologySchemasSchemasSchemaId( - String schemaId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}}. - * @param decoded response type - * @param schemaId schemaId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteOntologySchemasSchemasSchemaId( - String schemaId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /ontology/validation/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|DELETE|/ontology/validation/rules/{param}") - public @Nullable T deleteOntologyValidationRulesRuleId(String ruleId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /ontology/validation/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteOntologyValidationRulesRuleId( - String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); - } - - /** - * Calls the contract route {@code DELETE /ontology/versions/versions/{param}}. - * @param decoded response type - * @param versionId versionId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|DELETE|/ontology/versions/versions/{param}") - public @Nullable T deleteOntologyVersionsVersionsVersionId( - String versionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, - List.of(versionId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code DELETE /ontology/versions/versions/{param}}. - * @param decoded response type - * @param versionId versionId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteOntologyVersionsVersionsVersionId( - String versionId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, - List.of(versionId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/engine/capabilities") - public @Nullable T getOntologyEngineCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEngineCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/engine/health") - public @Nullable T getOntologyEngineHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEngineHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/engine/info") - public @Nullable T getOntologyEngineInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEngineInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/engine/runs") - public @Nullable T getOntologyEngineRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEngineRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/engine/runs/{param}") - public @Nullable T getOntologyEngineRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/engine/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEngineRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/events/capabilities") - public @Nullable T getOntologyEventsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEventsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/events/events") - public @Nullable T getOntologyEventsEvents(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEventsEvents(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}}. - * @param decoded response type - * @param consumer consumer supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/events/events/checkpoints/{param}") - public @Nullable T getOntologyEventsEventsCheckpointsConsumer( - String consumer, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, - List.of(consumer), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}}. - * @param decoded response type - * @param consumer consumer supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEventsEventsCheckpointsConsumer( - String consumer, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, - List.of(consumer), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/events/{param}}. - * @param decoded response type - * @param eventId eventId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/events/events/{param}") - public @Nullable T getOntologyEventsEventsEventId(String eventId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/events/{param}}. - * @param decoded response type - * @param eventId eventId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEventsEventsEventId( - String eventId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/events/health") - public @Nullable T getOntologyEventsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEventsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/events/info") - public @Nullable T getOntologyEventsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEventsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/events/runs") - public @Nullable T getOntologyEventsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEventsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/events/runs/{param}") - public @Nullable T getOntologyEventsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/events/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyEventsRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/extract/capabilities") - public @Nullable T getOntologyExtractCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyExtractCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/extract/health") - public @Nullable T getOntologyExtractHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyExtractHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/extract/info") - public @Nullable T getOntologyExtractInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyExtractInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/extract/runs") - public @Nullable T getOntologyExtractRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyExtractRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/extract/runs/{param}") - public @Nullable T getOntologyExtractRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/extract/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyExtractRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/graph/capabilities") - public @Nullable T getOntologyGraphCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyGraphCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/entities/{param}}. - * @param decoded response type - * @param entityId entityId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/graph/entities/{param}") - public @Nullable T getOntologyGraphEntitiesEntityId(String entityId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/entities/{param}}. - * @param decoded response type - * @param entityId entityId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyGraphEntitiesEntityId( - String entityId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance}. - * @param decoded response type - * @param entityId entityId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/graph/entities/{param}/provenance") - public @Nullable T getOntologyGraphEntitiesEntityIdProvenance( - String entityId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, - List.of(entityId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance}. - * @param decoded response type - * @param entityId entityId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyGraphEntitiesEntityIdProvenance( - String entityId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, - List.of(entityId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/graph/health") - public @Nullable T getOntologyGraphHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyGraphHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/graph/info") - public @Nullable T getOntologyGraphInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyGraphInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/graph/relationships/{param}") - public @Nullable T getOntologyGraphRelationshipsRelationshipId( - String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyGraphRelationshipsRelationshipId( - String relationshipId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/graph/runs") - public @Nullable T getOntologyGraphRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyGraphRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/graph/runs/{param}") - public @Nullable T getOntologyGraphRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/graph/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyGraphRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/capabilities") - public @Nullable T getOntologyObjectsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/health") - public @Nullable T getOntologyObjectsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/info") - public @Nullable T getOntologyObjectsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/object-types}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/object-types") - public @Nullable T getOntologyObjectsObjectTypes(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/object-types}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsObjectTypes(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/object-types/{param}}. - * @param decoded response type - * @param objectTypeId objectTypeId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/object-types/{param}") - public @Nullable T getOntologyObjectsObjectTypesObjectTypeId( - String objectTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, - List.of(objectTypeId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/object-types/{param}}. - * @param decoded response type - * @param objectTypeId objectTypeId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsObjectTypesObjectTypeId( - String objectTypeId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, - List.of(objectTypeId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/objects}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/objects") - public @Nullable T getOntologyObjectsObjects(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/objects}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsObjects(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/objects/{param}}. - * @param decoded response type - * @param objectId objectId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/objects/{param}") - public @Nullable T getOntologyObjectsObjectsObjectId(String objectId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/objects/{param}}. - * @param decoded response type - * @param objectId objectId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsObjectsObjectId( - String objectId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/runs") - public @Nullable T getOntologyObjectsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/objects/runs/{param}") - public @Nullable T getOntologyObjectsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/objects/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyObjectsRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/reasoning/capabilities") - public @Nullable T getOntologyReasoningCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyReasoningCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/reasoning/health") - public @Nullable T getOntologyReasoningHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyReasoningHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/reasoning/info") - public @Nullable T getOntologyReasoningInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyReasoningInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/reasoning/rules") - public @Nullable T getOntologyReasoningRules(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RULES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyReasoningRules(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RULES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/reasoning/runs") - public @Nullable T getOntologyReasoningRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyReasoningRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/reasoning/runs/{param}") - public @Nullable T getOntologyReasoningRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/reasoning/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyReasoningRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/relationships/capabilities") - public @Nullable T getOntologyRelationshipsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRelationshipsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/relationships/health") - public @Nullable T getOntologyRelationshipsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRelationshipsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/relationships/info") - public @Nullable T getOntologyRelationshipsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRelationshipsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/relationship-types}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/relationships/relationship-types") - public @Nullable T getOntologyRelationshipsRelationshipTypes(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/relationship-types}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRelationshipsRelationshipTypes(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/relationships}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/relationships/relationships") - public @Nullable T getOntologyRelationshipsRelationships(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/relationships}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRelationshipsRelationships(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/relationships/relationships/{param}") - public @Nullable T getOntologyRelationshipsRelationshipsRelationshipId( - String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRelationshipsRelationshipsRelationshipId( - String relationshipId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/relationships/runs") - public @Nullable T getOntologyRelationshipsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRelationshipsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/relationships/runs/{param}") - public @Nullable T getOntologyRelationshipsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/relationships/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRelationshipsRunsRunId( - String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollouts/capabilities") - public @Nullable T getOntologyRolloutsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRolloutsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollouts/health") - public @Nullable T getOntologyRolloutsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRolloutsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollouts/info") - public @Nullable T getOntologyRolloutsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRolloutsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/rollouts}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollouts/rollouts") - public @Nullable T getOntologyRolloutsRollouts(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/rollouts}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRolloutsRollouts(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollouts/rollouts/{param}") - public @Nullable T getOntologyRolloutsRolloutsRolloutId( - String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRolloutsRolloutsRolloutId( - String rolloutId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollouts/rollouts/{param}/status") - public @Nullable T getOntologyRolloutsRolloutsRolloutIdStatus( - String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, - List.of(rolloutId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRolloutsRolloutsRolloutIdStatus( - String rolloutId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, - List.of(rolloutId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollouts/runs") - public @Nullable T getOntologyRolloutsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRolloutsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollouts/runs/{param}") - public @Nullable T getOntologyRolloutsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollouts/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRolloutsRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/capabilities") - public @Nullable T getOntologyRollupsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/health") - public @Nullable T getOntologyRollupsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/info") - public @Nullable T getOntologyRollupsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}}. - * @param decoded response type - * @param executionId executionId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/rollup-results/{param}") - public @Nullable T getOntologyRollupsRollupResultsExecutionId( - String executionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, - List.of(executionId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}}. - * @param decoded response type - * @param executionId executionId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsRollupResultsExecutionId( - String executionId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, - List.of(executionId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/rollups}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/rollups") - public @Nullable T getOntologyRollupsRollups(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/rollups}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsRollups(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/rollups/{param}}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/rollups/{param}") - public @Nullable T getOntologyRollupsRollupsRollupId(String rollupId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/rollups/{param}}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsRollupsRollupId( - String rollupId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/rollups/{param}/result") - public @Nullable T getOntologyRollupsRollupsRollupIdResult( - String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, - List.of(rollupId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsRollupsRollupIdResult( - String rollupId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, - List.of(rollupId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/runs") - public @Nullable T getOntologyRollupsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/rollups/runs/{param}") - public @Nullable T getOntologyRollupsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/rollups/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyRollupsRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/schemas/capabilities") - public @Nullable T getOntologySchemasCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologySchemasCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/schemas/health") - public @Nullable T getOntologySchemasHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologySchemasHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/schemas/info") - public @Nullable T getOntologySchemasInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologySchemasInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/schemas/runs") - public @Nullable T getOntologySchemasRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologySchemasRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/schemas/runs/{param}") - public @Nullable T getOntologySchemasRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologySchemasRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/schemas/schemas") - public @Nullable T getOntologySchemasSchemas(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologySchemasSchemas(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/schemas/{param}}. - * @param decoded response type - * @param schemaId schemaId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/schemas/schemas/{param}") - public @Nullable T getOntologySchemasSchemasSchemaId(String schemaId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/schemas/schemas/{param}}. - * @param decoded response type - * @param schemaId schemaId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologySchemasSchemasSchemaId( - String schemaId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/transformations/capabilities") - public @Nullable T getOntologyTransformationsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyTransformationsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/transformations/health") - public @Nullable T getOntologyTransformationsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyTransformationsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/transformations/info") - public @Nullable T getOntologyTransformationsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyTransformationsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/transformations/runs") - public @Nullable T getOntologyTransformationsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyTransformationsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/transformations/runs/{param}") - public @Nullable T getOntologyTransformationsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/transformations/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyTransformationsRunsRunId( - String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/validation/capabilities") - public @Nullable T getOntologyValidationCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyValidationCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/validation/health") - public @Nullable T getOntologyValidationHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyValidationHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/validation/info") - public @Nullable T getOntologyValidationInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyValidationInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/validation/rules") - public @Nullable T getOntologyValidationRules(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyValidationRules(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/validation/rules/{param}") - public @Nullable T getOntologyValidationRulesRuleId(String ruleId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyValidationRulesRuleId( - String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/validation/runs") - public @Nullable T getOntologyValidationRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyValidationRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/validation/runs/{param}") - public @Nullable T getOntologyValidationRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/validation/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyValidationRunsRunId( - String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/versions/capabilities") - public @Nullable T getOntologyVersionsCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyVersionsCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/versions/health") - public @Nullable T getOntologyVersionsHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyVersionsHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/versions/info") - public @Nullable T getOntologyVersionsInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyVersionsInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/release-bundles}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/versions/release-bundles") - public @Nullable T getOntologyVersionsReleaseBundles(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/release-bundles}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyVersionsReleaseBundles(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}}. - * @param decoded response type - * @param bundleId bundleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/versions/release-bundles/{param}") - public @Nullable T getOntologyVersionsReleaseBundlesBundleId( - String bundleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, - List.of(bundleId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}}. - * @param decoded response type - * @param bundleId bundleId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyVersionsReleaseBundlesBundleId( - String bundleId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, - List.of(bundleId), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/versions/runs") - public @Nullable T getOntologyVersionsRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyVersionsRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/versions/runs/{param}") - public @Nullable T getOntologyVersionsRunsRunId(String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/runs/{param}}. - * @param decoded response type - * @param runId runId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyVersionsRunsRunId(String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS_PARAM, List.of(runId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/versions/{param}}. - * @param decoded response type - * @param versionId versionId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|GET|/ontology/versions/versions/{param}") - public @Nullable T getOntologyVersionsVersionsVersionId( - String versionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /ontology/versions/versions/{param}}. - * @param decoded response type - * @param versionId versionId supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getOntologyVersionsVersionsVersionId( - String versionId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/engine/ontologies/compare-versions") - public @Nullable T postOntologyEngineOntologiesCompareVersions( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, - List.of(), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEngineOntologiesCompareVersions( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, - List.of(), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/export}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/engine/ontologies/export") - public @Nullable T postOntologyEngineOntologiesExport( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/export}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEngineOntologiesExport( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/engine/ontologies/export-shacl") - public @Nullable T postOntologyEngineOntologiesExportShacl( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEngineOntologiesExportShacl( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/generate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/engine/ontologies/generate") - public @Nullable T postOntologyEngineOntologiesGenerate( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/generate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEngineOntologiesGenerate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/engine/ontologies/infer-classes") - public @Nullable T postOntologyEngineOntologiesInferClasses( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEngineOntologiesInferClasses( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/engine/ontologies/infer-properties") - public @Nullable T postOntologyEngineOntologiesInferProperties( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, - List.of(), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEngineOntologiesInferProperties( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, - List.of(), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/engine/ontologies/validate") - public @Nullable T postOntologyEngineOntologiesValidate( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/ontologies/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEngineOntologiesValidate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/engine/runs") - public @Nullable T postOntologyEngineRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/engine/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEngineRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/events/events") - public @Nullable T postOntologyEventsEvents(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEventsEvents( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/events/checkpoints}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/events/events/checkpoints") - public @Nullable T postOntologyEventsEventsCheckpoints( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/events/checkpoints}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEventsEventsCheckpoints( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/events/events/leases/acknowledge") - public @Nullable T postOntologyEventsEventsLeasesAcknowledge( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, - List.of(), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEventsEventsLeasesAcknowledge( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, - List.of(), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/events/leases/acquire}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/events/events/leases/acquire") - public @Nullable T postOntologyEventsEventsLeasesAcquire( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/events/leases/acquire}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEventsEventsLeasesAcquire( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/events/runs") - public @Nullable T postOntologyEventsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/events/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyEventsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/analyze}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/extract/extract/analyze") - public @Nullable T postOntologyExtractExtractAnalyze( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/analyze}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyExtractExtractAnalyze( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/architecture}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/extract/extract/architecture") - public @Nullable T postOntologyExtractExtractArchitecture( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/architecture}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyExtractExtractArchitecture( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/coreferences}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/extract/extract/coreferences") - public @Nullable T postOntologyExtractExtractCoreferences( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/coreferences}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyExtractExtractCoreferences( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/entities}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/extract/extract/entities") - public @Nullable T postOntologyExtractExtractEntities( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/entities}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyExtractExtractEntities( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/extract/extract/events") - public @Nullable T postOntologyExtractExtractEvents( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/events}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyExtractExtractEvents( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/relations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/extract/extract/relations") - public @Nullable T postOntologyExtractExtractRelations( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/relations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyExtractExtractRelations( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/triplets}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/extract/extract/triplets") - public @Nullable T postOntologyExtractExtractTriplets( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/extract/triplets}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyExtractExtractTriplets( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/extract/runs") - public @Nullable T postOntologyExtractRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/extract/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyExtractRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/analyze}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/graph/graph/analyze") - public @Nullable T postOntologyGraphGraphAnalyze( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/analyze}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyGraphGraphAnalyze( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/build}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/graph/graph/build") - public @Nullable T postOntologyGraphGraphBuild( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BUILD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/build}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyGraphGraphBuild( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BUILD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/bulk-read}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/graph/graph/bulk-read") - public @Nullable T postOntologyGraphGraphBulkRead( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/bulk-read}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyGraphGraphBulkRead( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/neighborhood}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/graph/graph/neighborhood") - public @Nullable T postOntologyGraphGraphNeighborhood( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/neighborhood}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyGraphGraphNeighborhood( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/path}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/graph/graph/path") - public @Nullable T postOntologyGraphGraphPath(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_PATH, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/path}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyGraphGraphPath( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_PATH, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/query}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/graph/graph/query") - public @Nullable T postOntologyGraphGraphQuery( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_QUERY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/graph/query}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyGraphGraphQuery( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_QUERY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/graph/runs") - public @Nullable T postOntologyGraphRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/graph/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyGraphRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/objects/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/objects/runs") - public @Nullable T postOntologyObjectsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_OBJECTS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/objects/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyObjectsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_OBJECTS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/explain}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/reasoning/explain") - public @Nullable T postOntologyReasoningExplain( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_EXPLAIN, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/explain}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyReasoningExplain( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_EXPLAIN, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/facts}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/reasoning/facts") - public @Nullable T postOntologyReasoningFacts(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/facts}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyReasoningFacts( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/reasoning/facts/load-graph") - public @Nullable T postOntologyReasoningFactsLoadGraph( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyReasoningFactsLoadGraph( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/reason/backward}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/reasoning/reason/backward") - public @Nullable T postOntologyReasoningReasonBackward( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/reason/backward}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyReasoningReasonBackward( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/reason/forward}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/reasoning/reason/forward") - public @Nullable T postOntologyReasoningReasonForward( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_FORWARD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/reason/forward}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyReasoningReasonForward( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_FORWARD, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/reasoning/rules") - public @Nullable T postOntologyReasoningRules(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RULES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyReasoningRules( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RULES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/reasoning/runs") - public @Nullable T postOntologyReasoningRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/reasoning/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyReasoningRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/relationships/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/relationships/runs") - public @Nullable T postOntologyRelationshipsRuns( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/relationships/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRelationshipsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollouts/rollouts") - public @Nullable T postOntologyRolloutsRollouts( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRolloutsRollouts( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/pause") - public @Nullable T postOntologyRolloutsRolloutsRolloutIdPause( - String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, - List.of(rolloutId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRolloutsRolloutsRolloutIdPause( - String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, - List.of(rolloutId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/resume") - public @Nullable T postOntologyRolloutsRolloutsRolloutIdResume( - String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, - List.of(rolloutId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRolloutsRolloutsRolloutIdResume( - String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, - List.of(rolloutId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/rollback") - public @Nullable T postOntologyRolloutsRolloutsRolloutIdRollback( - String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, - List.of(rolloutId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRolloutsRolloutsRolloutIdRollback( - String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, - List.of(rolloutId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/start") - public @Nullable T postOntologyRolloutsRolloutsRolloutIdStart( - String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, - List.of(rolloutId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRolloutsRolloutsRolloutIdStart( - String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, - List.of(rolloutId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollouts/runs") - public @Nullable T postOntologyRolloutsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollouts/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRolloutsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollups/rollups}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollups/rollups") - public @Nullable T postOntologyRollupsRollups(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollups/rollups}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRollupsRollups( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollups/rollups/{param}/execute") - public @Nullable T postOntologyRollupsRollupsRollupIdExecute( - String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, - List.of(rollupId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRollupsRollupsRollupIdExecute( - String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, - List.of(rollupId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollups/rollups/{param}/preview") - public @Nullable T postOntologyRollupsRollupsRollupIdPreview( - String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, - List.of(rollupId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRollupsRollupsRollupIdPreview( - String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, - List.of(rollupId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollups/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/rollups/runs") - public @Nullable T postOntologyRollupsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/rollups/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyRollupsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/schemas/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/schemas/runs") - public @Nullable T postOntologySchemasRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/schemas/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologySchemasRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/schemas/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/schemas/schemas") - public @Nullable T postOntologySchemasSchemas(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/schemas/schemas}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologySchemasSchemas( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/schemas/schemas/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/schemas/schemas/validate") - public @Nullable T postOntologySchemasSchemasValidate( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/schemas/schemas/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologySchemasSchemasValidate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/transformations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/transformations/runs") - public @Nullable T postOntologyTransformationsRuns( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/transformations/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyTransformationsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/transformations/transformations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/transformations/transformations") - public @Nullable T postOntologyTransformationsTransformations( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/transformations/transformations}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyTransformationsTransformations( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/validation/payloads/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/validation/payloads/validate") - public @Nullable T postOntologyValidationPayloadsValidate( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/validation/payloads/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyValidationPayloadsValidate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/validation/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/validation/rules") - public @Nullable T postOntologyValidationRules( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RULES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/validation/rules}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyValidationRules( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RULES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/validation/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/validation/runs") - public @Nullable T postOntologyValidationRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/validation/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyValidationRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/audit/verify}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/versions/audit/verify") - public @Nullable T postOntologyVersionsAuditVerify( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/audit/verify}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyVersionsAuditVerify( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/release-bundles}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/versions/release-bundles") - public @Nullable T postOntologyVersionsReleaseBundles( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/release-bundles}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyVersionsReleaseBundles( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/versions/runs") - public @Nullable T postOntologyVersionsRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyVersionsRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/versions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/versions/versions") - public @Nullable T postOntologyVersionsVersions( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/versions}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyVersionsVersions( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/versions/compare}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|POST|/ontology/versions/versions/compare") - public @Nullable T postOntologyVersionsVersionsCompare( - QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /ontology/versions/versions/compare}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postOntologyVersionsVersionsCompare( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/graph/entities/{param}}. - * @param decoded response type - * @param entityId entityId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|PUT|/ontology/graph/entities/{param}") - public @Nullable T putOntologyGraphEntitiesEntityId( - String entityId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/graph/entities/{param}}. - * @param decoded response type - * @param entityId entityId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putOntologyGraphEntitiesEntityId( - String entityId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/graph/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|PUT|/ontology/graph/relationships/{param}") - public @Nullable T putOntologyGraphRelationshipsRelationshipId( - String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/graph/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putOntologyGraphRelationshipsRelationshipId( - String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/objects/object-types/{param}}. - * @param decoded response type - * @param objectTypeId objectTypeId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|PUT|/ontology/objects/object-types/{param}") - public @Nullable T putOntologyObjectsObjectTypesObjectTypeId( - String objectTypeId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, - List.of(objectTypeId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/objects/object-types/{param}}. - * @param decoded response type - * @param objectTypeId objectTypeId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putOntologyObjectsObjectTypesObjectTypeId( - String objectTypeId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, - List.of(objectTypeId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/objects/objects/{param}}. - * @param decoded response type - * @param objectId objectId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|PUT|/ontology/objects/objects/{param}") - public @Nullable T putOntologyObjectsObjectsObjectId( - String objectId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/objects/objects/{param}}. - * @param decoded response type - * @param objectId objectId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putOntologyObjectsObjectsObjectId( - String objectId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|PUT|/ontology/reasoning/rules/{param}") - public @Nullable T putOntologyReasoningRulesRuleId( - String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}}. - * @param decoded response type - * @param ruleId ruleId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putOntologyReasoningRulesRuleId( - String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|PUT|/ontology/relationships/relationships/{param}") - public @Nullable T putOntologyRelationshipsRelationshipsRelationshipId( - String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}}. - * @param decoded response type - * @param relationshipId relationshipId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putOntologyRelationshipsRelationshipsRelationshipId( - String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, - List.of(relationshipId), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|PUT|/ontology/rollouts/rollouts/{param}") - public @Nullable T putOntologyRolloutsRolloutsRolloutId( - String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}}. - * @param decoded response type - * @param rolloutId rolloutId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putOntologyRolloutsRolloutsRolloutId( - String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("ontology|PUT|/ontology/rollups/rollups/{param}") - public @Nullable T putOntologyRollupsRollupsRollupId( - String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); - } - - /** - * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}}. - * @param decoded response type - * @param rollupId rollupId supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T putOntologyRollupsRollupsRollupId( - String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineCapabilitiesClient.java new file mode 100644 index 0000000..cdab54d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/engine/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEngineCapabilitiesClient extends ServiceClient { + OntologyEngineCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/engine/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineClient.java new file mode 100644 index 0000000..bd646dd --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/engine. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEngineClient extends ServiceClient { + OntologyEngineClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyEngineCapabilitiesClient capabilities() { + return new OntologyEngineCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the ontologies resource client + */ + public OntologyEngineOntologiesClient ontologies() { + return new OntologyEngineOntologiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyEngineRunsClient runs() { + return new OntologyEngineRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/engine/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesClient.java new file mode 100644 index 0000000..b6d871e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesClient.java @@ -0,0 +1,244 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/engine/ontologies. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEngineOntologiesClient extends ServiceClient { + OntologyEngineOntologiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the compare-versions resource client + */ + public OntologyEngineOntologiesCompareVersionsClient compareVersions() { + return new OntologyEngineOntologiesCompareVersionsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the infer-classes resource client + */ + public OntologyEngineOntologiesInferClassesClient inferClasses() { + return new OntologyEngineOntologiesInferClassesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the infer-properties resource client + */ + public OntologyEngineOntologiesInferPropertiesClient inferProperties() { + return new OntologyEngineOntologiesInferPropertiesClient(client()); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/export") + public @Nullable T export(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T export(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T export(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return export(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T export(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return export(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/export-shacl") + public @Nullable T createExportShacl(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createExportShacl(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createExportShacl(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createExportShacl(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createExportShacl(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createExportShacl(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/generate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/generate") + public @Nullable T generate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/generate} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T generate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/generate} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T generate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return generate(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/generate} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T generate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return generate(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/validate") + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/validate} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/validate} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/validate} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesCompareVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesCompareVersionsClient.java new file mode 100644 index 0000000..cd3b317 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesCompareVersionsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/engine/ontologies/compare-versions. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEngineOntologiesCompareVersionsClient extends ServiceClient { + OntologyEngineOntologiesCompareVersionsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/compare-versions") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferClassesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferClassesClient.java new file mode 100644 index 0000000..5cd1117 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferClassesClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/engine/ontologies/infer-classes. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEngineOntologiesInferClassesClient extends ServiceClient { + OntologyEngineOntologiesInferClassesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/infer-classes") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferPropertiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferPropertiesClient.java new file mode 100644 index 0000000..cc30680 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferPropertiesClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/engine/ontologies/infer-properties. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEngineOntologiesInferPropertiesClient extends ServiceClient { + OntologyEngineOntologiesInferPropertiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/ontologies/infer-properties") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineRunsClient.java new file mode 100644 index 0000000..d3e69ac --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/engine/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEngineRunsClient extends ServiceClient { + OntologyEngineRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/engine/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/engine/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/engine/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/engine/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/engine/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/engine/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/engine/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsCapabilitiesClient.java new file mode 100644 index 0000000..804f15b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/events/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEventsCapabilitiesClient extends ServiceClient { + OntologyEventsCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/events/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsClient.java new file mode 100644 index 0000000..75b165f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/events. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEventsClient extends ServiceClient { + OntologyEventsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyEventsCapabilitiesClient capabilities() { + return new OntologyEventsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the events resource client + */ + public OntologyEventsEventsClient events() { + return new OntologyEventsEventsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyEventsRunsClient runs() { + return new OntologyEventsRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/events/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsCheckpointsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsCheckpointsClient.java new file mode 100644 index 0000000..8e369e1 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsCheckpointsClient.java @@ -0,0 +1,119 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/events/events/checkpoints. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEventsEventsCheckpointsClient extends ServiceClient { + OntologyEventsEventsCheckpointsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}}. + * @param decoded response type + * @param consumer consumer supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/events/checkpoints/{param}") + public @Nullable T get(String consumer, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, List.of(consumer), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}} using a generic response type. + * @param decoded response type + * @param consumer consumer supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String consumer, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, List.of(consumer), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}} without query parameters. + * @param decoded response type + * @param consumer consumer supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String consumer, Class responseType) throws IOException, InterruptedException { + return get(consumer, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param consumer consumer supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String consumer, TypeReference responseType) throws IOException, InterruptedException { + return get(consumer, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/checkpoints}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/events/checkpoints") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/checkpoints} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/checkpoints} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/checkpoints} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsClient.java new file mode 100644 index 0000000..24eb2d4 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsClient.java @@ -0,0 +1,181 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/events/events. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEventsEventsClient extends ServiceClient { + OntologyEventsEventsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the checkpoints resource client + */ + public OntologyEventsEventsCheckpointsClient checkpoints() { + return new OntologyEventsEventsCheckpointsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the leases resource client + */ + public OntologyEventsEventsLeasesClient leases() { + return new OntologyEventsEventsLeasesClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/events/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/events") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/events/{param}}. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/events/{param}") + public @Nullable T get(String eventId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events/{param}} using a generic response type. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String eventId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events/{param}} without query parameters. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String eventId, Class responseType) throws IOException, InterruptedException { + return get(eventId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/events/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param eventId eventId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String eventId, TypeReference responseType) throws IOException, InterruptedException { + return get(eventId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/events") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsLeasesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsLeasesClient.java new file mode 100644 index 0000000..e15324b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsLeasesClient.java @@ -0,0 +1,119 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/events/events/leases. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEventsEventsLeasesClient extends ServiceClient { + OntologyEventsEventsLeasesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/events/leases/acknowledge") + public @Nullable T acknowledge(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T acknowledge(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T acknowledge(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return acknowledge(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T acknowledge(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return acknowledge(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acquire}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/events/leases/acquire") + public @Nullable T acquire(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acquire} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T acquire(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acquire} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T acquire(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return acquire(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/events/leases/acquire} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T acquire(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return acquire(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsRunsClient.java new file mode 100644 index 0000000..6cb813c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/events/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyEventsRunsClient extends ServiceClient { + OntologyEventsRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/events/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/events/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/events/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/events/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/events/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/events/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/events/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractCapabilitiesClient.java new file mode 100644 index 0000000..624e2ad --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractCapabilitiesClient extends ServiceClient { + OntologyExtractCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/extract/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractClient.java new file mode 100644 index 0000000..96c63b1 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractClient extends ServiceClient { + OntologyExtractClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyExtractCapabilitiesClient capabilities() { + return new OntologyExtractCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the extract resource client + */ + public OntologyExtractExtractClient extract() { + return new OntologyExtractExtractClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyExtractRunsClient runs() { + return new OntologyExtractRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/extract/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractClient.java new file mode 100644 index 0000000..09eeea4 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractClient.java @@ -0,0 +1,154 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract/extract. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractExtractClient extends ServiceClient { + OntologyExtractExtractClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the coreferences resource client + */ + public OntologyExtractExtractCoreferencesClient coreferences() { + return new OntologyExtractExtractCoreferencesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the entities resource client + */ + public OntologyExtractExtractEntitiesClient entities() { + return new OntologyExtractExtractEntitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the events resource client + */ + public OntologyExtractExtractEventsClient events() { + return new OntologyExtractExtractEventsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the relations resource client + */ + public OntologyExtractExtractRelationsClient relations() { + return new OntologyExtractExtractRelationsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the triplets resource client + */ + public OntologyExtractExtractTripletsClient triplets() { + return new OntologyExtractExtractTripletsClient(client()); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/analyze}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/analyze") + public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/analyze} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/analyze} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T analyze(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return analyze(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/analyze} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T analyze(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return analyze(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/architecture}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/architecture") + public @Nullable T createArchitecture(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/architecture} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createArchitecture(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/architecture} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createArchitecture(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createArchitecture(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/architecture} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createArchitecture(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createArchitecture(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractCoreferencesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractCoreferencesClient.java new file mode 100644 index 0000000..e95875a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractCoreferencesClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract/extract/coreferences. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractExtractCoreferencesClient extends ServiceClient { + OntologyExtractExtractCoreferencesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/coreferences}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/coreferences") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/coreferences} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/coreferences} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/coreferences} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEntitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEntitiesClient.java new file mode 100644 index 0000000..853fe92 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEntitiesClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract/extract/entities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractExtractEntitiesClient extends ServiceClient { + OntologyExtractExtractEntitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/entities}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/entities") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/entities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/entities} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/entities} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEventsClient.java new file mode 100644 index 0000000..13dbb90 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEventsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract/extract/events. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractExtractEventsClient extends ServiceClient { + OntologyExtractExtractEventsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/events}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/events") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/events} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/events} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/events} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractRelationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractRelationsClient.java new file mode 100644 index 0000000..fecfee8 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractRelationsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract/extract/relations. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractExtractRelationsClient extends ServiceClient { + OntologyExtractExtractRelationsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/relations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/relations") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/relations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/relations} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/relations} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractTripletsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractTripletsClient.java new file mode 100644 index 0000000..8a86963 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractTripletsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract/extract/triplets. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractExtractTripletsClient extends ServiceClient { + OntologyExtractExtractTripletsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/extract/extract/triplets}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/extract/triplets") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/triplets} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/triplets} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/extract/triplets} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractRunsClient.java new file mode 100644 index 0000000..f9c2cea --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/extract/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyExtractRunsClient extends ServiceClient { + OntologyExtractRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/extract/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/extract/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/extract/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/extract/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/extract/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/extract/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/extract/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphCapabilitiesClient.java new file mode 100644 index 0000000..3edd36a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/graph/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyGraphCapabilitiesClient extends ServiceClient { + OntologyGraphCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/graph/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphClient.java new file mode 100644 index 0000000..a72d6d4 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphClient.java @@ -0,0 +1,146 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/graph. Generated by scripts/generate_endpoints.py. */ +public final class OntologyGraphClient extends ServiceClient { + OntologyGraphClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyGraphCapabilitiesClient capabilities() { + return new OntologyGraphCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the entities resource client + */ + public OntologyGraphEntitiesClient entities() { + return new OntologyGraphEntitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the graph resource client + */ + public OntologyGraphGraphClient graph() { + return new OntologyGraphGraphClient(client()); + } + + /** Returns the client for the nested resource. + * @return the relationships resource client + */ + public OntologyGraphRelationshipsClient relationships() { + return new OntologyGraphRelationshipsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyGraphRunsClient runs() { + return new OntologyGraphRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/graph/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphEntitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphEntitiesClient.java new file mode 100644 index 0000000..b457853 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphEntitiesClient.java @@ -0,0 +1,175 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/graph/entities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyGraphEntitiesClient extends ServiceClient { + OntologyGraphEntitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/entities/{param}") + public @Nullable T get(String entityId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}} using a generic response type. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String entityId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}} without query parameters. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String entityId, Class responseType) throws IOException, InterruptedException { + return get(entityId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String entityId, TypeReference responseType) throws IOException, InterruptedException { + return get(entityId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/entities/{param}/provenance") + public @Nullable T getProvenance(String entityId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, List.of(entityId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance} using a generic response type. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getProvenance(String entityId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, List.of(entityId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance} without query parameters. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getProvenance(String entityId, Class responseType) throws IOException, InterruptedException { + return getProvenance(entityId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance} without query parameters using a generic response type. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getProvenance(String entityId, TypeReference responseType) throws IOException, InterruptedException { + return getProvenance(entityId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/graph/entities/{param}}. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/graph/entities/{param}") + public @Nullable T update(String entityId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/graph/entities/{param}} using a generic response type. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String entityId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/graph/entities/{param}} without query parameters. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String entityId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(entityId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/graph/entities/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param entityId entityId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String entityId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(entityId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphGraphClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphGraphClient.java new file mode 100644 index 0000000..e18786d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphGraphClient.java @@ -0,0 +1,327 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/graph/graph. Generated by scripts/generate_endpoints.py. */ +public final class OntologyGraphGraphClient extends ServiceClient { + OntologyGraphGraphClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/analyze}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/analyze") + public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/analyze} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/analyze} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T analyze(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return analyze(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/analyze} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T analyze(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return analyze(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/build}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/build") + public @Nullable T createBuild(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BUILD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/build} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBuild(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BUILD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/build} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBuild(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createBuild(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/build} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBuild(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createBuild(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/bulk-read}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/bulk-read") + public @Nullable T createBulkRead(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/bulk-read} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBulkRead(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/bulk-read} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBulkRead(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createBulkRead(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/bulk-read} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBulkRead(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createBulkRead(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/neighborhood}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/neighborhood") + public @Nullable T createNeighborhood(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/neighborhood} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createNeighborhood(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/neighborhood} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createNeighborhood(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createNeighborhood(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/neighborhood} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createNeighborhood(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createNeighborhood(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/path}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/path") + public @Nullable T createPath(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_PATH, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/path} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPath(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_PATH, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/path} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPath(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createPath(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/path} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createPath(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createPath(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/graph/query}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/graph/query") + public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_QUERY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/query} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_QUERY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/query} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return query(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/graph/query} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return query(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRelationshipsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRelationshipsClient.java new file mode 100644 index 0000000..f29d243 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRelationshipsClient.java @@ -0,0 +1,123 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/graph/relationships. Generated by scripts/generate_endpoints.py. */ +public final class OntologyGraphRelationshipsClient extends ServiceClient { + OntologyGraphRelationshipsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/graph/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/relationships/{param}") + public @Nullable T get(String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/relationships/{param}} using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String relationshipId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/relationships/{param}} without query parameters. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String relationshipId, Class responseType) throws IOException, InterruptedException { + return get(relationshipId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/relationships/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String relationshipId, TypeReference responseType) throws IOException, InterruptedException { + return get(relationshipId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/graph/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/graph/relationships/{param}") + public @Nullable T update(String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, List.of(relationshipId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/graph/relationships/{param}} using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, List.of(relationshipId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/graph/relationships/{param}} without query parameters. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String relationshipId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(relationshipId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/graph/relationships/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String relationshipId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(relationshipId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRunsClient.java new file mode 100644 index 0000000..6c148d2 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/graph/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyGraphRunsClient extends ServiceClient { + OntologyGraphRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/graph/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/graph/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/graph/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/graph/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/graph/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/graph/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/graph/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsCapabilitiesClient.java new file mode 100644 index 0000000..738eeff --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/objects/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyObjectsCapabilitiesClient extends ServiceClient { + OntologyObjectsCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/objects/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsClient.java new file mode 100644 index 0000000..b248d5a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsClient.java @@ -0,0 +1,139 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/objects. Generated by scripts/generate_endpoints.py. */ +public final class OntologyObjectsClient extends ServiceClient { + OntologyObjectsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyObjectsCapabilitiesClient capabilities() { + return new OntologyObjectsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the object-types resource client + */ + public OntologyObjectsObjectTypesClient objectTypes() { + return new OntologyObjectsObjectTypesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the objects resource client + */ + public OntologyObjectsObjectsClient objects() { + return new OntologyObjectsObjectsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyObjectsRunsClient runs() { + return new OntologyObjectsRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/objects/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectTypesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectTypesClient.java new file mode 100644 index 0000000..516d267 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectTypesClient.java @@ -0,0 +1,223 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/objects/object-types. Generated by scripts/generate_endpoints.py. */ +public final class OntologyObjectsObjectTypesClient extends ServiceClient { + OntologyObjectsObjectTypesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/objects/object-types/{param}") + public @Nullable T delete(String objectTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}} using a generic response type. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectTypeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}} without query parameters. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectTypeId, Class responseType) throws IOException, InterruptedException { + return delete(objectTypeId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectTypeId, TypeReference responseType) throws IOException, InterruptedException { + return delete(objectTypeId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/object-types}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/object-types") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/object-types} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/object-types} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/object-types} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/object-types/{param}") + public @Nullable T get(String objectTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/object-types/{param}} using a generic response type. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectTypeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/object-types/{param}} without query parameters. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectTypeId, Class responseType) throws IOException, InterruptedException { + return get(objectTypeId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/object-types/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectTypeId, TypeReference responseType) throws IOException, InterruptedException { + return get(objectTypeId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/objects/object-types/{param}}. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/objects/object-types/{param}") + public @Nullable T update(String objectTypeId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/objects/object-types/{param}} using a generic response type. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String objectTypeId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/objects/object-types/{param}} without query parameters. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String objectTypeId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(objectTypeId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/objects/object-types/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectTypeId objectTypeId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String objectTypeId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(objectTypeId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectsClient.java new file mode 100644 index 0000000..cce3e70 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectsClient.java @@ -0,0 +1,223 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/objects/objects. Generated by scripts/generate_endpoints.py. */ +public final class OntologyObjectsObjectsClient extends ServiceClient { + OntologyObjectsObjectsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/objects/objects/{param}") + public @Nullable T delete(String objectId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/objects/objects/{param}} using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/objects/objects/{param}} without query parameters. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectId, Class responseType) throws IOException, InterruptedException { + return delete(objectId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/objects/objects/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String objectId, TypeReference responseType) throws IOException, InterruptedException { + return delete(objectId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/objects}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/objects") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/objects} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/objects} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/objects} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/objects/{param}") + public @Nullable T get(String objectId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/objects/{param}} using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/objects/{param}} without query parameters. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectId, Class responseType) throws IOException, InterruptedException { + return get(objectId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/objects/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String objectId, TypeReference responseType) throws IOException, InterruptedException { + return get(objectId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/objects/objects/{param}}. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/objects/objects/{param}") + public @Nullable T update(String objectId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/objects/objects/{param}} using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String objectId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/objects/objects/{param}} without query parameters. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String objectId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(objectId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/objects/objects/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param objectId objectId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String objectId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(objectId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsRunsClient.java new file mode 100644 index 0000000..38ea56b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/objects/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyObjectsRunsClient extends ServiceClient { + OntologyObjectsRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/objects/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/objects/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/objects/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/objects/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/objects/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/objects/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_OBJECTS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/objects/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_OBJECTS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/objects/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/objects/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningCapabilitiesClient.java new file mode 100644 index 0000000..a6a0e18 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/reasoning/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyReasoningCapabilitiesClient extends ServiceClient { + OntologyReasoningCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningClient.java new file mode 100644 index 0000000..13ffa21 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningClient.java @@ -0,0 +1,198 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/reasoning. Generated by scripts/generate_endpoints.py. */ +public final class OntologyReasoningClient extends ServiceClient { + OntologyReasoningClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyReasoningCapabilitiesClient capabilities() { + return new OntologyReasoningCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the facts resource client + */ + public OntologyReasoningFactsClient facts() { + return new OntologyReasoningFactsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the reason resource client + */ + public OntologyReasoningReasonClient reason() { + return new OntologyReasoningReasonClient(client()); + } + + /** Returns the client for the nested resource. + * @return the rules resource client + */ + public OntologyReasoningRulesClient rules() { + return new OntologyReasoningRulesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyReasoningRunsClient runs() { + return new OntologyReasoningRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/explain}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/explain") + public @Nullable T createExplain(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_EXPLAIN, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/explain} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createExplain(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_EXPLAIN, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/explain} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createExplain(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createExplain(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/explain} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createExplain(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createExplain(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningFactsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningFactsClient.java new file mode 100644 index 0000000..4e37dc8 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningFactsClient.java @@ -0,0 +1,119 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/reasoning/facts. Generated by scripts/generate_endpoints.py. */ +public final class OntologyReasoningFactsClient extends ServiceClient { + OntologyReasoningFactsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/facts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/facts") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/facts} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/facts} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/facts} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/facts/load-graph") + public @Nullable T createLoadGraph(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createLoadGraph(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createLoadGraph(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createLoadGraph(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createLoadGraph(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createLoadGraph(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningReasonClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningReasonClient.java new file mode 100644 index 0000000..92a80ef --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningReasonClient.java @@ -0,0 +1,119 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/reasoning/reason. Generated by scripts/generate_endpoints.py. */ +public final class OntologyReasoningReasonClient extends ServiceClient { + OntologyReasoningReasonClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/backward}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/reason/backward") + public @Nullable T createBackward(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/backward} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBackward(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/backward} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBackward(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createBackward(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/backward} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createBackward(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createBackward(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/forward}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/reason/forward") + public @Nullable T createForward(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_FORWARD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/forward} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createForward(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_FORWARD, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/forward} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createForward(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createForward(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/reason/forward} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createForward(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createForward(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRulesClient.java new file mode 100644 index 0000000..6967609 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRulesClient.java @@ -0,0 +1,223 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/reasoning/rules. Generated by scripts/generate_endpoints.py. */ +public final class OntologyReasoningRulesClient extends ServiceClient { + OntologyReasoningRulesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/reasoning/rules/{param}") + public @Nullable T delete(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}} using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}} without query parameters. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, Class responseType) throws IOException, InterruptedException { + return delete(ruleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, TypeReference responseType) throws IOException, InterruptedException { + return delete(ruleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/rules") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RULES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/rules} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RULES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/rules} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/rules} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/rules") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RULES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/rules} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RULES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/rules} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/rules} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/reasoning/rules/{param}") + public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}} using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}} without query parameters. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String ruleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(ruleId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String ruleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(ruleId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRunsClient.java new file mode 100644 index 0000000..c16f29f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/reasoning/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyReasoningRunsClient extends ServiceClient { + OntologyReasoningRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/reasoning/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/reasoning/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/reasoning/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/reasoning/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/reasoning/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/reasoning/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsCapabilitiesClient.java new file mode 100644 index 0000000..16104b0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/relationships/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRelationshipsCapabilitiesClient extends ServiceClient { + OntologyRelationshipsCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsClient.java new file mode 100644 index 0000000..c452185 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsClient.java @@ -0,0 +1,139 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/relationships. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRelationshipsClient extends ServiceClient { + OntologyRelationshipsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyRelationshipsCapabilitiesClient capabilities() { + return new OntologyRelationshipsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the relationship-types resource client + */ + public OntologyRelationshipsRelationshipTypesClient relationshipTypes() { + return new OntologyRelationshipsRelationshipTypesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the relationships resource client + */ + public OntologyRelationshipsRelationshipsClient relationships() { + return new OntologyRelationshipsRelationshipsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyRelationshipsRunsClient runs() { + return new OntologyRelationshipsRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipTypesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipTypesClient.java new file mode 100644 index 0000000..6a9f0a9 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipTypesClient.java @@ -0,0 +1,115 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/relationships/relationship-types. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRelationshipsRelationshipTypesClient extends ServiceClient { + OntologyRelationshipsRelationshipTypesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}}. + * @param decoded response type + * @param relationshipTypeId relationshipTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/relationships/relationship-types/{param}") + public @Nullable T delete(String relationshipTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, List.of(relationshipTypeId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}} using a generic response type. + * @param decoded response type + * @param relationshipTypeId relationshipTypeId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String relationshipTypeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, List.of(relationshipTypeId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}} without query parameters. + * @param decoded response type + * @param relationshipTypeId relationshipTypeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String relationshipTypeId, Class responseType) throws IOException, InterruptedException { + return delete(relationshipTypeId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param relationshipTypeId relationshipTypeId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String relationshipTypeId, TypeReference responseType) throws IOException, InterruptedException { + return delete(relationshipTypeId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationship-types}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/relationship-types") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationship-types} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationship-types} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationship-types} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipsClient.java new file mode 100644 index 0000000..74a50ae --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipsClient.java @@ -0,0 +1,223 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/relationships/relationships. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRelationshipsRelationshipsClient extends ServiceClient { + OntologyRelationshipsRelationshipsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/relationships/relationships/{param}") + public @Nullable T delete(String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}} using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String relationshipId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}} without query parameters. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String relationshipId, Class responseType) throws IOException, InterruptedException { + return delete(relationshipId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String relationshipId, TypeReference responseType) throws IOException, InterruptedException { + return delete(relationshipId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationships}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/relationships") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationships} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationships} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationships} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/relationships/{param}") + public @Nullable T get(String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationships/{param}} using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String relationshipId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationships/{param}} without query parameters. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String relationshipId, Class responseType) throws IOException, InterruptedException { + return get(relationshipId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/relationships/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String relationshipId, TypeReference responseType) throws IOException, InterruptedException { + return get(relationshipId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}}. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/relationships/relationships/{param}") + public @Nullable T update(String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}} using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}} without query parameters. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String relationshipId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(relationshipId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param relationshipId relationshipId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String relationshipId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(relationshipId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRunsClient.java new file mode 100644 index 0000000..845ba30 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/relationships/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRelationshipsRunsClient extends ServiceClient { + OntologyRelationshipsRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/relationships/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/relationships/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/relationships/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/relationships/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/relationships/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/relationships/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/relationships/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/relationships/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsCapabilitiesClient.java new file mode 100644 index 0000000..7777b42 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollouts/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRolloutsCapabilitiesClient extends ServiceClient { + OntologyRolloutsCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsClient.java new file mode 100644 index 0000000..9661172 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollouts. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRolloutsClient extends ServiceClient { + OntologyRolloutsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyRolloutsCapabilitiesClient capabilities() { + return new OntologyRolloutsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the rollouts resource client + */ + public OntologyRolloutsRolloutsClient rollouts() { + return new OntologyRolloutsRolloutsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyRolloutsRunsClient runs() { + return new OntologyRolloutsRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRolloutsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRolloutsClient.java new file mode 100644 index 0000000..9c35102 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRolloutsClient.java @@ -0,0 +1,551 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollouts/rollouts. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRolloutsRolloutsClient extends ServiceClient { + OntologyRolloutsRolloutsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/rollouts/rollouts/{param}") + public @Nullable T delete(String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}} using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String rolloutId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}} without query parameters. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String rolloutId, Class responseType) throws IOException, InterruptedException { + return delete(rolloutId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String rolloutId, TypeReference responseType) throws IOException, InterruptedException { + return delete(rolloutId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/rollouts") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/rollouts/{param}") + public @Nullable T get(String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}} using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rolloutId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}} without query parameters. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rolloutId, Class responseType) throws IOException, InterruptedException { + return get(rolloutId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rolloutId, TypeReference responseType) throws IOException, InterruptedException { + return get(rolloutId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/rollouts/{param}/status") + public @Nullable T status(String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, List.of(rolloutId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status} using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T status(String rolloutId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, List.of(rolloutId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status} without query parameters. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T status(String rolloutId, Class responseType) throws IOException, InterruptedException { + return status(rolloutId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status} without query parameters using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T status(String rolloutId, TypeReference responseType) throws IOException, InterruptedException { + return status(rolloutId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/pause") + public @Nullable T pause(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause} using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause} without query parameters. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return pause(rolloutId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause} without query parameters using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return pause(rolloutId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/resume") + public @Nullable T resume(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume} using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume} without query parameters. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return resume(rolloutId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume} without query parameters using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return resume(rolloutId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/rollback") + public @Nullable T rollback(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback} using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rollback(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback} without query parameters. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rollback(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return rollback(rolloutId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback} without query parameters using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rollback(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return rollback(rolloutId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/start") + public @Nullable T createStart(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start} using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createStart(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start} without query parameters. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createStart(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createStart(rolloutId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start} without query parameters using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T createStart(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createStart(rolloutId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}}. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/rollouts/rollouts/{param}") + public @Nullable T update(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}} using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}} without query parameters. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(rolloutId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param rolloutId rolloutId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(rolloutId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRunsClient.java new file mode 100644 index 0000000..993ff35 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollouts/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRolloutsRunsClient extends ServiceClient { + OntologyRolloutsRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollouts/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollouts/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollouts/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollouts/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollouts/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollouts/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsCapabilitiesClient.java new file mode 100644 index 0000000..994d9b0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollups/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRollupsCapabilitiesClient extends ServiceClient { + OntologyRollupsCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsClient.java new file mode 100644 index 0000000..5e17a94 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsClient.java @@ -0,0 +1,139 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollups. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRollupsClient extends ServiceClient { + OntologyRollupsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyRollupsCapabilitiesClient capabilities() { + return new OntologyRollupsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the rollup-results resource client + */ + public OntologyRollupsRollupResultsClient rollupResults() { + return new OntologyRollupsRollupResultsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the rollups resource client + */ + public OntologyRollupsRollupsClient rollups() { + return new OntologyRollupsRollupsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyRollupsRunsClient runs() { + return new OntologyRollupsRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupResultsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupResultsClient.java new file mode 100644 index 0000000..b707603 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupResultsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollups/rollup-results. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRollupsRollupResultsClient extends ServiceClient { + OntologyRollupsRollupResultsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}}. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/rollup-results/{param}") + public @Nullable T get(String executionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, List.of(executionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}} using a generic response type. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String executionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, List.of(executionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}} without query parameters. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String executionId, Class responseType) throws IOException, InterruptedException { + return get(executionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String executionId, TypeReference responseType) throws IOException, InterruptedException { + return get(executionId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupsClient.java new file mode 100644 index 0000000..75a8b7a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupsClient.java @@ -0,0 +1,439 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollups/rollups. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRollupsRollupsClient extends ServiceClient { + OntologyRollupsRollupsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/rollups/rollups/{param}") + public @Nullable T delete(String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}} using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String rollupId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}} without query parameters. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String rollupId, Class responseType) throws IOException, InterruptedException { + return delete(rollupId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String rollupId, TypeReference responseType) throws IOException, InterruptedException { + return delete(rollupId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/rollups") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/rollups/{param}") + public @Nullable T get(String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}} using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rollupId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}} without query parameters. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rollupId, Class responseType) throws IOException, InterruptedException { + return get(rollupId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String rollupId, TypeReference responseType) throws IOException, InterruptedException { + return get(rollupId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/rollups/{param}/result") + public @Nullable T getResult(String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, List.of(rollupId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result} using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getResult(String rollupId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, List.of(rollupId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result} without query parameters. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getResult(String rollupId, Class responseType) throws IOException, InterruptedException { + return getResult(rollupId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result} without query parameters using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getResult(String rollupId, TypeReference responseType) throws IOException, InterruptedException { + return getResult(rollupId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollups/rollups") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollups/rollups/{param}/execute") + public @Nullable T execute(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, List.of(rollupId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute} using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T execute(String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, List.of(rollupId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute} without query parameters. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T execute(String rollupId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return execute(rollupId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute} without query parameters using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T execute(String rollupId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return execute(rollupId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollups/rollups/{param}/preview") + public @Nullable T preview(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, List.of(rollupId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview} using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T preview(String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, List.of(rollupId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview} without query parameters. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T preview(String rollupId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return preview(rollupId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview} without query parameters using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T preview(String rollupId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return preview(rollupId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}}. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|PUT|/ontology/rollups/rollups/{param}") + public @Nullable T update(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}} using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}} without query parameters. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String rollupId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(rollupId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param rollupId rollupId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String rollupId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(rollupId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRunsClient.java new file mode 100644 index 0000000..9b5e381 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/rollups/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyRollupsRunsClient extends ServiceClient { + OntologyRollupsRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/rollups/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/rollups/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/rollups/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/rollups/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/rollups/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/rollups/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasCapabilitiesClient.java new file mode 100644 index 0000000..a695e8b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/schemas/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologySchemasCapabilitiesClient extends ServiceClient { + OntologySchemasCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasClient.java new file mode 100644 index 0000000..ea969dc --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/schemas. Generated by scripts/generate_endpoints.py. */ +public final class OntologySchemasClient extends ServiceClient { + OntologySchemasClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologySchemasCapabilitiesClient capabilities() { + return new OntologySchemasCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologySchemasRunsClient runs() { + return new OntologySchemasRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the schemas resource client + */ + public OntologySchemasSchemasClient schemas() { + return new OntologySchemasSchemasClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasRunsClient.java new file mode 100644 index 0000000..b852a0c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/schemas/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologySchemasRunsClient extends ServiceClient { + OntologySchemasRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/schemas/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasSchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasSchemasClient.java new file mode 100644 index 0000000..75c0ad4 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasSchemasClient.java @@ -0,0 +1,271 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/schemas/schemas. Generated by scripts/generate_endpoints.py. */ +public final class OntologySchemasSchemasClient extends ServiceClient { + OntologySchemasSchemasClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/schemas/schemas/{param}") + public @Nullable T delete(String schemaId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}} using a generic response type. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String schemaId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}} without query parameters. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String schemaId, Class responseType) throws IOException, InterruptedException { + return delete(schemaId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String schemaId, TypeReference responseType) throws IOException, InterruptedException { + return delete(schemaId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/schemas") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/schemas} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/schemas} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/schemas} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/schemas/schemas/{param}}. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/schemas/schemas/{param}") + public @Nullable T get(String schemaId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/schemas/{param}} using a generic response type. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/schemas/{param}} without query parameters. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaId, Class responseType) throws IOException, InterruptedException { + return get(schemaId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/schemas/schemas/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param schemaId schemaId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String schemaId, TypeReference responseType) throws IOException, InterruptedException { + return get(schemaId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/schemas}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/schemas/schemas") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/schemas} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/schemas} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/schemas} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/schemas/schemas/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/schemas/schemas/validate") + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/schemas/validate} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/schemas/validate} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/schemas/schemas/validate} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsCapabilitiesClient.java new file mode 100644 index 0000000..dc4cf29 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/transformations/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyTransformationsCapabilitiesClient extends ServiceClient { + OntologyTransformationsCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsClient.java new file mode 100644 index 0000000..6596f40 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsClient.java @@ -0,0 +1,132 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/transformations. Generated by scripts/generate_endpoints.py. */ +public final class OntologyTransformationsClient extends ServiceClient { + OntologyTransformationsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyTransformationsCapabilitiesClient capabilities() { + return new OntologyTransformationsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyTransformationsRunsClient runs() { + return new OntologyTransformationsRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the transformations resource client + */ + public OntologyTransformationsTransformationsClient transformations() { + return new OntologyTransformationsTransformationsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsRunsClient.java new file mode 100644 index 0000000..e979a4b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/transformations/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyTransformationsRunsClient extends ServiceClient { + OntologyTransformationsRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/transformations/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/transformations/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/transformations/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/transformations/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/transformations/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/transformations/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/transformations/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/transformations/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsTransformationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsTransformationsClient.java new file mode 100644 index 0000000..dbb4136 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsTransformationsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/transformations/transformations. Generated by scripts/generate_endpoints.py. */ +public final class OntologyTransformationsTransformationsClient extends ServiceClient { + OntologyTransformationsTransformationsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/transformations/transformations}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/transformations/transformations") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/transformations/transformations} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/transformations/transformations} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/transformations/transformations} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationCapabilitiesClient.java new file mode 100644 index 0000000..eaea536 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/validation/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyValidationCapabilitiesClient extends ServiceClient { + OntologyValidationCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/validation/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationClient.java new file mode 100644 index 0000000..2541629 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationClient.java @@ -0,0 +1,139 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/validation. Generated by scripts/generate_endpoints.py. */ +public final class OntologyValidationClient extends ServiceClient { + OntologyValidationClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyValidationCapabilitiesClient capabilities() { + return new OntologyValidationCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the payloads resource client + */ + public OntologyValidationPayloadsClient payloads() { + return new OntologyValidationPayloadsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the rules resource client + */ + public OntologyValidationRulesClient rules() { + return new OntologyValidationRulesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyValidationRunsClient runs() { + return new OntologyValidationRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/validation/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationPayloadsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationPayloadsClient.java new file mode 100644 index 0000000..f951595 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationPayloadsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/validation/payloads. Generated by scripts/generate_endpoints.py. */ +public final class OntologyValidationPayloadsClient extends ServiceClient { + OntologyValidationPayloadsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/validation/payloads/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/validation/payloads/validate") + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/payloads/validate} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/payloads/validate} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/payloads/validate} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRulesClient.java new file mode 100644 index 0000000..fce465d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRulesClient.java @@ -0,0 +1,219 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/validation/rules. Generated by scripts/generate_endpoints.py. */ +public final class OntologyValidationRulesClient extends ServiceClient { + OntologyValidationRulesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/validation/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/validation/rules/{param}") + public @Nullable T delete(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/validation/rules/{param}} using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/validation/rules/{param}} without query parameters. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, Class responseType) throws IOException, InterruptedException { + return delete(ruleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/validation/rules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String ruleId, TypeReference responseType) throws IOException, InterruptedException { + return delete(ruleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/rules") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/rules} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/rules} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/rules} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/rules/{param}}. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/rules/{param}") + public @Nullable T get(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/rules/{param}} using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/rules/{param}} without query parameters. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String ruleId, Class responseType) throws IOException, InterruptedException { + return get(ruleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/rules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param ruleId ruleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String ruleId, TypeReference responseType) throws IOException, InterruptedException { + return get(ruleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/validation/rules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/validation/rules") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RULES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/rules} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RULES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/rules} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/rules} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRunsClient.java new file mode 100644 index 0000000..577d13c --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/validation/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyValidationRunsClient extends ServiceClient { + OntologyValidationRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/validation/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/validation/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/validation/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/validation/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/validation/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/validation/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/validation/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsAuditClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsAuditClient.java new file mode 100644 index 0000000..dd3d007 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsAuditClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/versions/audit. Generated by scripts/generate_endpoints.py. */ +public final class OntologyVersionsAuditClient extends ServiceClient { + OntologyVersionsAuditClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code POST /ontology/versions/audit/verify}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/audit/verify") + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/audit/verify} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/audit/verify} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return verify(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/audit/verify} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return verify(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsCapabilitiesClient.java new file mode 100644 index 0000000..a4d2a01 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/versions/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class OntologyVersionsCapabilitiesClient extends ServiceClient { + OntologyVersionsCapabilitiesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/versions/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsClient.java new file mode 100644 index 0000000..6c7148b --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsClient.java @@ -0,0 +1,146 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/versions. Generated by scripts/generate_endpoints.py. */ +public final class OntologyVersionsClient extends ServiceClient { + OntologyVersionsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** Returns the client for the nested resource. + * @return the audit resource client + */ + public OntologyVersionsAuditClient audit() { + return new OntologyVersionsAuditClient(client()); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public OntologyVersionsCapabilitiesClient capabilities() { + return new OntologyVersionsCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the release-bundles resource client + */ + public OntologyVersionsReleaseBundlesClient releaseBundles() { + return new OntologyVersionsReleaseBundlesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public OntologyVersionsRunsClient runs() { + return new OntologyVersionsRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the versions resource client + */ + public OntologyVersionsVersionsClient versions() { + return new OntologyVersionsVersionsClient(client()); + } + + /** + * Calls the contract route {@code GET /ontology/versions/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsReleaseBundlesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsReleaseBundlesClient.java new file mode 100644 index 0000000..d649aa3 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsReleaseBundlesClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/versions/release-bundles. Generated by scripts/generate_endpoints.py. */ +public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { + OntologyVersionsReleaseBundlesClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/release-bundles") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}}. + * @param decoded response type + * @param bundleId bundleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/release-bundles/{param}") + public @Nullable T get(String bundleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, List.of(bundleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}} using a generic response type. + * @param decoded response type + * @param bundleId bundleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String bundleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, List.of(bundleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}} without query parameters. + * @param decoded response type + * @param bundleId bundleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String bundleId, Class responseType) throws IOException, InterruptedException { + return get(bundleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param bundleId bundleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String bundleId, TypeReference responseType) throws IOException, InterruptedException { + return get(bundleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/release-bundles}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/release-bundles") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/release-bundles} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/release-bundles} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/release-bundles} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsRunsClient.java new file mode 100644 index 0000000..91d3401 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsRunsClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/versions/runs. Generated by scripts/generate_endpoints.py. */ +public final class OntologyVersionsRunsClient extends ServiceClient { + OntologyVersionsRunsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code GET /ontology/versions/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/runs/{param}}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/runs/{param}") + public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/runs/{param}} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/runs/{param}} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, Class responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { + return get(runId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsVersionsClient.java new file mode 100644 index 0000000..416df7a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsVersionsClient.java @@ -0,0 +1,223 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for ontology/versions/versions. Generated by scripts/generate_endpoints.py. */ +public final class OntologyVersionsVersionsClient extends ServiceClient { + OntologyVersionsVersionsClient(ApiClient client) { + super(ApiService.ONTOLOGY, client); + } + + /** + * Calls the contract route {@code DELETE /ontology/versions/versions/{param}}. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|DELETE|/ontology/versions/versions/{param}") + public @Nullable T delete(String versionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/versions/versions/{param}} using a generic response type. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String versionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/versions/versions/{param}} without query parameters. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String versionId, Class responseType) throws IOException, InterruptedException { + return delete(versionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /ontology/versions/versions/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String versionId, TypeReference responseType) throws IOException, InterruptedException { + return delete(versionId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /ontology/versions/versions/{param}}. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|GET|/ontology/versions/versions/{param}") + public @Nullable T get(String versionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/versions/{param}} using a generic response type. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String versionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/versions/{param}} without query parameters. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String versionId, Class responseType) throws IOException, InterruptedException { + return get(versionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /ontology/versions/versions/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param versionId versionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String versionId, TypeReference responseType) throws IOException, InterruptedException { + return get(versionId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/versions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/versions") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/versions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/versions} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/versions} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /ontology/versions/versions/compare}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("ontology|POST|/ontology/versions/versions/compare") + public @Nullable T compare(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/versions/compare} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T compare(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/versions/compare} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T compare(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return compare(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /ontology/versions/versions/compare} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T compare(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return compare(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java index 6888fe0..87a3c20 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java @@ -4,351 +4,19 @@ import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; -import java.util.concurrent.Flow; import org.jspecify.annotations.Nullable; -/** Named contract operations for the pipelines service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for pipelines. Generated by scripts/generate_endpoints.py. */ public final class PipelinesClient extends ServiceClient { PipelinesClient(ApiClient client) { super(ApiService.PIPELINES, client); } - /** - * Calls the contract route {@code GET /data/pipelines/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the data resource client */ - @SdkOperation("pipelines|GET|/data/pipelines/capabilities") - public @Nullable T getDataPipelinesCapabilities(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + public PipelinesDataClient data() { + return new PipelinesDataClient(client()); } - /** - * Calls the contract route {@code GET /data/pipelines/capabilities}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesCapabilities(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|GET|/data/pipelines/health") - public @Nullable T getDataPipelinesHealth(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/health}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesHealth(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|GET|/data/pipelines/info") - public @Nullable T getDataPipelinesInfo(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/info}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesInfo(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|GET|/data/pipelines/pipeline-runs") - public @Nullable T getDataPipelinesPipelineRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesPipelineRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|GET|/data/pipelines/pipeline-runs/{param}") - public @Nullable T getDataPipelinesPipelineRunsParam( - String pathParam1, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request( - Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesPipelineRunsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, - List.of(pathParam1), - query, - null, - responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipelines}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|GET|/data/pipelines/pipelines") - public @Nullable T getDataPipelinesPipelines(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipelines}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesPipelines(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|GET|/data/pipelines/pipelines/{param}") - public @Nullable T getDataPipelinesPipelinesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesPipelinesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|GET|/data/pipelines/runs") - public @Nullable T getDataPipelinesRuns(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /data/pipelines/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getDataPipelinesRuns(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code POST /data/pipelines/pipelines}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|POST|/data/pipelines/pipelines") - public @Nullable T postDataPipelinesPipelines(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/pipelines/pipelines}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataPipelinesPipelines( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/pipelines/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("pipelines|POST|/data/pipelines/runs") - public @Nullable T postDataPipelinesRuns(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /data/pipelines/runs}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postDataPipelinesRuns( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Pipelines.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); - } - - /** - * Opens the event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}}. - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @return a publisher that emits event data - */ - @SdkOperation("pipelines|STREAM|/data/pipelines/pipeline-runs/{param}") - public Flow.Publisher streamDataPipelinesPipelineRunsParam(String pathParam1, QueryParams query) { - return streamPublisher( - Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pathParam1), query); - } - - /** - * Opens a blocking event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}}. - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @return an iterator that must be closed - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public SseEventIterator streamDataPipelinesPipelineRunsParamBlocking(String pathParam1, QueryParams query) - throws IOException, InterruptedException { - return streamEvents(Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pathParam1), query); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataClient.java new file mode 100644 index 0000000..852cf86 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for pipelines/data. Generated by scripts/generate_endpoints.py. */ +public final class PipelinesDataClient extends ServiceClient { + PipelinesDataClient(ApiClient client) { + super(ApiService.PIPELINES, client); + } + + /** Returns the client for the nested resource. + * @return the pipelines resource client + */ + public PipelinesDataPipelinesClient pipelines() { + return new PipelinesDataPipelinesClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesCapabilitiesClient.java new file mode 100644 index 0000000..0ec9abe --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesCapabilitiesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for pipelines/data/pipelines/capabilities. Generated by scripts/generate_endpoints.py. */ +public final class PipelinesDataPipelinesCapabilitiesClient extends ServiceClient { + PipelinesDataPipelinesCapabilitiesClient(ApiClient client) { + super(ApiService.PIPELINES, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/capabilities}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/capabilities") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/capabilities} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/capabilities} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/capabilities} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesClient.java new file mode 100644 index 0000000..b55e60e --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesClient.java @@ -0,0 +1,139 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for pipelines/data/pipelines. Generated by scripts/generate_endpoints.py. */ +public final class PipelinesDataPipelinesClient extends ServiceClient { + PipelinesDataPipelinesClient(ApiClient client) { + super(ApiService.PIPELINES, client); + } + + /** Returns the client for the nested resource. + * @return the capabilities resource client + */ + public PipelinesDataPipelinesCapabilitiesClient capabilities() { + return new PipelinesDataPipelinesCapabilitiesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the pipeline-runs resource client + */ + public PipelinesDataPipelinesPipelineRunsClient pipelineRuns() { + return new PipelinesDataPipelinesPipelineRunsClient(client()); + } + + /** Returns the client for the nested resource. + * @return the pipelines resource client + */ + public PipelinesDataPipelinesPipelinesClient pipelines() { + return new PipelinesDataPipelinesPipelinesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the runs resource client + */ + public PipelinesDataPipelinesRunsClient runs() { + return new PipelinesDataPipelinesRunsClient(client()); + } + + /** + * Calls the contract route {@code GET /data/pipelines/health}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/health") + public @Nullable T health(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/health} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/health} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(Class responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/health} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { + return health(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/info}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/info") + public @Nullable T getInfo(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/info} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/info} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(Class responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/info} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { + return getInfo(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelineRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelineRunsClient.java new file mode 100644 index 0000000..d87e248 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelineRunsClient.java @@ -0,0 +1,156 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; +import java.util.concurrent.Flow; + +/** Contract operations for pipelines/data/pipelines/pipeline-runs. Generated by scripts/generate_endpoints.py. */ +public final class PipelinesDataPipelinesPipelineRunsClient extends ServiceClient { + PipelinesDataPipelinesPipelineRunsClient(ApiClient client) { + super(ApiService.PIPELINES, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/pipeline-runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}}. + * @param decoded response type + * @param pipelineRunId pipelineRunId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/pipeline-runs/{param}") + public @Nullable T get(String pipelineRunId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} using a generic response type. + * @param decoded response type + * @param pipelineRunId pipelineRunId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String pipelineRunId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} without query parameters. + * @param decoded response type + * @param pipelineRunId pipelineRunId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String pipelineRunId, Class responseType) throws IOException, InterruptedException { + return get(pipelineRunId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param pipelineRunId pipelineRunId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String pipelineRunId, TypeReference responseType) throws IOException, InterruptedException { + return get(pipelineRunId, QueryParams.empty(), responseType); + } + + /** + * Opens the event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}}. + * @param pipelineRunId pipelineRunId supplied to the operation + * @param query query supplied to the operation + * @return a publisher that emits event data + */ + @SdkOperation("pipelines|STREAM|/data/pipelines/pipeline-runs/{param}") + public Flow.Publisher get2(String pipelineRunId, QueryParams query) { + return streamPublisher(Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query); + } + /** + * Opens a blocking event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}}. + * @param pipelineRunId pipelineRunId supplied to the operation + * @param query query supplied to the operation + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator get2Blocking(String pipelineRunId, QueryParams query) throws IOException, InterruptedException { + return streamEvents(Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query); + } + /** + * Opens the event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}} with no query parameters. + * @param pipelineRunId pipelineRunId supplied to the operation + * @return a publisher that emits event data + */ + public Flow.Publisher get2(String pipelineRunId) { + return get2(pipelineRunId, QueryParams.empty()); + } + /** + * Opens a blocking event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}} with no query parameters. + * @param pipelineRunId pipelineRunId supplied to the operation + * @return an iterator that must be closed + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public SseEventIterator get2Blocking(String pipelineRunId) throws IOException, InterruptedException { + return get2Blocking(pipelineRunId, QueryParams.empty()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelinesClient.java new file mode 100644 index 0000000..a8905af --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelinesClient.java @@ -0,0 +1,167 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for pipelines/data/pipelines/pipelines. Generated by scripts/generate_endpoints.py. */ +public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { + PipelinesDataPipelinesPipelinesClient(ApiClient client) { + super(ApiService.PIPELINES, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/pipelines") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}}. + * @param decoded response type + * @param pipelineId pipelineId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/pipelines/{param}") + public @Nullable T get(String pipelineId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pipelineId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} using a generic response type. + * @param decoded response type + * @param pipelineId pipelineId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String pipelineId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pipelineId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} without query parameters. + * @param decoded response type + * @param pipelineId pipelineId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String pipelineId, Class responseType) throws IOException, InterruptedException { + return get(pipelineId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param pipelineId pipelineId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String pipelineId, TypeReference responseType) throws IOException, InterruptedException { + return get(pipelineId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/pipelines}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|POST|/data/pipelines/pipelines") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/pipelines} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/pipelines} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/pipelines} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesRunsClient.java new file mode 100644 index 0000000..51ffc17 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesRunsClient.java @@ -0,0 +1,115 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for pipelines/data/pipelines/runs. Generated by scripts/generate_endpoints.py. */ +public final class PipelinesDataPipelinesRunsClient extends ServiceClient { + PipelinesDataPipelinesRunsClient(ApiClient client) { + super(ApiService.PIPELINES, client); + } + + /** + * Calls the contract route {@code GET /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|GET|/data/pipelines/runs") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /data/pipelines/runs} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /data/pipelines/runs}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("pipelines|POST|/data/pipelines/runs") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/runs} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Pipelines.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/runs} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /data/pipelines/runs} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java b/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java index 6139958..ed81026 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java @@ -1,11 +1,12 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the providers service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for providers. Generated by scripts/generate_endpoints.py. */ public final class ProvidersClient extends ServiceClient { ProvidersClient(ApiClient client) { super(ApiService.PROVIDERS, client); @@ -22,13 +23,11 @@ public final class ProvidersClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("providers|GET|/providers/{param}") - public @Nullable T getProvidersProviderSlug(String providerSlug, QueryParams query, Class responseType) - throws IOException, InterruptedException { + public @Nullable T get(String providerSlug, QueryParams query, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Providers.GET_PROVIDERS_PARAM, List.of(providerSlug), query, null, responseType); } - /** - * Calls the contract route {@code GET /providers/{param}}. + * Calls the contract route {@code GET /providers/{param}} using a generic response type. * @param decoded response type * @param providerSlug providerSlug supplied to the operation * @param query query supplied to the operation @@ -37,9 +36,32 @@ public final class ProvidersClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getProvidersProviderSlug( - String providerSlug, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T get(String providerSlug, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Providers.GET_PROVIDERS_PARAM, List.of(providerSlug), query, null, responseType); } + /** + * Calls the contract route {@code GET /providers/{param}} without query parameters. + * @param decoded response type + * @param providerSlug providerSlug supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String providerSlug, Class responseType) throws IOException, InterruptedException { + return get(providerSlug, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /providers/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param providerSlug providerSlug supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String providerSlug, TypeReference responseType) throws IOException, InterruptedException { + return get(providerSlug, QueryParams.empty(), responseType); + } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java b/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java index 9042a8f..22af9c1 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java @@ -1,8 +1,15 @@ package dev.frontal.sdk; -/** Named contract operations for the react service. Generated by scripts/generate_endpoints.py. */ +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for react. Generated by scripts/generate_endpoints.py. */ public final class ReactClient extends ServiceClient { ReactClient(ApiClient client) { super(ApiService.REACT, client); } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java b/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java index 95a2480..57f3764 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java @@ -6,71 +6,69 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the sandbox service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for sandbox. Generated by scripts/generate_endpoints.py. */ public final class SandboxClient extends ServiceClient { SandboxClient(ApiClient client) { super(ApiService.SANDBOX, client); } + /** Returns the client for the nested resource. + * @return the languages resource client + */ + public SandboxLanguagesClient languages() { + return new SandboxLanguagesClient(client()); + } + /** - * Calls the contract route {@code GET /sandbox/languages}. + * Calls the contract route {@code POST /sandbox/self-test}. * @param decoded response type * @param query query supplied to the operation + * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("sandbox|GET|/sandbox/languages") - public @Nullable T getSandboxLanguages(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Sandbox.GET_SANDBOX_LANGUAGES, List.of(), query, null, responseType); + @SdkOperation("sandbox|POST|/sandbox/self-test") + public @Nullable T createSelfTest(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Sandbox.POST_SANDBOX_SELF_TEST, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code GET /sandbox/languages}. + * Calls the contract route {@code POST /sandbox/self-test} using a generic response type. * @param decoded response type * @param query query supplied to the operation + * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getSandboxLanguages(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Sandbox.GET_SANDBOX_LANGUAGES, List.of(), query, null, responseType); + public @Nullable T createSelfTest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Sandbox.POST_SANDBOX_SELF_TEST, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /sandbox/self-test}. + * Calls the contract route {@code POST /sandbox/self-test} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("sandbox|POST|/sandbox/self-test") - public @Nullable T postSandboxSelfTest(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Sandbox.POST_SANDBOX_SELF_TEST, List.of(), query, body, responseType); + public @Nullable T createSelfTest(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return createSelfTest(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /sandbox/self-test}. + * Calls the contract route {@code POST /sandbox/self-test} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postSandboxSelfTest( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Sandbox.POST_SANDBOX_SELF_TEST, List.of(), query, body, responseType); + public @Nullable T createSelfTest(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return createSelfTest(QueryParams.empty(), body, responseType); } /** @@ -84,13 +82,11 @@ public final class SandboxClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("sandbox|POST|/sandbox/submit") - public @Nullable T postSandboxSubmit(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T submit(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Sandbox.POST_SANDBOX_SUBMIT, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /sandbox/submit}. + * Calls the contract route {@code POST /sandbox/submit} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -99,8 +95,32 @@ public final class SandboxClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postSandboxSubmit(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T submit(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Sandbox.POST_SANDBOX_SUBMIT, List.of(), query, body, responseType); } + /** + * Calls the contract route {@code POST /sandbox/submit} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T submit(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return submit(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /sandbox/submit} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T submit(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return submit(QueryParams.empty(), body, responseType); + } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SandboxLanguagesClient.java b/services/src/main/java/dev/frontal/sdk/resources/SandboxLanguagesClient.java new file mode 100644 index 0000000..a5cdb6d --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/SandboxLanguagesClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for sandbox/languages. Generated by scripts/generate_endpoints.py. */ +public final class SandboxLanguagesClient extends ServiceClient { + SandboxLanguagesClient(ApiClient client) { + super(ApiService.SANDBOX, client); + } + + /** + * Calls the contract route {@code GET /sandbox/languages}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("sandbox|GET|/sandbox/languages") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Sandbox.GET_SANDBOX_LANGUAGES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /sandbox/languages} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Sandbox.GET_SANDBOX_LANGUAGES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /sandbox/languages} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /sandbox/languages} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java index bce004c..afd06eb 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java @@ -6,374 +6,17 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the schedules service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for schedules. Generated by scripts/generate_endpoints.py. */ public final class SchedulesClient extends ServiceClient { SchedulesClient(ApiClient client) { super(ApiService.SCHEDULES, client); } - /** - * Calls the contract route {@code DELETE /workflows/schedules/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the workflows resource client */ - @SdkOperation("schedules|DELETE|/workflows/schedules/{param}") - public @Nullable T deleteWorkflowsSchedulesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, null, responseType); + public SchedulesWorkflowsClient workflows() { + return new SchedulesWorkflowsClient(client()); } - /** - * Calls the contract route {@code DELETE /workflows/schedules/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T deleteWorkflowsSchedulesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /workflows/schedules}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|GET|/workflows/schedules") - public @Nullable T getWorkflowsSchedules(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /workflows/schedules}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getWorkflowsSchedules(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES, List.of(), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /workflows/schedules/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|GET|/workflows/schedules/{param}") - public @Nullable T getWorkflowsSchedulesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code GET /workflows/schedules/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T getWorkflowsSchedulesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, null, responseType); - } - - /** - * Calls the contract route {@code PATCH /workflows/schedules/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|PATCH|/workflows/schedules/{param}") - public @Nullable T patchWorkflowsSchedulesParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code PATCH /workflows/schedules/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T patchWorkflowsSchedulesParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/cron/parse}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|POST|/workflows/cron/parse") - public @Nullable T postWorkflowsCronParse(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_PARSE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/cron/parse}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postWorkflowsCronParse( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_PARSE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/cron/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|POST|/workflows/cron/validate") - public @Nullable T postWorkflowsCronValidate(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/cron/validate}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postWorkflowsCronValidate( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_VALIDATE, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/schedules}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|POST|/workflows/schedules") - public @Nullable T postWorkflowsSchedules(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/schedules}. - * @param decoded response type - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postWorkflowsSchedules( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES, List.of(), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/schedules/{param}/pause}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|POST|/workflows/schedules/{param}/pause") - public @Nullable T postWorkflowsSchedulesParamPause( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /workflows/schedules/{param}/pause}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postWorkflowsSchedulesParamPause( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /workflows/schedules/{param}/resume}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|POST|/workflows/schedules/{param}/resume") - public @Nullable T postWorkflowsSchedulesParamResume( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /workflows/schedules/{param}/resume}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postWorkflowsSchedulesParamResume( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /workflows/schedules/{param}/trigger}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("schedules|POST|/workflows/schedules/{param}/trigger") - public @Nullable T postWorkflowsSchedulesParamTrigger( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, - List.of(pathParam1), - query, - body, - responseType); - } - - /** - * Calls the contract route {@code POST /workflows/schedules/{param}/trigger}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postWorkflowsSchedulesParamTrigger( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, - List.of(pathParam1), - query, - body, - responseType); - } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsClient.java new file mode 100644 index 0000000..f684e52 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsClient.java @@ -0,0 +1,29 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for schedules/workflows. Generated by scripts/generate_endpoints.py. */ +public final class SchedulesWorkflowsClient extends ServiceClient { + SchedulesWorkflowsClient(ApiClient client) { + super(ApiService.SCHEDULES, client); + } + + /** Returns the client for the nested resource. + * @return the cron resource client + */ + public SchedulesWorkflowsCronClient cron() { + return new SchedulesWorkflowsCronClient(client()); + } + + /** Returns the client for the nested resource. + * @return the schedules resource client + */ + public SchedulesWorkflowsSchedulesClient schedules() { + return new SchedulesWorkflowsSchedulesClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsCronClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsCronClient.java new file mode 100644 index 0000000..6903765 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsCronClient.java @@ -0,0 +1,119 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for schedules/workflows/cron. Generated by scripts/generate_endpoints.py. */ +public final class SchedulesWorkflowsCronClient extends ServiceClient { + SchedulesWorkflowsCronClient(ApiClient client) { + super(ApiService.SCHEDULES, client); + } + + /** + * Calls the contract route {@code POST /workflows/cron/parse}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/cron/parse") + public @Nullable T parse(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_PARSE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/cron/parse} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T parse(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_PARSE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/cron/parse} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T parse(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return parse(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/cron/parse} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T parse(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return parse(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/cron/validate}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/cron/validate") + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/cron/validate} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_VALIDATE, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/cron/validate} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/cron/validate} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return validate(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsSchedulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsSchedulesClient.java new file mode 100644 index 0000000..1b26c77 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsSchedulesClient.java @@ -0,0 +1,443 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for schedules/workflows/schedules. Generated by scripts/generate_endpoints.py. */ +public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { + SchedulesWorkflowsSchedulesClient(ApiClient client) { + super(ApiService.SCHEDULES, client); + } + + /** + * Calls the contract route {@code DELETE /workflows/schedules/{param}}. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|DELETE|/workflows/schedules/{param}") + public @Nullable T delete(String scheduleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /workflows/schedules/{param}} using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String scheduleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /workflows/schedules/{param}} without query parameters. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String scheduleId, Class responseType) throws IOException, InterruptedException { + return delete(scheduleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /workflows/schedules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String scheduleId, TypeReference responseType) throws IOException, InterruptedException { + return delete(scheduleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /workflows/schedules}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|GET|/workflows/schedules") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/schedules} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/schedules} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/schedules} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /workflows/schedules/{param}}. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|GET|/workflows/schedules/{param}") + public @Nullable T get(String scheduleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/schedules/{param}} using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String scheduleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/schedules/{param}} without query parameters. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String scheduleId, Class responseType) throws IOException, InterruptedException { + return get(scheduleId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/schedules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String scheduleId, TypeReference responseType) throws IOException, InterruptedException { + return get(scheduleId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code PATCH /workflows/schedules/{param}}. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|PATCH|/workflows/schedules/{param}") + public @Nullable T update(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, body, responseType); + } + /** + * Calls the contract route {@code PATCH /workflows/schedules/{param}} using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, body, responseType); + } + /** + * Calls the contract route {@code PATCH /workflows/schedules/{param}} without query parameters. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String scheduleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(scheduleId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PATCH /workflows/schedules/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String scheduleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(scheduleId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/schedules") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/pause}. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/schedules/{param}/pause") + public @Nullable T pause(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, List.of(scheduleId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/pause} using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, List.of(scheduleId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/pause} without query parameters. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String scheduleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return pause(scheduleId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/pause} without query parameters using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T pause(String scheduleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return pause(scheduleId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/resume}. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/schedules/{param}/resume") + public @Nullable T resume(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, List.of(scheduleId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/resume} using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, List.of(scheduleId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/resume} without query parameters. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String scheduleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return resume(scheduleId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/resume} without query parameters using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T resume(String scheduleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return resume(scheduleId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/trigger}. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("schedules|POST|/workflows/schedules/{param}/trigger") + public @Nullable T trigger(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, List.of(scheduleId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/trigger} using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T trigger(String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, List.of(scheduleId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/trigger} without query parameters. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T trigger(String scheduleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return trigger(scheduleId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/schedules/{param}/trigger} without query parameters using a generic response type. + * @param decoded response type + * @param scheduleId scheduleId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T trigger(String scheduleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return trigger(scheduleId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java index cedf835..ab98f2a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java @@ -6,12 +6,19 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the webhook-endpoints service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for webhook-endpoints. Generated by scripts/generate_endpoints.py. */ public final class WebhookEndpointsClient extends ServiceClient { WebhookEndpointsClient(ApiClient client) { super(ApiService.WEBHOOK_ENDPOINTS, client); } + /** Returns the client for the nested resource. + * @return the deliveries resource client + */ + public WebhookEndpointsDeliveriesClient deliveries() { + return new WebhookEndpointsDeliveriesClient(client()); + } + /** * Calls the contract route {@code DELETE /webhook-endpoints/{param}}. * @param decoded response type @@ -23,14 +30,11 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|DELETE|/webhook-endpoints/{param}") - public @Nullable T deleteWebhookEndpointsId(String id, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + public @Nullable T delete(String id, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); } - /** - * Calls the contract route {@code DELETE /webhook-endpoints/{param}}. + * Calls the contract route {@code DELETE /webhook-endpoints/{param}} using a generic response type. * @param decoded response type * @param id id supplied to the operation * @param query query supplied to the operation @@ -39,10 +43,32 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T deleteWebhookEndpointsId(String id, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + public @Nullable T delete(String id, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + } + /** + * Calls the contract route {@code DELETE /webhook-endpoints/{param}} without query parameters. + * @param decoded response type + * @param id id supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String id, Class responseType) throws IOException, InterruptedException { + return delete(id, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code DELETE /webhook-endpoints/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param id id supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T delete(String id, TypeReference responseType) throws IOException, InterruptedException { + return delete(id, QueryParams.empty(), responseType); } /** @@ -55,13 +81,11 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|GET|/webhook-endpoints") - public @Nullable T getWebhookEndpoints(QueryParams query, Class responseType) - throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /webhook-endpoints}. + * Calls the contract route {@code GET /webhook-endpoints} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param responseType responseType supplied to the operation @@ -69,10 +93,31 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWebhookEndpoints(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS, List.of(), query, null, responseType); } + /** + * Calls the contract route {@code GET /webhook-endpoints} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /webhook-endpoints} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } /** * Calls the contract route {@code GET /webhook-endpoints/{param}}. @@ -85,13 +130,11 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|GET|/webhook-endpoints/{param}") - public @Nullable T getWebhookEndpointsId(String id, QueryParams query, Class responseType) - throws IOException, InterruptedException { + public @Nullable T get(String id, QueryParams query, Class responseType) throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); } - /** - * Calls the contract route {@code GET /webhook-endpoints/{param}}. + * Calls the contract route {@code GET /webhook-endpoints/{param}} using a generic response type. * @param decoded response type * @param id id supplied to the operation * @param query query supplied to the operation @@ -100,50 +143,32 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWebhookEndpointsId(String id, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T get(String id, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); } - /** - * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries}. + * Calls the contract route {@code GET /webhook-endpoints/{param}} without query parameters. * @param decoded response type * @param id id supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("webhook-endpoints|GET|/webhook-endpoints/{param}/deliveries") - public @Nullable T getWebhookEndpointsIdDeliveries(String id, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, - List.of(id), - query, - null, - responseType); + public @Nullable T get(String id, Class responseType) throws IOException, InterruptedException { + return get(id, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries}. + * Calls the contract route {@code GET /webhook-endpoints/{param}} without query parameters using a generic response type. * @param decoded response type * @param id id supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWebhookEndpointsIdDeliveries(String id, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, - List.of(id), - query, - null, - responseType); + public @Nullable T get(String id, TypeReference responseType) throws IOException, InterruptedException { + return get(id, QueryParams.empty(), responseType); } /** @@ -158,15 +183,11 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|PATCH|/webhook-endpoints/{param}") - public @Nullable T patchWebhookEndpointsId( - String id, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); + public @Nullable T update(String id, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); } - /** - * Calls the contract route {@code PATCH /webhook-endpoints/{param}}. + * Calls the contract route {@code PATCH /webhook-endpoints/{param}} using a generic response type. * @param decoded response type * @param id id supplied to the operation * @param query query supplied to the operation @@ -176,11 +197,34 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T patchWebhookEndpointsId( - String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); + public @Nullable T update(String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); + } + /** + * Calls the contract route {@code PATCH /webhook-endpoints/{param}} without query parameters. + * @param decoded response type + * @param id id supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String id, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(id, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code PATCH /webhook-endpoints/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param id id supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String id, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(id, QueryParams.empty(), body, responseType); } /** @@ -194,13 +238,11 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|POST|/webhook-endpoints") - public @Nullable T postWebhookEndpoints(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /webhook-endpoints}. + * Calls the contract route {@code POST /webhook-endpoints} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -209,11 +251,33 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWebhookEndpoints( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS, List.of(), query, body, responseType); } + /** + * Calls the contract route {@code POST /webhook-endpoints} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /webhook-endpoints} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } /** * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret}. @@ -227,19 +291,11 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|POST|/webhook-endpoints/{param}/rotate-secret") - public @Nullable T postWebhookEndpointsIdRotateSecret( - String id, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, - List.of(id), - query, - body, - responseType); + public @Nullable T rotateSecret(String id, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, List.of(id), query, body, responseType); } - /** - * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret}. + * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret} using a generic response type. * @param decoded response type * @param id id supplied to the operation * @param query query supplied to the operation @@ -249,14 +305,34 @@ public final class WebhookEndpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWebhookEndpointsIdRotateSecret( - String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, - List.of(id), - query, - body, - responseType); + public @Nullable T rotateSecret(String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, List.of(id), query, body, responseType); + } + /** + * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret} without query parameters. + * @param decoded response type + * @param id id supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rotateSecret(String id, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return rotateSecret(id, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret} without query parameters using a generic response type. + * @param decoded response type + * @param id id supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rotateSecret(String id, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return rotateSecret(id, QueryParams.empty(), body, responseType); } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsDeliveriesClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsDeliveriesClient.java new file mode 100644 index 0000000..4a2ce25 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsDeliveriesClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for webhook-endpoints/deliveries. Generated by scripts/generate_endpoints.py. */ +public final class WebhookEndpointsDeliveriesClient extends ServiceClient { + WebhookEndpointsDeliveriesClient(ApiClient client) { + super(ApiService.WEBHOOK_ENDPOINTS, client); + } + + /** + * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries}. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhook-endpoints|GET|/webhook-endpoints/{param}/deliveries") + public @Nullable T list(String id, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, List.of(id), query, null, responseType); + } + /** + * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries} using a generic response type. + * @param decoded response type + * @param id id supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String id, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, List.of(id), query, null, responseType); + } + /** + * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries} without query parameters. + * @param decoded response type + * @param id id supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String id, Class responseType) throws IOException, InterruptedException { + return list(id, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries} without query parameters using a generic response type. + * @param decoded response type + * @param id id supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String id, TypeReference responseType) throws IOException, InterruptedException { + return list(id, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java index 0425f90..06aaac5 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java @@ -6,16 +6,30 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the webhooks service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for webhooks. Generated by scripts/generate_endpoints.py. */ public final class WebhooksClient extends ServiceClient { WebhooksClient(ApiClient client) { super(ApiService.WEBHOOKS, client); } + /** Returns the client for the nested resource. + * @return the deliveries resource client + */ + public WebhooksDeliveriesClient deliveries() { + return new WebhooksDeliveriesClient(client()); + } + + /** Returns the client for the nested resource. + * @return the stats resource client + */ + public WebhooksStatsClient stats() { + return new WebhooksStatsClient(client()); + } + /** * Calls the contract route {@code DELETE /webhooks/{param}}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param webhookId webhookId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty @@ -23,57 +37,49 @@ public final class WebhooksClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|DELETE|/webhooks/{param}") - public @Nullable T deleteWebhooksParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.DELETE_WEBHOOKS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T delete(String webhookId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.DELETE_WEBHOOKS_PARAM, List.of(webhookId), query, null, responseType); } - /** - * Calls the contract route {@code DELETE /webhooks/{param}}. + * Calls the contract route {@code DELETE /webhooks/{param}} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param webhookId webhookId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T deleteWebhooksParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.DELETE_WEBHOOKS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T delete(String webhookId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.DELETE_WEBHOOKS_PARAM, List.of(webhookId), query, null, responseType); } - /** - * Calls the contract route {@code GET /webhooks}. + * Calls the contract route {@code DELETE /webhooks/{param}} without query parameters. * @param decoded response type - * @param query query supplied to the operation + * @param webhookId webhookId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("webhooks|GET|/webhooks") - public @Nullable T getWebhooks(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS, List.of(), query, null, responseType); + public @Nullable T delete(String webhookId, Class responseType) throws IOException, InterruptedException { + return delete(webhookId, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /webhooks}. + * Calls the contract route {@code DELETE /webhooks/{param}} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation + * @param webhookId webhookId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWebhooks(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS, List.of(), query, null, responseType); + public @Nullable T delete(String webhookId, TypeReference responseType) throws IOException, InterruptedException { + return delete(webhookId, QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /webhooks/deliveries}. + * Calls the contract route {@code GET /webhooks}. * @param decoded response type * @param query query supplied to the operation * @param responseType responseType supplied to the operation @@ -81,14 +87,12 @@ public final class WebhooksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("webhooks|GET|/webhooks/deliveries") - public @Nullable T getWebhooksDeliveries(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES, List.of(), query, null, responseType); + @SdkOperation("webhooks|GET|/webhooks") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /webhooks/deliveries}. + * Calls the contract route {@code GET /webhooks} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param responseType responseType supplied to the operation @@ -96,103 +100,82 @@ public final class WebhooksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWebhooksDeliveries(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES, List.of(), query, null, responseType); + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /webhooks/deliveries/{param}}. + * Calls the contract route {@code GET /webhooks} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("webhooks|GET|/webhooks/deliveries/{param}") - public @Nullable T getWebhooksDeliveriesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /webhooks/deliveries/{param}}. + * Calls the contract route {@code GET /webhooks} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWebhooksDeliveriesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /webhooks/stats}. + * Calls the contract route {@code GET /webhooks/{param}}. * @param decoded response type + * @param webhookId webhookId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("webhooks|GET|/webhooks/stats") - public @Nullable T getWebhooksStats(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS_STATS, List.of(), query, null, responseType); + @SdkOperation("webhooks|GET|/webhooks/{param}") + public @Nullable T get(String webhookId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_PARAM, List.of(webhookId), query, null, responseType); } - /** - * Calls the contract route {@code GET /webhooks/stats}. + * Calls the contract route {@code GET /webhooks/{param}} using a generic response type. * @param decoded response type + * @param webhookId webhookId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWebhooksStats(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS_STATS, List.of(), query, null, responseType); + public @Nullable T get(String webhookId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_PARAM, List.of(webhookId), query, null, responseType); } - /** - * Calls the contract route {@code GET /webhooks/{param}}. + * Calls the contract route {@code GET /webhooks/{param}} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param webhookId webhookId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("webhooks|GET|/webhooks/{param}") - public @Nullable T getWebhooksParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String webhookId, Class responseType) throws IOException, InterruptedException { + return get(webhookId, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /webhooks/{param}}. + * Calls the contract route {@code GET /webhooks/{param}} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param webhookId webhookId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWebhooksParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String webhookId, TypeReference responseType) throws IOException, InterruptedException { + return get(webhookId, QueryParams.empty(), responseType); } /** @@ -206,13 +189,11 @@ public final class WebhooksClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|POST|/webhooks") - public @Nullable T postWebhooks(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Webhooks.POST_WEBHOOKS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /webhooks}. + * Calls the contract route {@code POST /webhooks} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -221,60 +202,38 @@ public final class WebhooksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWebhooks(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Webhooks.POST_WEBHOOKS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry}. + * Calls the contract route {@code POST /webhooks} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("webhooks|POST|/webhooks/deliveries/{param}/retry") - public @Nullable T postWebhooksDeliveriesParamRetry( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry}. + * Calls the contract route {@code POST /webhooks} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWebhooksDeliveriesParamRetry( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); } /** * Calls the contract route {@code POST /webhooks/{param}/rotate-secret}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param webhookId webhookId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -283,17 +242,13 @@ public final class WebhooksClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|POST|/webhooks/{param}/rotate-secret") - public @Nullable T postWebhooksParamRotateSecret( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(pathParam1), query, body, responseType); + public @Nullable T rotateSecret(String webhookId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(webhookId), query, body, responseType); } - /** - * Calls the contract route {@code POST /webhooks/{param}/rotate-secret}. + * Calls the contract route {@code POST /webhooks/{param}/rotate-secret} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param webhookId webhookId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -301,17 +256,40 @@ public final class WebhooksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWebhooksParamRotateSecret( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(pathParam1), query, body, responseType); + public @Nullable T rotateSecret(String webhookId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(webhookId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /webhooks/{param}/rotate-secret} without query parameters. + * @param decoded response type + * @param webhookId webhookId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rotateSecret(String webhookId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return rotateSecret(webhookId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /webhooks/{param}/rotate-secret} without query parameters using a generic response type. + * @param decoded response type + * @param webhookId webhookId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T rotateSecret(String webhookId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return rotateSecret(webhookId, QueryParams.empty(), body, responseType); } /** * Calls the contract route {@code PUT /webhooks/{param}}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param webhookId webhookId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -320,16 +298,13 @@ public final class WebhooksClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|PUT|/webhooks/{param}") - public @Nullable T putWebhooksParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.PUT_WEBHOOKS_PARAM, List.of(pathParam1), query, body, responseType); + public @Nullable T update(String webhookId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.PUT_WEBHOOKS_PARAM, List.of(webhookId), query, body, responseType); } - /** - * Calls the contract route {@code PUT /webhooks/{param}}. + * Calls the contract route {@code PUT /webhooks/{param}} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param webhookId webhookId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -337,9 +312,34 @@ public final class WebhooksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T putWebhooksParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Webhooks.PUT_WEBHOOKS_PARAM, List.of(pathParam1), query, body, responseType); + public @Nullable T update(String webhookId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.PUT_WEBHOOKS_PARAM, List.of(webhookId), query, body, responseType); + } + /** + * Calls the contract route {@code PUT /webhooks/{param}} without query parameters. + * @param decoded response type + * @param webhookId webhookId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String webhookId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(webhookId, QueryParams.empty(), body, responseType); } + /** + * Calls the contract route {@code PUT /webhooks/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param webhookId webhookId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T update(String webhookId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(webhookId, QueryParams.empty(), body, responseType); + } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhooksDeliveriesClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhooksDeliveriesClient.java new file mode 100644 index 0000000..450ec27 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhooksDeliveriesClient.java @@ -0,0 +1,171 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for webhooks/deliveries. Generated by scripts/generate_endpoints.py. */ +public final class WebhooksDeliveriesClient extends ServiceClient { + WebhooksDeliveriesClient(ApiClient client) { + super(ApiService.WEBHOOKS, client); + } + + /** + * Calls the contract route {@code GET /webhooks/deliveries}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|GET|/webhooks/deliveries") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /webhooks/deliveries} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /webhooks/deliveries} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /webhooks/deliveries} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /webhooks/deliveries/{param}}. + * @param decoded response type + * @param deliveryId deliveryId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|GET|/webhooks/deliveries/{param}") + public @Nullable T get(String deliveryId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(deliveryId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /webhooks/deliveries/{param}} using a generic response type. + * @param decoded response type + * @param deliveryId deliveryId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String deliveryId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(deliveryId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /webhooks/deliveries/{param}} without query parameters. + * @param decoded response type + * @param deliveryId deliveryId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String deliveryId, Class responseType) throws IOException, InterruptedException { + return get(deliveryId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /webhooks/deliveries/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param deliveryId deliveryId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String deliveryId, TypeReference responseType) throws IOException, InterruptedException { + return get(deliveryId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry}. + * @param decoded response type + * @param deliveryId deliveryId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|POST|/webhooks/deliveries/{param}/retry") + public @Nullable T retry(String deliveryId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, List.of(deliveryId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry} using a generic response type. + * @param decoded response type + * @param deliveryId deliveryId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T retry(String deliveryId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, List.of(deliveryId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry} without query parameters. + * @param decoded response type + * @param deliveryId deliveryId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T retry(String deliveryId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return retry(deliveryId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry} without query parameters using a generic response type. + * @param decoded response type + * @param deliveryId deliveryId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T retry(String deliveryId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return retry(deliveryId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhooksStatsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhooksStatsClient.java new file mode 100644 index 0000000..b6e4e96 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhooksStatsClient.java @@ -0,0 +1,63 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for webhooks/stats. Generated by scripts/generate_endpoints.py. */ +public final class WebhooksStatsClient extends ServiceClient { + WebhooksStatsClient(ApiClient client) { + super(ApiService.WEBHOOKS, client); + } + + /** + * Calls the contract route {@code GET /webhooks/stats}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("webhooks|GET|/webhooks/stats") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_STATS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /webhooks/stats} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Webhooks.GET_WEBHOOKS_STATS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /webhooks/stats} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /webhooks/stats} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsApprovalsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsApprovalsClient.java new file mode 100644 index 0000000..a9a5aa0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsApprovalsClient.java @@ -0,0 +1,227 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for workflows/approvals. Generated by scripts/generate_endpoints.py. */ +public final class WorkflowsApprovalsClient extends ServiceClient { + WorkflowsApprovalsClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** + * Calls the contract route {@code GET /workflows/approvals}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/approvals") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/approvals} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/approvals} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/approvals} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /workflows/approvals/{param}}. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/approvals/{param}") + public @Nullable T get(String approvalId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(approvalId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/approvals/{param}} using a generic response type. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String approvalId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(approvalId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/approvals/{param}} without query parameters. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String approvalId, Class responseType) throws IOException, InterruptedException { + return get(approvalId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/approvals/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String approvalId, TypeReference responseType) throws IOException, InterruptedException { + return get(approvalId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/approve}. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/approvals/{param}/approve") + public @Nullable T approve(String approvalId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, List.of(approvalId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/approve} using a generic response type. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T approve(String approvalId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, List.of(approvalId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/approve} without query parameters. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T approve(String approvalId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return approve(approvalId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/approve} without query parameters using a generic response type. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T approve(String approvalId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return approve(approvalId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/reject}. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/approvals/{param}/reject") + public @Nullable T reject(String approvalId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, List.of(approvalId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/reject} using a generic response type. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T reject(String approvalId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, List.of(approvalId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/reject} without query parameters. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T reject(String approvalId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return reject(approvalId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/approvals/{param}/reject} without query parameters using a generic response type. + * @param decoded response type + * @param approvalId approvalId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T reject(String approvalId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return reject(approvalId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsClient.java index 5b3c5cf..c366e5d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsClient.java @@ -7,7 +7,6 @@ import java.util.List; import java.util.Objects; import java.util.concurrent.TimeoutException; -import org.jspecify.annotations.Nullable; /** Workflow definitions, executions, tasks, templates, and approvals. */ public final class WorkflowsClient extends WorkflowsServiceClient { @@ -15,47 +14,17 @@ public final class WorkflowsClient extends WorkflowsServiceClient { super(client); } - public PageResult list(QueryParams query, Class itemType) throws IOException, InterruptedException { - return fetchPage(query, itemType); - } - - public @Nullable T get(String workflowId, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(workflowId), responseType); - } - - public @Nullable T create(JsonNode definition, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), QueryParams.empty(), definition, responseType); - } - - public @Nullable T update(String workflowId, JsonNode update, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, - List.of(workflowId), - QueryParams.empty(), - update, - responseType); - } - - public void delete(String workflowId) throws IOException, InterruptedException { - requestBytes(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(workflowId), QueryParams.empty(), null); - } - - public @Nullable T createExecution(JsonNode input, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), QueryParams.empty(), input, responseType); - } - - public @Nullable T execution(String executionId, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(executionId), responseType); + /** Fetches the first page of workflows and exposes lazy page traversal. */ + public PageResult listPages(QueryParams query, Class itemType) throws IOException, InterruptedException { + return fetchPage(Objects.requireNonNull(query, "query"), Objects.requireNonNull(itemType, "itemType")); } + /** Waits until an execution reaches a terminal status or the timeout expires. */ public JsonNode waitForCompletion(String executionId, Duration interval, Duration timeout) throws IOException, InterruptedException, TimeoutException { return Poller.pollUntil( - () -> Objects.requireNonNull(execution(executionId, JsonNode.class), "Workflow response was empty"), + () -> Objects.requireNonNull( + executions().get(executionId, JsonNode.class), "Workflow response was empty"), result -> { String status = result.path("status").asText("").toLowerCase(java.util.Locale.ROOT); return List.of("completed", "succeeded", "failed", "cancelled", "rejected") @@ -65,32 +34,8 @@ public JsonNode waitForCompletion(String executionId, Duration interval, Duratio timeout); } - public @Nullable T approve(String approvalId, JsonNode decision, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, - List.of(approvalId), - QueryParams.empty(), - decision, - responseType); - } - - public @Nullable T reject(String approvalId, JsonNode decision, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, - List.of(approvalId), - QueryParams.empty(), - decision, - responseType); - } - - private PageResult fetchPage(QueryParams options, Class itemType) - throws IOException, InterruptedException { - QueryParams query = Objects.requireNonNull(options, "query"); - JsonNode response = Objects.requireNonNull( - request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, JsonNode.class), - "Workflow list response was empty"); + private PageResult fetchPage(QueryParams query, Class itemType) throws IOException, InterruptedException { + JsonNode response = Objects.requireNonNull(list(query, JsonNode.class), "Workflow list response was empty"); JsonNode items = response.path("data"); if (!items.isArray()) { items = response.path("workflows"); diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsClient.java new file mode 100644 index 0000000..ac4ff4a --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsClient.java @@ -0,0 +1,174 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for workflows/executions. Generated by scripts/generate_endpoints.py. */ +public final class WorkflowsExecutionsClient extends ServiceClient { + WorkflowsExecutionsClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** Returns the client for the nested resource. + * @return the tasks resource client + */ + public WorkflowsExecutionsTasksClient tasks() { + return new WorkflowsExecutionsTasksClient(client()); + } + + /** + * Calls the contract route {@code GET /workflows/executions}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/executions") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /workflows/executions/{param}}. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/executions/{param}") + public @Nullable T get(String executionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(executionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions/{param}} using a generic response type. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String executionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(executionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions/{param}} without query parameters. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String executionId, Class responseType) throws IOException, InterruptedException { + return get(executionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String executionId, TypeReference responseType) throws IOException, InterruptedException { + return get(executionId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /workflows/executions}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/executions") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/executions} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/executions} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/executions} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsTasksClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsTasksClient.java new file mode 100644 index 0000000..f39f377 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsTasksClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for workflows/executions/tasks. Generated by scripts/generate_endpoints.py. */ +public final class WorkflowsExecutionsTasksClient extends ServiceClient { + WorkflowsExecutionsTasksClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** + * Calls the contract route {@code GET /workflows/executions/{param}/tasks}. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/executions/{param}/tasks") + public @Nullable T list(String executionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, List.of(executionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions/{param}/tasks} using a generic response type. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String executionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, List.of(executionId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions/{param}/tasks} without query parameters. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String executionId, Class responseType) throws IOException, InterruptedException { + return list(executionId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/executions/{param}/tasks} without query parameters using a generic response type. + * @param decoded response type + * @param executionId executionId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String executionId, TypeReference responseType) throws IOException, InterruptedException { + return list(executionId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsClient.java new file mode 100644 index 0000000..51e41f4 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsClient.java @@ -0,0 +1,22 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for workflows/runs. Generated by scripts/generate_endpoints.py. */ +public final class WorkflowsRunsClient extends ServiceClient { + WorkflowsRunsClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** Returns the client for the nested resource. + * @return the steps resource client + */ + public WorkflowsRunsStepsClient steps() { + return new WorkflowsRunsStepsClient(client()); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsStepsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsStepsClient.java new file mode 100644 index 0000000..f210264 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsStepsClient.java @@ -0,0 +1,67 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for workflows/runs/steps. Generated by scripts/generate_endpoints.py. */ +public final class WorkflowsRunsStepsClient extends ServiceClient { + WorkflowsRunsStepsClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** + * Calls the contract route {@code GET /workflows/runs/{param}/steps}. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/runs/{param}/steps") + public @Nullable T list(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_RUNS_PARAM_STEPS, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/runs/{param}/steps} using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_RUNS_PARAM_STEPS, List.of(runId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/runs/{param}/steps} without query parameters. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String runId, Class responseType) throws IOException, InterruptedException { + return list(runId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/runs/{param}/steps} without query parameters using a generic response type. + * @param decoded response type + * @param runId runId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(String runId, TypeReference responseType) throws IOException, InterruptedException { + return list(runId, QueryParams.empty(), responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java index 58c4288..631e37e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java @@ -6,438 +6,320 @@ import java.util.List; import org.jspecify.annotations.Nullable; -/** Named contract operations for the workflows service. Generated by scripts/generate_endpoints.py. */ +/** Contract operations for workflows. Generated by scripts/generate_endpoints.py. */ public class WorkflowsServiceClient extends ServiceClient { WorkflowsServiceClient(ApiClient client) { super(ApiService.WORKFLOWS, client); } - /** - * Calls the contract route {@code DELETE /workflows/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the approvals resource client */ - @SdkOperation("workflows|DELETE|/workflows/{param}") - public @Nullable T deleteWorkflowsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(pathParam1), query, null, responseType); + public WorkflowsApprovalsClient approvals() { + return new WorkflowsApprovalsClient(client()); } - /** - * Calls the contract route {@code DELETE /workflows/{param}}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the executions resource client */ - public @Nullable T deleteWorkflowsParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(pathParam1), query, null, responseType); + public WorkflowsExecutionsClient executions() { + return new WorkflowsExecutionsClient(client()); } - /** - * Calls the contract route {@code GET /workflows}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the runs resource client */ - @SdkOperation("workflows|GET|/workflows") - public @Nullable T getWorkflows(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, responseType); + public WorkflowsRunsClient runs() { + return new WorkflowsRunsClient(client()); } - /** - * Calls the contract route {@code GET /workflows}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the tasks resource client */ - public @Nullable T getWorkflows(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, responseType); + public WorkflowsTasksClient tasks() { + return new WorkflowsTasksClient(client()); } - /** - * Calls the contract route {@code GET /workflows/approvals}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the templates resource client */ - @SdkOperation("workflows|GET|/workflows/approvals") - public @Nullable T getWorkflowsApprovals(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS, List.of(), query, null, responseType); + public WorkflowsTemplatesClient templates() { + return new WorkflowsTemplatesClient(client()); } - /** - * Calls the contract route {@code GET /workflows/approvals}. - * @param decoded response type - * @param query query supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails + /** Returns the client for the nested resource. + * @return the versions resource client */ - public @Nullable T getWorkflowsApprovals(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS, List.of(), query, null, responseType); + public WorkflowsVersionsClient versions() { + return new WorkflowsVersionsClient(client()); } /** - * Calls the contract route {@code GET /workflows/approvals/{param}}. + * Calls the contract route {@code DELETE /workflows/{param}}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/approvals/{param}") - public @Nullable T getWorkflowsApprovalsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(pathParam1), query, null, responseType); + @SdkOperation("workflows|DELETE|/workflows/{param}") + public @Nullable T delete(String workflowId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(workflowId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/approvals/{param}}. + * Calls the contract route {@code DELETE /workflows/{param}} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsApprovalsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T delete(String workflowId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(workflowId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/executions}. + * Calls the contract route {@code DELETE /workflows/{param}} without query parameters. * @param decoded response type - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/executions") - public @Nullable T getWorkflowsExecutions(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS, List.of(), query, null, responseType); + public @Nullable T delete(String workflowId, Class responseType) throws IOException, InterruptedException { + return delete(workflowId, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /workflows/executions}. + * Calls the contract route {@code DELETE /workflows/{param}} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsExecutions(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS, List.of(), query, null, responseType); + public @Nullable T delete(String workflowId, TypeReference responseType) throws IOException, InterruptedException { + return delete(workflowId, QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /workflows/executions/{param}}. + * Calls the contract route {@code GET /workflows}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/executions/{param}") - public @Nullable T getWorkflowsExecutionsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(pathParam1), query, null, responseType); + @SdkOperation("workflows|GET|/workflows") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/executions/{param}}. + * Calls the contract route {@code GET /workflows} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsExecutionsParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/executions/{param}/tasks}. + * Calls the contract route {@code GET /workflows} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/executions/{param}/tasks") - public @Nullable T getWorkflowsExecutionsParamTasks(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, - List.of(pathParam1), - query, - null, - responseType); + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /workflows/executions/{param}/tasks}. + * Calls the contract route {@code GET /workflows} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsExecutionsParamTasks( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, - List.of(pathParam1), - query, - null, - responseType); + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /workflows/runs/{param}/steps}. + * Calls the contract route {@code GET /workflows/{param}}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/runs/{param}/steps") - public @Nullable T getWorkflowsRunsParamSteps(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_RUNS_PARAM_STEPS, List.of(pathParam1), query, null, responseType); + @SdkOperation("workflows|GET|/workflows/{param}") + public @Nullable T get(String workflowId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(workflowId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/runs/{param}/steps}. + * Calls the contract route {@code GET /workflows/{param}} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsRunsParamSteps( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_RUNS_PARAM_STEPS, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String workflowId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(workflowId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/tasks/{param}}. + * Calls the contract route {@code GET /workflows/{param}} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/tasks/{param}") - public @Nullable T getWorkflowsTasksParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_TASKS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String workflowId, Class responseType) throws IOException, InterruptedException { + return get(workflowId, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /workflows/tasks/{param}}. + * Calls the contract route {@code GET /workflows/{param}} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsTasksParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_TASKS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T get(String workflowId, TypeReference responseType) throws IOException, InterruptedException { + return get(workflowId, QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /workflows/templates}. + * Calls the contract route {@code GET /workflows/{param}/{param}}. * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/templates") - public @Nullable T getWorkflowsTemplates(QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES, List.of(), query, null, responseType); + @SdkOperation("workflows|GET|/workflows/{param}/{param}") + public @Nullable T get2(String workflowId, String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/templates}. + * Calls the contract route {@code GET /workflows/{param}/{param}} using a generic response type. * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsTemplates(QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES, List.of(), query, null, responseType); + public @Nullable T get2(String workflowId, String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/templates/{param}}. + * Calls the contract route {@code GET /workflows/{param}/{param}} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/templates/{param}") - public @Nullable T getWorkflowsTemplatesParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T get2(String workflowId, String runId, Class responseType) throws IOException, InterruptedException { + return get2(workflowId, runId, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /workflows/templates/{param}}. + * Calls the contract route {@code GET /workflows/{param}/{param}} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsTemplatesParam( - String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T get2(String workflowId, String runId, TypeReference responseType) throws IOException, InterruptedException { + return get2(workflowId, runId, QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /workflows/{param}}. + * Calls the contract route {@code GET /workflows/{param}/{param}/summary}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/{param}") - public @Nullable T getWorkflowsParam(String pathParam1, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(pathParam1), query, null, responseType); + @SdkOperation("workflows|GET|/workflows/{param}/{param}/summary") + public @Nullable T summary(String workflowId, String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, List.of(workflowId, runId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/{param}}. + * Calls the contract route {@code GET /workflows/{param}/{param}/summary} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation + * @param runId runId supplied to the operation * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsParam(String pathParam1, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(pathParam1), query, null, responseType); + public @Nullable T summary(String workflowId, String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, List.of(workflowId, runId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/{param}/{param}}. + * Calls the contract route {@code GET /workflows/{param}/{param}/summary} without query parameters. * @param decoded response type * @param workflowId workflowId supplied to the operation * @param runId runId supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/{param}/{param}") - public @Nullable T getWorkflowsWorkflowIdRunId( - String workflowId, String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); + public @Nullable T summary(String workflowId, String runId, Class responseType) throws IOException, InterruptedException { + return summary(workflowId, runId, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /workflows/{param}/{param}}. + * Calls the contract route {@code GET /workflows/{param}/{param}/summary} without query parameters using a generic response type. * @param decoded response type * @param workflowId workflowId supplied to the operation * @param runId runId supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsWorkflowIdRunId( - String workflowId, String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); + public @Nullable T summary(String workflowId, String runId, TypeReference responseType) throws IOException, InterruptedException { + return summary(workflowId, runId, QueryParams.empty(), responseType); } /** - * Calls the contract route {@code GET /workflows/{param}/{param}/summary}. + * Calls the contract route {@code GET /workflows/{param}/{param}/timeline}. * @param decoded response type * @param workflowId workflowId supplied to the operation * @param runId runId supplied to the operation @@ -447,20 +329,12 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/{param}/{param}/summary") - public @Nullable T getWorkflowsWorkflowIdRunIdSummary( - String workflowId, String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, - List.of(workflowId, runId), - query, - null, - responseType); + @SdkOperation("workflows|GET|/workflows/{param}/{param}/timeline") + public @Nullable T timeline(String workflowId, String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, List.of(workflowId, runId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/{param}/{param}/summary}. + * Calls the contract route {@code GET /workflows/{param}/{param}/timeline} using a generic response type. * @param decoded response type * @param workflowId workflowId supplied to the operation * @param runId runId supplied to the operation @@ -470,66 +344,40 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsWorkflowIdRunIdSummary( - String workflowId, String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, - List.of(workflowId, runId), - query, - null, - responseType); + public @Nullable T timeline(String workflowId, String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, List.of(workflowId, runId), query, null, responseType); } - /** - * Calls the contract route {@code GET /workflows/{param}/{param}/timeline}. + * Calls the contract route {@code GET /workflows/{param}/{param}/timeline} without query parameters. * @param decoded response type * @param workflowId workflowId supplied to the operation * @param runId runId supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|GET|/workflows/{param}/{param}/timeline") - public @Nullable T getWorkflowsWorkflowIdRunIdTimeline( - String workflowId, String runId, QueryParams query, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, - List.of(workflowId, runId), - query, - null, - responseType); + public @Nullable T timeline(String workflowId, String runId, Class responseType) throws IOException, InterruptedException { + return timeline(workflowId, runId, QueryParams.empty(), responseType); } - /** - * Calls the contract route {@code GET /workflows/{param}/{param}/timeline}. + * Calls the contract route {@code GET /workflows/{param}/{param}/timeline} without query parameters using a generic response type. * @param decoded response type * @param workflowId workflowId supplied to the operation * @param runId runId supplied to the operation - * @param query query supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getWorkflowsWorkflowIdRunIdTimeline( - String workflowId, String runId, QueryParams query, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, - List.of(workflowId, runId), - query, - null, - responseType); + public @Nullable T timeline(String workflowId, String runId, TypeReference responseType) throws IOException, InterruptedException { + return timeline(workflowId, runId, QueryParams.empty(), responseType); } /** * Calls the contract route {@code PATCH /workflows/{param}}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -538,16 +386,13 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|PATCH|/workflows/{param}") - public @Nullable T patchWorkflowsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(pathParam1), query, body, responseType); + public @Nullable T update(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(workflowId), query, body, responseType); } - /** - * Calls the contract route {@code PATCH /workflows/{param}}. + * Calls the contract route {@code PATCH /workflows/{param}} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -555,47 +400,39 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T patchWorkflowsParam( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(pathParam1), query, body, responseType); + public @Nullable T update(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(workflowId), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows}. + * Calls the contract route {@code PATCH /workflows/{param}} without query parameters. * @param decoded response type - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows") - public @Nullable T postWorkflows(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), query, body, responseType); + public @Nullable T update(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return update(workflowId, QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /workflows}. + * Calls the contract route {@code PATCH /workflows/{param}} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflows(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), query, body, responseType); + public @Nullable T update(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return update(workflowId, QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /workflows/approvals/{param}/approve}. + * Calls the contract route {@code POST /workflows}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -603,22 +440,13 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/approvals/{param}/approve") - public @Nullable T postWorkflowsApprovalsParamApprove( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, - List.of(pathParam1), - query, - body, - responseType); + @SdkOperation("workflows|POST|/workflows") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/approvals/{param}/approve}. + * Calls the contract route {@code POST /workflows} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -626,60 +454,32 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsApprovalsParamApprove( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/approvals/{param}/reject}. + * Calls the contract route {@code POST /workflows} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/approvals/{param}/reject") - public @Nullable T postWorkflowsApprovalsParamReject( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /workflows/approvals/{param}/reject}. + * Calls the contract route {@code POST /workflows} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsApprovalsParamReject( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); } /** @@ -693,13 +493,11 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/batch") - public @Nullable T postWorkflowsBatch(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_BATCH, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/batch}. + * Calls the contract route {@code POST /workflows/batch} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -708,41 +506,32 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsBatch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_BATCH, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/executions}. + * Calls the contract route {@code POST /workflows/batch} without query parameters. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/executions") - public @Nullable T postWorkflowsExecutions(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), query, body, responseType); + public @Nullable T batch(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return batch(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /workflows/executions}. + * Calls the contract route {@code POST /workflows/batch} without query parameters using a generic response type. * @param decoded response type - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsExecutions( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), query, body, responseType); + public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return batch(QueryParams.empty(), body, responseType); } /** @@ -756,13 +545,11 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/search") - public @Nullable T postWorkflowsSearch(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { + public @Nullable T search(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_SEARCH, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/search}. + * Calls the contract route {@code POST /workflows/search} using a generic response type. * @param decoded response type * @param query query supplied to the operation * @param body body supplied to the operation @@ -771,89 +558,38 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsSearch( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { + public @Nullable T search(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_SEARCH, List.of(), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/tasks/{param}/cancel}. + * Calls the contract route {@code POST /workflows/search} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/tasks/{param}/cancel") - public @Nullable T postWorkflowsTasksParamCancel( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(pathParam1), query, body, responseType); + public @Nullable T search(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return search(QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /workflows/tasks/{param}/cancel}. + * Calls the contract route {@code POST /workflows/search} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsTasksParamCancel( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(pathParam1), query, body, responseType); + public @Nullable T search(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return search(QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /workflows/tasks/{param}/retry}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - @SdkOperation("workflows|POST|/workflows/tasks/{param}/retry") - public @Nullable T postWorkflowsTasksParamRetry( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/tasks/{param}/retry}. - * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation - * @param body body supplied to the operation - * @param responseType responseType supplied to the operation - * @return the decoded response, or null when the response body is empty - * @throws IOException if the operation fails - * @throws InterruptedException if the operation fails - */ - public @Nullable T postWorkflowsTasksParamRetry( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(pathParam1), query, body, responseType); - } - - /** - * Calls the contract route {@code POST /workflows/templates}. + * Calls the contract route {@code POST /workflows/{param}/archive}. * @param decoded response type + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -861,15 +597,14 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/templates") - public @Nullable T postWorkflowsTemplates(QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES, List.of(), query, body, responseType); + @SdkOperation("workflows|POST|/workflows/{param}/archive") + public @Nullable T archive(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(workflowId), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/templates}. + * Calls the contract route {@code POST /workflows/{param}/archive} using a generic response type. * @param decoded response type + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -877,61 +612,40 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsTemplates( - QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES, List.of(), query, body, responseType); + public @Nullable T archive(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(workflowId), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/templates/{param}/instantiate}. + * Calls the contract route {@code POST /workflows/{param}/archive} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/templates/{param}/instantiate") - public @Nullable T postWorkflowsTemplatesParamInstantiate( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T archive(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return archive(workflowId, QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /workflows/templates/{param}/instantiate}. + * Calls the contract route {@code POST /workflows/{param}/archive} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsTemplatesParamInstantiate( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, - List.of(pathParam1), - query, - body, - responseType); + public @Nullable T archive(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return archive(workflowId, QueryParams.empty(), body, responseType); } /** - * Calls the contract route {@code POST /workflows/{param}/archive}. + * Calls the contract route {@code POST /workflows/{param}/publish}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -939,18 +653,14 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/{param}/archive") - public @Nullable T postWorkflowsParamArchive( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(pathParam1), query, body, responseType); + @SdkOperation("workflows|POST|/workflows/{param}/publish") + public @Nullable T publish(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(workflowId), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/{param}/archive}. + * Calls the contract route {@code POST /workflows/{param}/publish} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -958,54 +668,40 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsParamArchive( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(pathParam1), query, body, responseType); + public @Nullable T publish(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(workflowId), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/{param}/publish}. + * Calls the contract route {@code POST /workflows/{param}/publish} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/{param}/publish") - public @Nullable T postWorkflowsParamPublish( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(pathParam1), query, body, responseType); + public @Nullable T publish(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return publish(workflowId, QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /workflows/{param}/publish}. + * Calls the contract route {@code POST /workflows/{param}/publish} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsParamPublish( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(pathParam1), query, body, responseType); + public @Nullable T publish(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return publish(workflowId, QueryParams.empty(), body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/restore}. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -1014,17 +710,13 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/{param}/restore") - public @Nullable T postWorkflowsParamRestore( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(pathParam1), query, body, responseType); + public @Nullable T restore(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(workflowId), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/{param}/restore}. + * Calls the contract route {@code POST /workflows/{param}/restore} using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation + * @param workflowId workflowId supplied to the operation * @param query query supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation @@ -1032,47 +724,34 @@ public class WorkflowsServiceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsParamRestore( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(pathParam1), query, body, responseType); + public @Nullable T restore(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(workflowId), query, body, responseType); } - /** - * Calls the contract route {@code POST /workflows/{param}/versions}. + * Calls the contract route {@code POST /workflows/{param}/restore} without query parameters. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - @SdkOperation("workflows|POST|/workflows/{param}/versions") - public @Nullable T postWorkflowsParamVersions( - String pathParam1, QueryParams query, @Nullable JsonNode body, Class responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(pathParam1), query, body, responseType); + public @Nullable T restore(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return restore(workflowId, QueryParams.empty(), body, responseType); } - /** - * Calls the contract route {@code POST /workflows/{param}/versions}. + * Calls the contract route {@code POST /workflows/{param}/restore} without query parameters using a generic response type. * @param decoded response type - * @param pathParam1 pathParam1 supplied to the operation - * @param query query supplied to the operation + * @param workflowId workflowId supplied to the operation * @param body body supplied to the operation * @param responseType responseType supplied to the operation * @return the decoded response, or null when the response body is empty * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T postWorkflowsParamVersions( - String pathParam1, QueryParams query, @Nullable JsonNode body, TypeReference responseType) - throws IOException, InterruptedException { - return request( - Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(pathParam1), query, body, responseType); + public @Nullable T restore(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return restore(workflowId, QueryParams.empty(), body, responseType); } + } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTasksClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTasksClient.java new file mode 100644 index 0000000..b7c8cc0 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTasksClient.java @@ -0,0 +1,179 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for workflows/tasks. Generated by scripts/generate_endpoints.py. */ +public final class WorkflowsTasksClient extends ServiceClient { + WorkflowsTasksClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** + * Calls the contract route {@code GET /workflows/tasks/{param}}. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/tasks/{param}") + public @Nullable T get(String taskId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TASKS_PARAM, List.of(taskId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/tasks/{param}} using a generic response type. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String taskId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TASKS_PARAM, List.of(taskId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/tasks/{param}} without query parameters. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String taskId, Class responseType) throws IOException, InterruptedException { + return get(taskId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/tasks/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String taskId, TypeReference responseType) throws IOException, InterruptedException { + return get(taskId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/cancel}. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/tasks/{param}/cancel") + public @Nullable T cancel(String taskId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(taskId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/cancel} using a generic response type. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T cancel(String taskId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(taskId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/cancel} without query parameters. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T cancel(String taskId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return cancel(taskId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/cancel} without query parameters using a generic response type. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T cancel(String taskId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return cancel(taskId, QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/retry}. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/tasks/{param}/retry") + public @Nullable T retry(String taskId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(taskId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/retry} using a generic response type. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T retry(String taskId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(taskId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/retry} without query parameters. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T retry(String taskId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return retry(taskId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/tasks/{param}/retry} without query parameters using a generic response type. + * @param decoded response type + * @param taskId taskId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T retry(String taskId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return retry(taskId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTemplatesClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTemplatesClient.java new file mode 100644 index 0000000..fc7199f --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTemplatesClient.java @@ -0,0 +1,223 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for workflows/templates. Generated by scripts/generate_endpoints.py. */ +public final class WorkflowsTemplatesClient extends ServiceClient { + WorkflowsTemplatesClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** + * Calls the contract route {@code GET /workflows/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/templates") + public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/templates} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES, List.of(), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/templates} without query parameters. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(Class responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/templates} without query parameters using a generic response type. + * @param decoded response type + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { + return list(QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code GET /workflows/templates/{param}}. + * @param decoded response type + * @param templateId templateId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|GET|/workflows/templates/{param}") + public @Nullable T get(String templateId, QueryParams query, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(templateId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/templates/{param}} using a generic response type. + * @param decoded response type + * @param templateId templateId supplied to the operation + * @param query query supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String templateId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(templateId), query, null, responseType); + } + /** + * Calls the contract route {@code GET /workflows/templates/{param}} without query parameters. + * @param decoded response type + * @param templateId templateId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String templateId, Class responseType) throws IOException, InterruptedException { + return get(templateId, QueryParams.empty(), responseType); + } + /** + * Calls the contract route {@code GET /workflows/templates/{param}} without query parameters using a generic response type. + * @param decoded response type + * @param templateId templateId supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T get(String templateId, TypeReference responseType) throws IOException, InterruptedException { + return get(templateId, QueryParams.empty(), responseType); + } + + /** + * Calls the contract route {@code POST /workflows/templates}. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/templates") + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/templates} using a generic response type. + * @param decoded response type + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES, List.of(), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/templates} without query parameters. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/templates} without query parameters using a generic response type. + * @param decoded response type + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(QueryParams.empty(), body, responseType); + } + + /** + * Calls the contract route {@code POST /workflows/templates/{param}/instantiate}. + * @param decoded response type + * @param templateId templateId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/templates/{param}/instantiate") + public @Nullable T instantiate(String templateId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, List.of(templateId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/templates/{param}/instantiate} using a generic response type. + * @param decoded response type + * @param templateId templateId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T instantiate(String templateId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, List.of(templateId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/templates/{param}/instantiate} without query parameters. + * @param decoded response type + * @param templateId templateId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T instantiate(String templateId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return instantiate(templateId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/templates/{param}/instantiate} without query parameters using a generic response type. + * @param decoded response type + * @param templateId templateId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T instantiate(String templateId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return instantiate(templateId, QueryParams.empty(), body, responseType); + } + +} diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsVersionsClient.java new file mode 100644 index 0000000..9b4a9b3 --- /dev/null +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsVersionsClient.java @@ -0,0 +1,71 @@ +package dev.frontal.sdk; + +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.util.List; +import org.jspecify.annotations.Nullable; + +/** Contract operations for workflows/versions. Generated by scripts/generate_endpoints.py. */ +public final class WorkflowsVersionsClient extends ServiceClient { + WorkflowsVersionsClient(ApiClient client) { + super(ApiService.WORKFLOWS, client); + } + + /** + * Calls the contract route {@code POST /workflows/{param}/versions}. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + @SdkOperation("workflows|POST|/workflows/{param}/versions") + public @Nullable T create(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(workflowId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/{param}/versions} using a generic response type. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param query query supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(workflowId), query, body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/{param}/versions} without query parameters. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + return create(workflowId, QueryParams.empty(), body, responseType); + } + /** + * Calls the contract route {@code POST /workflows/{param}/versions} without query parameters using a generic response type. + * @param decoded response type + * @param workflowId workflowId supplied to the operation + * @param body body supplied to the operation + * @param responseType responseType supplied to the operation + * @return the decoded response, or null when the response body is empty + * @throws IOException if the operation fails + * @throws InterruptedException if the operation fails + */ + public @Nullable T create(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + return create(workflowId, QueryParams.empty(), body, responseType); + } + +} diff --git a/templates/cron-export/src/main/java/dev/frontal/examples/cronexport/Main.java b/templates/cron-export/src/main/java/dev/frontal/examples/cronexport/Main.java index 440bc07..22911fd 100644 --- a/templates/cron-export/src/main/java/dev/frontal/examples/cronexport/Main.java +++ b/templates/cron-export/src/main/java/dev/frontal/examples/cronexport/Main.java @@ -46,7 +46,7 @@ private static void run(String[] args) throws IOException, InterruptedException throw new IllegalArgumentException("Output file must not be blank"); } try (Frontal client = Frontal.fromEnvironment()) { - List agents = client.agents().list(QueryParams.empty(), JsonNode.class).all(); + List agents = client.agents().listPages(QueryParams.empty(), JsonNode.class).all(); Path absoluteOutput = output.toAbsolutePath().normalize(); if (absoluteOutput.getFileName() == null) { From 8a9de6174f56befa503680d3349ae14ad2113545 Mon Sep 17 00:00:00 2001 From: Gabriel Fonseca Date: Fri, 9 Oct 2026 11:54:01 +0100 Subject: [PATCH 5/6] test: update client tests for regenerated SDK classes --- .../java/dev/frontal/sdk/ApiClientTest.java | 37 ++++++++-- .../dev/frontal/sdk/ContractCoverageTest.java | 72 +++++++------------ 2 files changed, 56 insertions(+), 53 deletions(-) diff --git a/sdk/src/test/java/dev/frontal/sdk/ApiClientTest.java b/sdk/src/test/java/dev/frontal/sdk/ApiClientTest.java index 2ee81aa..4e4d48c 100644 --- a/sdk/src/test/java/dev/frontal/sdk/ApiClientTest.java +++ b/sdk/src/test/java/dev/frontal/sdk/ApiClientTest.java @@ -99,13 +99,38 @@ void errorDiagnosticBodyIsBoundedAndMarksTruncation() { void generatedNamedServiceMethodUsesExactQueryWireNames() throws Exception { server.enqueue(new MockResponse().setBody("{\"data\":[]}")); try (Frontal client = client(0)) { - client.agents().getAgents(QueryParams.of("agentId", "agt_1"), JsonNode.class); + client.agents().list(QueryParams.of("agentId", "agt_1"), JsonNode.class); RecordedRequest request = server.takeRequest(1, TimeUnit.SECONDS); assertEquals("agt_1", request.getRequestUrl().queryParameter("agentId")); assertNull(request.getRequestUrl().queryParameter("agent_id")); } } + @Test + void nestedResourceMethodsUseTheContractRouteAndOptionalQuery() throws Exception { + server.enqueue(new MockResponse().setBody("{\"id\":\"ds_1\"}")); + try (Frontal client = client(0)) { + JsonNode dataset = Objects.requireNonNull( + client.data().ingest().datasets().get("ds_1", QueryParams.of("view", "full"), JsonNode.class)); + RecordedRequest request = server.takeRequest(1, TimeUnit.SECONDS); + assertEquals("ds_1", dataset.path("id").asText()); + assertEquals( + "/v1/data/ingest/datasets/ds_1", request.getRequestUrl().encodedPath()); + assertEquals("full", request.getRequestUrl().queryParameter("view")); + } + } + + @Test + void agentRunMethodsAreGroupedUnderTheAgentsRunsResource() throws Exception { + server.enqueue(new MockResponse().setBody("{\"id\":\"run_1\"}")); + try (Frontal client = client(0)) { + JsonNode run = Objects.requireNonNull(client.agents().runs().get("run_1", JsonNode.class)); + RecordedRequest request = server.takeRequest(1, TimeUnit.SECONDS); + assertEquals("run_1", run.path("id").asText()); + assertEquals("/v1/agents/runs/run_1", request.getPath()); + } + } + @Test void requestMapKeysRemainVerbatimOnTheJsonWire() throws Exception { server.enqueue(new MockResponse().setBody("{}")); @@ -201,8 +226,8 @@ void listPagesLoadLazilyAndKeepQueryOptions() throws Exception { server.enqueue(new MockResponse() .setBody("{\"data\":[{\"id\":\"agt_2\"}],\"pagination\":{\"cursor\":\"\",\"hasMore\":false}}")); try (Frontal client = client(0)) { - PageResult first = - client.agents().list(QueryParams.builder().add("limit", 1).build(), JsonNode.class); + PageResult first = client.agents() + .listPages(QueryParams.builder().add("limit", 1).build(), JsonNode.class); PageResult second = Objects.requireNonNull(first.nextPage()); assertEquals("agt_1", first.data().get(0).path("id").asText()); assertEquals("agt_2", second.data().get(0).path("id").asText()); @@ -220,7 +245,7 @@ void blockingStreamIteratorParsesMultilineSseDataAndCloses() throws Exception { .addHeader("Content-Type", "text/event-stream") .setBody("event: state\ndata: {\"step\":\ndata: 2}\n\ndata: done\n\n")); try (Frontal client = client(0); - SseEventIterator events = client.agents().watchBlocking("run_1")) { + SseEventIterator events = client.agents().runs().streamBlocking("run_1")) { assertEquals("{\"step\":\n2}", events.next()); assertEquals("done", events.next()); assertFalse(events.hasNext()); @@ -235,7 +260,7 @@ void publisherHonorsDemandAndCompletes() throws Exception { try (Frontal client = client(0)) { CountDownLatch complete = new CountDownLatch(1); AtomicReference received = new AtomicReference<>(); - client.agents().watch("run_2").subscribe(new Flow.Subscriber<>() { + client.agents().runs().stream("run_2").subscribe(new Flow.Subscriber<>() { @Override public void onSubscribe(Flow.Subscription value) { value.request(2); @@ -269,7 +294,7 @@ void publisherCompletesWhenFinalEventEndsAtEofWithoutDelimiter() throws Exceptio try (Frontal client = client(0)) { CountDownLatch complete = new CountDownLatch(1); AtomicReference received = new AtomicReference<>(); - client.agents().watch("run_eof").subscribe(new Flow.Subscriber<>() { + client.agents().runs().stream("run_eof").subscribe(new Flow.Subscriber<>() { @Override public void onSubscribe(Flow.Subscription value) { value.request(1); diff --git a/sdk/src/test/java/dev/frontal/sdk/ContractCoverageTest.java b/sdk/src/test/java/dev/frontal/sdk/ContractCoverageTest.java index 744761b..4a6f4a1 100644 --- a/sdk/src/test/java/dev/frontal/sdk/ContractCoverageTest.java +++ b/sdk/src/test/java/dev/frontal/sdk/ContractCoverageTest.java @@ -12,9 +12,10 @@ import java.lang.reflect.Modifier; import java.nio.file.Files; import java.nio.file.Path; +import java.util.ArrayDeque; +import java.util.Deque; import java.util.HashMap; import java.util.HashSet; -import java.util.Locale; import java.util.Map; import java.util.Optional; import java.util.Set; @@ -139,54 +140,31 @@ void everyInventoryRouteHasANamedOperationMethod() throws Exception { }); Set actual = new HashSet<>(); - for (String service : Set.of( - "agents", - "ai", - "audit", - "auth", - "billing", - "blob", - "connectors", - "connection-tests", - "data", - "events", - "governance", - "invocations", - "lineage", - "observability", - "ontology", - "pipelines", - "providers", - "react", - "sandbox", - "schedules", - "webhooks", - "webhook-endpoints", - "workflows")) { - String prefix = - switch (service) { - case "agents", "ai", "workflows" -> - service.substring(0, 1).toUpperCase(Locale.ROOT) + service.substring(1) + "ServiceClient"; - default -> - java.util.Arrays.stream(service.split("[-_]")) - .map(part -> - part.substring(0, 1).toUpperCase(Locale.ROOT) + part.substring(1)) - .collect(java.util.stream.Collectors.joining()) - + "Client"; - }; - Class clientType = Class.forName("dev.frontal.sdk." + prefix); - for (Method method : clientType.getDeclaredMethods()) { - SdkOperation operation = method.getAnnotation(SdkOperation.class); - if (operation != null) { - actual.add(operation.value()); - } + Set> visited = new HashSet<>(); + Deque pending = new ArrayDeque<>(); + try (Frontal frontal = Frontal.builder().apiKey("frt_contract_test").build()) { + for (ApiService service : ApiService.values()) { + pending.add(frontal.service(service)); } - } - for (Method method : AgentsClient.class.getDeclaredMethods()) { - SdkOperation operation = method.getAnnotation(SdkOperation.class); - if (operation != null) { - actual.add(operation.value()); + while (!pending.isEmpty()) { + ServiceClient client = pending.removeFirst(); + if (visited.add(client.getClass())) { + for (Method method : client.getClass().getMethods()) { + SdkOperation operation = method.getAnnotation(SdkOperation.class); + if (operation != null) { + actual.add(operation.value()); + } + if (method.getParameterCount() == 0 + && ServiceClient.class.isAssignableFrom(method.getReturnType())) { + pending.add((ServiceClient) method.invoke(client)); + } + } + } } + assertFalse( + java.util.Arrays.stream(AgentsServiceClient.class.getDeclaredMethods()) + .anyMatch(method -> method.getName().startsWith("getAgents")), + "Verbose service-prefixed methods must not remain in the canonical API"); } assertEquals(expected, actual, "Generated named-operation clients drifted from the route inventory"); } From c7858003dd92530154a5930e285dd0ec5c64a432 Mon Sep 17 00:00:00 2001 From: Gabriel Fonseca Date: Fri, 9 Oct 2026 12:07:14 +0100 Subject: [PATCH 6/6] chore: apply spotless formatting fixes --- .../sdk/resources/AgentsRunsClient.java | 52 +- .../sdk/resources/AgentsServiceClient.java | 60 +- .../sdk/resources/AgentsVersionsClient.java | 11 +- .../frontal/sdk/resources/AiChatClient.java | 7 - .../resources/AiChatCompletionsClient.java | 13 +- .../sdk/resources/AiInternalClient.java | 71 +- .../sdk/resources/AiInternalModelsClient.java | 8 +- .../sdk/resources/AiServiceClient.java | 5 +- .../frontal/sdk/resources/AuditClient.java | 7 - .../sdk/resources/AuditEventsClient.java | 34 +- .../sdk/resources/AuthAccountClient.java | 58 +- .../sdk/resources/AuthAccountMfaClient.java | 43 +- .../AuthAccountSecurityApiKeysClient.java | 73 +- .../resources/AuthAccountSecurityClient.java | 7 - .../AuthAccountSecurityDevicesClient.java | 81 +- .../resources/AuthAccountSessionsClient.java | 38 +- .../sdk/resources/AuthAdminClient.java | 25 +- .../sdk/resources/AuthAdminUsersClient.java | 44 +- .../AuthAdminUsersFactorsClient.java | 34 +- .../frontal/sdk/resources/AuthAuthClient.java | 19 +- .../dev/frontal/sdk/resources/AuthClient.java | 204 +- .../sdk/resources/AuthFactorsClient.java | 52 +- .../resources/AuthMfaBackupCodesClient.java | 13 +- .../frontal/sdk/resources/AuthMfaClient.java | 52 +- .../frontal/sdk/resources/AuthUserClient.java | 7 - .../resources/AuthUserIdentitiesClient.java | 31 +- .../sdk/resources/BillingAddonsClient.java | 7 - .../BillingAddonsEntitlementsClient.java | 17 +- .../frontal/sdk/resources/BillingClient.java | 7 - .../sdk/resources/BillingCustomersClient.java | 17 +- .../BillingCustomersEntitlementsClient.java | 25 +- .../BillingCustomersInvoicesClient.java | 25 +- .../BillingCustomersPortalClient.java | 17 +- .../BillingCustomersWalletsClient.java | 17 +- .../sdk/resources/BillingInvoicesClient.java | 67 +- .../sdk/resources/BillingMetersClient.java | 20 +- .../sdk/resources/BillingPlansClient.java | 14 +- .../BillingPlansEntitlementsClient.java | 14 +- .../sdk/resources/BillingPricesClient.java | 7 - .../resources/BillingPricesLookupClient.java | 11 +- .../resources/BillingSubscriptionsClient.java | 113 +- ...illingSubscriptionsEntitlementsClient.java | 25 +- .../BillingWalletsBalanceClient.java | 28 +- .../sdk/resources/BillingWalletsClient.java | 40 +- .../BillingWalletsTransactionsClient.java | 17 +- .../dev/frontal/sdk/resources/BlobClient.java | 7 - .../sdk/resources/BlobObjectClient.java | 115 +- .../sdk/resources/BlobObjectInfoClient.java | 20 +- .../sdk/resources/BlobObjectListClient.java | 13 +- .../sdk/resources/BlobObjectSignClient.java | 21 +- .../sdk/resources/ConnectionTestsClient.java | 28 +- .../resources/ConnectorsCatalogClient.java | 17 +- .../sdk/resources/ConnectorsClient.java | 8 +- .../ConnectorsConnectionTestsClient.java | 28 +- .../ConnectorsDiagnosticsClient.java | 5 +- .../ConnectorsInstallationsClient.java | 149 +- .../resources/ConnectorsSyncRunsClient.java | 28 +- .../DataAggregationsAggregationsClient.java | 39 +- ...regationsAggregationsExecutionsClient.java | 29 +- .../DataAggregationsCapabilitiesClient.java | 5 +- .../sdk/resources/DataAggregationsClient.java | 8 +- .../resources/DataAggregationsRunsClient.java | 22 +- .../resources/DataArchivalArchivalClient.java | 7 - .../DataArchivalArchivalPoliciesClient.java | 31 +- ...hivalArchivalPoliciesExecutionsClient.java | 28 +- .../DataArchivalCapabilitiesClient.java | 5 +- .../sdk/resources/DataArchivalClient.java | 8 +- .../sdk/resources/DataArchivalRunsClient.java | 22 +- .../DataCatalogCapabilitiesClient.java | 5 +- .../resources/DataCatalogCatalogClient.java | 7 - ...CatalogCatalogDatasetsArtifactsClient.java | 29 +- .../DataCatalogCatalogDatasetsClient.java | 20 +- .../DataCatalogCatalogSourcesClient.java | 20 +- .../sdk/resources/DataCatalogClient.java | 8 +- .../sdk/resources/DataCatalogRunsClient.java | 22 +- .../dev/frontal/sdk/resources/DataClient.java | 7 - .../DataEnrichmentCapabilitiesClient.java | 5 +- .../sdk/resources/DataEnrichmentClient.java | 8 +- .../DataEnrichmentEnrichmentClient.java | 7 - ...ataEnrichmentEnrichmentProfilesClient.java | 39 +- ...entEnrichmentProfilesExecutionsClient.java | 28 +- .../resources/DataEnrichmentRunsClient.java | 22 +- .../DataExportsCapabilitiesClient.java | 5 +- .../sdk/resources/DataExportsClient.java | 8 +- .../resources/DataExportsExportsClient.java | 25 +- .../DataExportsExportsExecutionsClient.java | 28 +- .../sdk/resources/DataExportsRunsClient.java | 22 +- .../DataIngestCapabilitiesClient.java | 5 +- .../sdk/resources/DataIngestClient.java | 8 +- .../DataIngestDatasetsArtifactsClient.java | 29 +- .../resources/DataIngestDatasetsClient.java | 25 +- .../sdk/resources/DataIngestRunsClient.java | 22 +- .../resources/DataIngestSchemasClient.java | 14 +- .../DataNormalizationCapabilitiesClient.java | 5 +- .../resources/DataNormalizationClient.java | 8 +- .../DataNormalizationNormalizationClient.java | 7 - ...malizationNormalizationProfilesClient.java | 51 +- ...NormalizationProfilesExecutionsClient.java | 28 +- .../DataNormalizationRunsClient.java | 22 +- .../DataPipelinesCapabilitiesClient.java | 5 +- .../sdk/resources/DataPipelinesClient.java | 8 +- .../DataPipelinesPipelineRunsClient.java | 17 +- .../DataPipelinesPipelinesClient.java | 31 +- .../resources/DataPipelinesRunsClient.java | 22 +- .../DataQualityCapabilitiesClient.java | 5 +- .../sdk/resources/DataQualityClient.java | 8 +- .../resources/DataQualityQualityClient.java | 7 - .../DataQualityQualityRulesetsClient.java | 31 +- ...alityQualityRulesetsEvaluationsClient.java | 28 +- .../sdk/resources/DataQualityRunsClient.java | 22 +- .../DataQueryCapabilitiesClient.java | 5 +- .../sdk/resources/DataQueryClient.java | 8 +- .../sdk/resources/DataQueryQueryClient.java | 13 +- .../sdk/resources/DataQueryRunsClient.java | 22 +- .../DataSchemasCapabilitiesClient.java | 5 +- .../sdk/resources/DataSchemasClient.java | 8 +- .../sdk/resources/DataSchemasRunsClient.java | 22 +- .../resources/DataSchemasSchemasClient.java | 37 +- .../DataServingCapabilitiesClient.java | 5 +- .../sdk/resources/DataServingClient.java | 8 +- .../sdk/resources/DataServingRunsClient.java | 22 +- .../resources/DataServingServingClient.java | 7 - .../DataServingServingProductsClient.java | 31 +- ...ServingServingProductsRefreshesClient.java | 28 +- .../DataStreamsCapabilitiesClient.java | 5 +- .../sdk/resources/DataStreamsClient.java | 8 +- .../sdk/resources/DataStreamsRunsClient.java | 22 +- .../resources/DataStreamsStreamsClient.java | 25 +- .../DataStreamsStreamsDeliveriesClient.java | 28 +- .../resources/DataSyncCapabilitiesClient.java | 5 +- .../frontal/sdk/resources/DataSyncClient.java | 8 +- .../sdk/resources/DataSyncRunsClient.java | 22 +- .../sdk/resources/DataSyncSyncClient.java | 7 - .../sdk/resources/DataSyncSyncJobsClient.java | 22 +- .../DataSyncSyncJobsExecutionsClient.java | 20 +- ...DataTransformationsCapabilitiesClient.java | 5 +- .../resources/DataTransformationsClient.java | 8 +- .../DataTransformationsRunsClient.java | 22 +- ...aTransformationsTransformationsClient.java | 42 +- ...ationsTransformationsExecutionsClient.java | 29 +- .../dev/frontal/sdk/resources/Endpoints.java | 3864 ++++++++--------- .../sdk/resources/EventsBenchmarkClient.java | 25 +- .../frontal/sdk/resources/EventsClient.java | 113 +- .../sdk/resources/EventsRawClient.java | 7 - .../resources/EventsRawReprocessClient.java | 25 +- .../sdk/resources/EventsReprocessClient.java | 13 +- .../sdk/resources/EventsUsageClient.java | 13 +- .../sdk/resources/GovernanceAccessClient.java | 13 +- .../sdk/resources/GovernanceClient.java | 7 - ...GovernanceComplianceAssessmentsClient.java | 39 +- .../resources/GovernanceComplianceClient.java | 5 +- .../GovernanceComplianceFrameworksClient.java | 5 +- .../GovernanceComplianceViolationsClient.java | 32 +- .../GovernancePermissionsClient.java | 25 +- .../resources/GovernancePoliciesClient.java | 71 +- .../GovernancePoliciesTemplatesClient.java | 5 +- .../GovernancePoliciesVersionsClient.java | 11 +- .../sdk/resources/GovernanceRolesClient.java | 31 +- .../sdk/resources/InvocationsClient.java | 13 +- .../frontal/sdk/resources/LineageClient.java | 16 +- .../sdk/resources/LineageEdgesClient.java | 11 +- .../sdk/resources/LineageNodesClient.java | 20 +- .../resources/ObservabilityAlertsClient.java | 104 +- .../ObservabilityAlertsIncidentsClient.java | 11 +- .../ObservabilityAlertsRulesClient.java | 113 +- .../sdk/resources/ObservabilityClient.java | 7 - .../ObservabilityDashboardsClient.java | 116 +- .../resources/ObservabilityEventsClient.java | 25 +- .../ObservabilityEventsStatsClient.java | 5 +- .../resources/ObservabilityLogsClient.java | 27 +- .../resources/ObservabilityMetricsClient.java | 19 +- .../resources/ObservabilityTracesClient.java | 28 +- .../frontal/sdk/resources/OntologyClient.java | 7 - .../OntologyEngineCapabilitiesClient.java | 5 +- .../sdk/resources/OntologyEngineClient.java | 8 +- .../OntologyEngineOntologiesClient.java | 67 +- ...EngineOntologiesCompareVersionsClient.java | 27 +- ...ogyEngineOntologiesInferClassesClient.java | 19 +- ...EngineOntologiesInferPropertiesClient.java | 27 +- .../resources/OntologyEngineRunsClient.java | 22 +- .../OntologyEventsCapabilitiesClient.java | 5 +- .../sdk/resources/OntologyEventsClient.java | 8 +- ...OntologyEventsEventsCheckpointsClient.java | 42 +- .../resources/OntologyEventsEventsClient.java | 28 +- .../OntologyEventsEventsLeasesClient.java | 45 +- .../resources/OntologyEventsRunsClient.java | 22 +- .../OntologyExtractCapabilitiesClient.java | 5 +- .../sdk/resources/OntologyExtractClient.java | 8 +- .../OntologyExtractExtractClient.java | 31 +- ...ologyExtractExtractCoreferencesClient.java | 19 +- .../OntologyExtractExtractEntitiesClient.java | 13 +- .../OntologyExtractExtractEventsClient.java | 13 +- ...OntologyExtractExtractRelationsClient.java | 19 +- .../OntologyExtractExtractTripletsClient.java | 13 +- .../resources/OntologyExtractRunsClient.java | 22 +- .../OntologyGraphCapabilitiesClient.java | 5 +- .../sdk/resources/OntologyGraphClient.java | 8 +- .../OntologyGraphEntitiesClient.java | 61 +- .../resources/OntologyGraphGraphClient.java | 73 +- .../OntologyGraphRelationshipsClient.java | 52 +- .../resources/OntologyGraphRunsClient.java | 22 +- .../OntologyObjectsCapabilitiesClient.java | 5 +- .../sdk/resources/OntologyObjectsClient.java | 8 +- .../OntologyObjectsObjectTypesClient.java | 78 +- .../OntologyObjectsObjectsClient.java | 53 +- .../resources/OntologyObjectsRunsClient.java | 22 +- .../OntologyReasoningCapabilitiesClient.java | 5 +- .../resources/OntologyReasoningClient.java | 19 +- .../OntologyReasoningFactsClient.java | 31 +- .../OntologyReasoningReasonClient.java | 31 +- .../OntologyReasoningRulesClient.java | 50 +- .../OntologyReasoningRunsClient.java | 22 +- ...tologyRelationshipsCapabilitiesClient.java | 11 +- .../OntologyRelationshipsClient.java | 8 +- ...yRelationshipsRelationshipTypesClient.java | 37 +- ...ologyRelationshipsRelationshipsClient.java | 87 +- .../OntologyRelationshipsRunsClient.java | 28 +- .../OntologyRolloutsCapabilitiesClient.java | 5 +- .../sdk/resources/OntologyRolloutsClient.java | 8 +- .../OntologyRolloutsRolloutsClient.java | 205 +- .../resources/OntologyRolloutsRunsClient.java | 22 +- .../OntologyRollupsCapabilitiesClient.java | 5 +- .../sdk/resources/OntologyRollupsClient.java | 8 +- .../OntologyRollupsRollupResultsClient.java | 25 +- .../OntologyRollupsRollupsClient.java | 142 +- .../resources/OntologyRollupsRunsClient.java | 22 +- .../OntologySchemasCapabilitiesClient.java | 5 +- .../sdk/resources/OntologySchemasClient.java | 8 +- .../resources/OntologySchemasRunsClient.java | 22 +- .../OntologySchemasSchemasClient.java | 58 +- ...logyTransformationsCapabilitiesClient.java | 11 +- .../OntologyTransformationsClient.java | 8 +- .../OntologyTransformationsRunsClient.java | 28 +- ...yTransformationsTransformationsClient.java | 19 +- .../OntologyValidationCapabilitiesClient.java | 5 +- .../resources/OntologyValidationClient.java | 8 +- .../OntologyValidationPayloadsClient.java | 19 +- .../OntologyValidationRulesClient.java | 43 +- .../OntologyValidationRunsClient.java | 28 +- .../OntologyVersionsAuditClient.java | 13 +- .../OntologyVersionsCapabilitiesClient.java | 5 +- .../sdk/resources/OntologyVersionsClient.java | 8 +- .../OntologyVersionsReleaseBundlesClient.java | 39 +- .../resources/OntologyVersionsRunsClient.java | 22 +- .../OntologyVersionsVersionsClient.java | 69 +- .../sdk/resources/PipelinesClient.java | 7 - .../sdk/resources/PipelinesDataClient.java | 7 - ...elinesDataPipelinesCapabilitiesClient.java | 5 +- .../PipelinesDataPipelinesClient.java | 8 +- ...elinesDataPipelinesPipelineRunsClient.java | 39 +- ...PipelinesDataPipelinesPipelinesClient.java | 31 +- .../PipelinesDataPipelinesRunsClient.java | 16 +- .../sdk/resources/ProvidersClient.java | 11 +- .../frontal/sdk/resources/ReactClient.java | 7 - .../frontal/sdk/resources/SandboxClient.java | 25 +- .../sdk/resources/SandboxLanguagesClient.java | 5 +- .../sdk/resources/SchedulesClient.java | 7 - .../resources/SchedulesWorkflowsClient.java | 7 - .../SchedulesWorkflowsCronClient.java | 25 +- .../SchedulesWorkflowsSchedulesClient.java | 146 +- .../sdk/resources/WebhookEndpointsClient.java | 79 +- .../WebhookEndpointsDeliveriesClient.java | 22 +- .../frontal/sdk/resources/WebhooksClient.java | 67 +- .../resources/WebhooksDeliveriesClient.java | 46 +- .../sdk/resources/WebhooksStatsClient.java | 5 +- .../resources/WorkflowsApprovalsClient.java | 73 +- .../resources/WorkflowsExecutionsClient.java | 31 +- .../WorkflowsExecutionsTasksClient.java | 25 +- .../sdk/resources/WorkflowsRunsClient.java | 7 - .../resources/WorkflowsRunsStepsClient.java | 8 +- .../sdk/resources/WorkflowsServiceClient.java | 198 +- .../sdk/resources/WorkflowsTasksClient.java | 45 +- .../resources/WorkflowsTemplatesClient.java | 59 +- .../resources/WorkflowsVersionsClient.java | 20 +- 274 files changed, 6759 insertions(+), 4544 deletions(-) diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsRunsClient.java index 73b9aae..0737b19 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AgentsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsRunsClient.java @@ -4,8 +4,8 @@ import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; -import org.jspecify.annotations.Nullable; import java.util.concurrent.Flow; +import org.jspecify.annotations.Nullable; /** Contract operations for agents/runs. Generated by scripts/generate_endpoints.py. */ public final class AgentsRunsClient extends ServiceClient { @@ -24,7 +24,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|GET|/action-runs/{param}") - public @Nullable T getByActionRunId(String actionRunId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T getByActionRunId(String actionRunId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_ACTION_RUNS_PARAM, List.of(actionRunId), query, null, responseType); } /** @@ -37,7 +38,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getByActionRunId(String actionRunId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getByActionRunId(String actionRunId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_ACTION_RUNS_PARAM, List.of(actionRunId), query, null, responseType); } /** @@ -49,7 +51,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getByActionRunId(String actionRunId, Class responseType) throws IOException, InterruptedException { + public @Nullable T getByActionRunId(String actionRunId, Class responseType) + throws IOException, InterruptedException { return getByActionRunId(actionRunId, QueryParams.empty(), responseType); } /** @@ -61,7 +64,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getByActionRunId(String actionRunId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getByActionRunId(String actionRunId, TypeReference responseType) + throws IOException, InterruptedException { return getByActionRunId(actionRunId, QueryParams.empty(), responseType); } @@ -76,7 +80,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|GET|/agents/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -89,7 +94,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -128,7 +134,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|GET|/agents/runs/{param}/conversation") - public @Nullable T conversation(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T conversation(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(runId), query, null, responseType); } /** @@ -141,7 +148,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T conversation(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T conversation(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_RUNS_PARAM_CONVERSATION, List.of(runId), query, null, responseType); } /** @@ -165,7 +173,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T conversation(String runId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T conversation(String runId, TypeReference responseType) + throws IOException, InterruptedException { return conversation(runId, QueryParams.empty(), responseType); } @@ -180,7 +189,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|GET|/agents/{param}/runs") - public @Nullable T list(String agentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T list(String agentId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_PARAM_RUNS, List.of(agentId), query, null, responseType); } /** @@ -193,7 +203,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String agentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String agentId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_PARAM_RUNS, List.of(agentId), query, null, responseType); } /** @@ -217,7 +228,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String agentId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String agentId, TypeReference responseType) + throws IOException, InterruptedException { return list(agentId, QueryParams.empty(), responseType); } @@ -233,7 +245,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|POST|/agents/{param}/runs") - public @Nullable T create(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(agentId), query, body, responseType); } /** @@ -247,7 +260,9 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create( + String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.POST_AGENTS_PARAM_RUNS, List.of(agentId), query, body, responseType); } /** @@ -260,7 +275,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String agentId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String agentId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(agentId, QueryParams.empty(), body, responseType); } /** @@ -273,7 +289,8 @@ public final class AgentsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String agentId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String agentId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(agentId, QueryParams.empty(), body, responseType); } @@ -316,5 +333,4 @@ public Flow.Publisher stream(String runId) { public SseEventIterator streamBlocking(String runId) throws IOException, InterruptedException { return streamBlocking(runId, QueryParams.empty()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java index 82ce0e7..1492695 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsServiceClient.java @@ -37,7 +37,8 @@ public AgentsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|DELETE|/agents/{param}") - public @Nullable T delete(String agentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String agentId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(agentId), query, null, responseType); } /** @@ -50,7 +51,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String agentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String agentId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.DELETE_AGENTS_PARAM, List.of(agentId), query, null, responseType); } /** @@ -74,7 +76,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String agentId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String agentId, TypeReference responseType) + throws IOException, InterruptedException { return delete(agentId, QueryParams.empty(), responseType); } @@ -100,7 +103,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS, List.of(), query, null, responseType); } /** @@ -148,7 +152,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_HEALTH, List.of(), query, null, responseType); } /** @@ -185,7 +190,8 @@ public AgentsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|GET|/agents/{param}") - public @Nullable T get(String agentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String agentId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(agentId), query, null, responseType); } /** @@ -198,7 +204,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String agentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String agentId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_PARAM, List.of(agentId), query, null, responseType); } /** @@ -237,7 +244,8 @@ public AgentsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|POST|/agents") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.POST_AGENTS, List.of(), query, body, responseType); } /** @@ -250,7 +258,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.POST_AGENTS, List.of(), query, body, responseType); } /** @@ -262,7 +271,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -274,7 +284,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -290,7 +301,8 @@ public AgentsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|POST|/agents/{param}/rollback") - public @Nullable T rollback(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T rollback(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.POST_AGENTS_PARAM_ROLLBACK, List.of(agentId), query, body, responseType); } /** @@ -304,7 +316,9 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rollback(String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T rollback( + String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.POST_AGENTS_PARAM_ROLLBACK, List.of(agentId), query, body, responseType); } /** @@ -317,7 +331,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rollback(String agentId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T rollback(String agentId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return rollback(agentId, QueryParams.empty(), body, responseType); } /** @@ -330,7 +345,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rollback(String agentId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T rollback(String agentId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return rollback(agentId, QueryParams.empty(), body, responseType); } @@ -346,7 +362,8 @@ public AgentsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|PUT|/agents/{param}") - public @Nullable T update(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String agentId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(agentId), query, body, responseType); } /** @@ -360,7 +377,9 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update( + String agentId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.PUT_AGENTS_PARAM, List.of(agentId), query, body, responseType); } /** @@ -373,7 +392,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String agentId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String agentId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(agentId, QueryParams.empty(), body, responseType); } /** @@ -386,8 +406,8 @@ public AgentsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String agentId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String agentId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(agentId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AgentsVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AgentsVersionsClient.java index f4b9ceb..e4424fb 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AgentsVersionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AgentsVersionsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,7 +22,8 @@ public final class AgentsVersionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("agents|GET|/agents/{param}/versions") - public @Nullable T list(String agentId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T list(String agentId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_PARAM_VERSIONS, List.of(agentId), query, null, responseType); } /** @@ -36,7 +36,8 @@ public final class AgentsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String agentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String agentId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Agents.GET_AGENTS_PARAM_VERSIONS, List.of(agentId), query, null, responseType); } /** @@ -60,8 +61,8 @@ public final class AgentsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String agentId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String agentId, TypeReference responseType) + throws IOException, InterruptedException { return list(agentId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiChatClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiChatClient.java index 875f928..31184df 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AiChatClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AiChatClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for ai/chat. Generated by scripts/generate_endpoints.py. */ public final class AiChatClient extends ServiceClient { AiChatClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class AiChatClient extends ServiceClient { public AiChatCompletionsClient completions() { return new AiChatCompletionsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiChatCompletionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiChatCompletionsClient.java index eb20cb1..ecc853c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AiChatCompletionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AiChatCompletionsClient.java @@ -23,7 +23,8 @@ public final class AiChatCompletionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ai|POST|/ai/chat/completions") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class AiChatCompletionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.POST_AI_CHAT_COMPLETIONS, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class AiChatCompletionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class AiChatCompletionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiInternalClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiInternalClient.java index db88d97..6861e3e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AiInternalClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AiInternalClient.java @@ -3,10 +3,10 @@ import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; import java.nio.file.Path; +import java.util.List; import java.util.Map; +import org.jspecify.annotations.Nullable; /** Contract operations for ai/internal. Generated by scripts/generate_endpoints.py. */ public final class AiInternalClient extends ServiceClient { @@ -32,7 +32,8 @@ public AiInternalModelsClient models() { * @throws InterruptedException if the operation fails */ @SdkOperation("ai|POST|/internal/embeddings") - public @Nullable T embed(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T embed(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), query, body, responseType); } /** @@ -45,7 +46,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T embed(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T embed(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.POST_INTERNAL_EMBEDDINGS, List.of(), query, body, responseType); } /** @@ -57,7 +59,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T embed(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T embed(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return embed(QueryParams.empty(), body, responseType); } /** @@ -69,7 +72,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T embed(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T embed(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return embed(QueryParams.empty(), body, responseType); } @@ -84,7 +88,8 @@ public AiInternalModelsClient models() { * @throws InterruptedException if the operation fails */ @SdkOperation("ai|POST|/internal/predictions") - public @Nullable T predict(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T predict(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); } /** @@ -97,7 +102,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T predict(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T predict(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.POST_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); } /** @@ -109,7 +115,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T predict(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T predict(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return predict(QueryParams.empty(), body, responseType); } /** @@ -121,7 +128,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T predict(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T predict(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return predict(QueryParams.empty(), body, responseType); } @@ -136,7 +144,8 @@ public AiInternalModelsClient models() { * @throws InterruptedException if the operation fails */ @SdkOperation("ai|POST|/internal/rerank") - public @Nullable T rerank(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T rerank(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), query, body, responseType); } /** @@ -149,7 +158,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rerank(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T rerank(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.POST_INTERNAL_RERANK, List.of(), query, body, responseType); } /** @@ -161,7 +171,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rerank(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T rerank(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return rerank(QueryParams.empty(), body, responseType); } /** @@ -173,7 +184,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rerank(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T rerank(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return rerank(QueryParams.empty(), body, responseType); } @@ -189,8 +201,11 @@ public AiInternalModelsClient models() { * @throws InterruptedException if the operation fails */ @SdkOperation("ai|POSTFORMDATA|/internal/predictions") - public @Nullable T predictForm(QueryParams query, Map fields, Map files, Class responseType) throws IOException, InterruptedException { - return requestForm(Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); + public @Nullable T predictForm( + QueryParams query, Map fields, Map files, Class responseType) + throws IOException, InterruptedException { + return requestForm( + Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); } /** * Calls the contract route {@code POSTFORMDATA /internal/predictions} using a generic response type. @@ -203,8 +218,11 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T predictForm(QueryParams query, Map fields, Map files, TypeReference responseType) throws IOException, InterruptedException { - return requestForm(Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); + public @Nullable T predictForm( + QueryParams query, Map fields, Map files, TypeReference responseType) + throws IOException, InterruptedException { + return requestForm( + Endpoints.Ai.POSTFORMDATA_INTERNAL_PREDICTIONS, List.of(), query, fields, files, responseType); } /** * Calls the contract route {@code POSTFORMDATA /internal/predictions} without query parameters. @@ -216,7 +234,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T predictForm(Map fields, Map files, Class responseType) throws IOException, InterruptedException { + public @Nullable T predictForm(Map fields, Map files, Class responseType) + throws IOException, InterruptedException { return predictForm(QueryParams.empty(), fields, files, responseType); } /** @@ -229,7 +248,9 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T predictForm(Map fields, Map files, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T predictForm( + Map fields, Map files, TypeReference responseType) + throws IOException, InterruptedException { return predictForm(QueryParams.empty(), fields, files, responseType); } @@ -244,7 +265,8 @@ public AiInternalModelsClient models() { * @throws InterruptedException if the operation fails */ @SdkOperation("ai|POSTRAW|/internal/predictions") - public @Nullable T predictRaw(QueryParams query, byte[] body, Class responseType) throws IOException, InterruptedException { + public @Nullable T predictRaw(QueryParams query, byte[] body, Class responseType) + throws IOException, InterruptedException { return requestRaw(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); } /** @@ -257,7 +279,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T predictRaw(QueryParams query, byte[] body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T predictRaw(QueryParams query, byte[] body, TypeReference responseType) + throws IOException, InterruptedException { return requestRaw(Endpoints.Ai.POSTRAW_INTERNAL_PREDICTIONS, List.of(), query, body, responseType); } /** @@ -281,8 +304,8 @@ public AiInternalModelsClient models() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T predictRaw(byte[] body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T predictRaw(byte[] body, TypeReference responseType) + throws IOException, InterruptedException { return predictRaw(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiInternalModelsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiInternalModelsClient.java index 38f787d..fef6c44 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AiInternalModelsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AiInternalModelsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class AiInternalModelsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.GET_INTERNAL_MODELS, List.of(), query, null, responseType); } /** @@ -82,7 +82,8 @@ public final class AiInternalModelsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T defaults(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T defaults(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.GET_INTERNAL_MODELS_DEFAULTS, List.of(), query, null, responseType); } /** @@ -107,5 +108,4 @@ public final class AiInternalModelsClient extends ServiceClient { public @Nullable T defaults(TypeReference responseType) throws IOException, InterruptedException { return defaults(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java index 3952992..25d4043 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AiServiceClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -48,7 +47,8 @@ public AiInternalClient internal() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ai.GET_HEALTH, List.of(), query, null, responseType); } /** @@ -73,5 +73,4 @@ public AiInternalClient internal() { public @Nullable T health(TypeReference responseType) throws IOException, InterruptedException { return health(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java index cbec918..c6ff239 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuditClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for audit. Generated by scripts/generate_endpoints.py. */ public final class AuditClient extends ServiceClient { AuditClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class AuditClient extends ServiceClient { public AuditEventsClient events() { return new AuditEventsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuditEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuditEventsClient.java index 56991b7..9c5af96 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuditEventsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuditEventsClient.java @@ -34,7 +34,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Audit.GET_AUDIT_EVENTS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("audit|GET|/audit/events/{param}") - public @Nullable T get(String eventId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String eventId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Audit.GET_AUDIT_EVENTS_PARAM, List.of(eventId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String eventId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String eventId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Audit.GET_AUDIT_EVENTS_PARAM, List.of(eventId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("audit|POST|/audit/events") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Audit.POST_AUDIT_EVENTS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Audit.POST_AUDIT_EVENTS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,7 +166,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -175,7 +182,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("audit|POST|/audit/events/batch") - public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Audit.POST_AUDIT_EVENTS_BATCH, List.of(), query, body, responseType); } /** @@ -188,7 +196,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Audit.POST_AUDIT_EVENTS_BATCH, List.of(), query, body, responseType); } /** @@ -200,7 +209,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T batch(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return batch(QueryParams.empty(), body, responseType); } /** @@ -212,8 +222,8 @@ public final class AuditEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return batch(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountClient.java index 528baf0..7ba3f99 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountClient.java @@ -43,7 +43,8 @@ public AuthAccountSessionsClient sessions() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/account/profile") - public @Nullable T deleteProfile(QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T deleteProfile(QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); } /** @@ -55,7 +56,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T deleteProfile(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T deleteProfile(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); } /** @@ -91,7 +93,8 @@ public AuthAccountSessionsClient sessions() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|GET|/auth/account/audit-log") - public @Nullable T getAuditLog(QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T getAuditLog(QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_AUDIT_LOG, List.of(), query, null, responseType); } /** @@ -103,7 +106,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getAuditLog(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getAuditLog(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_AUDIT_LOG, List.of(), query, null, responseType); } /** @@ -151,7 +155,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getMfa(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getMfa(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA, List.of(), query, null, responseType); } /** @@ -187,7 +192,8 @@ public AuthAccountSessionsClient sessions() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|GET|/auth/account/profile") - public @Nullable T getProfile(QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T getProfile(QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); } /** @@ -199,7 +205,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getProfile(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getProfile(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_PROFILE, List.of(), query, null, responseType); } /** @@ -236,7 +243,8 @@ public AuthAccountSessionsClient sessions() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/account/mfa") - public @Nullable T createMfa(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createMfa(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA, List.of(), query, body, responseType); } /** @@ -249,7 +257,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createMfa(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createMfa(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA, List.of(), query, body, responseType); } /** @@ -261,7 +270,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createMfa(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createMfa(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createMfa(QueryParams.empty(), body, responseType); } /** @@ -273,7 +283,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createMfa(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createMfa(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createMfa(QueryParams.empty(), body, responseType); } @@ -288,7 +299,8 @@ public AuthAccountSessionsClient sessions() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/account/password") - public @Nullable T createPassword(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createPassword(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_PASSWORD, List.of(), query, body, responseType); } /** @@ -301,7 +313,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPassword(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createPassword(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_PASSWORD, List.of(), query, body, responseType); } /** @@ -313,7 +326,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPassword(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createPassword(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createPassword(QueryParams.empty(), body, responseType); } /** @@ -325,7 +339,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPassword(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createPassword(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createPassword(QueryParams.empty(), body, responseType); } @@ -340,7 +355,8 @@ public AuthAccountSessionsClient sessions() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|PUT|/auth/account/profile") - public @Nullable T updateProfile(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T updateProfile(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_PROFILE, List.of(), query, body, responseType); } /** @@ -353,7 +369,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T updateProfile(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T updateProfile(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_PROFILE, List.of(), query, body, responseType); } /** @@ -365,7 +382,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T updateProfile(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T updateProfile(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return updateProfile(QueryParams.empty(), body, responseType); } /** @@ -377,8 +395,8 @@ public AuthAccountSessionsClient sessions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T updateProfile(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T updateProfile(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return updateProfile(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountMfaClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountMfaClient.java index 7bd7a5f..2b93ed3 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountMfaClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountMfaClient.java @@ -23,7 +23,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/account/mfa/{param}") - public @Nullable T delete(String mfaId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String mfaId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_MFA_PARAM, List.of(mfaId), query, null, responseType); } /** @@ -36,7 +37,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String mfaId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String mfaId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_MFA_PARAM, List.of(mfaId), query, null, responseType); } /** @@ -60,7 +62,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String mfaId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String mfaId, TypeReference responseType) + throws IOException, InterruptedException { return delete(mfaId, QueryParams.empty(), responseType); } @@ -75,7 +78,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|GET|/auth/account/mfa/{param}") - public @Nullable T get(String mfaId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String mfaId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA_PARAM, List.of(mfaId), query, null, responseType); } /** @@ -88,7 +92,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String mfaId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String mfaId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_MFA_PARAM, List.of(mfaId), query, null, responseType); } /** @@ -128,7 +133,9 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/account/mfa/{param}/challenge") - public @Nullable T createChallenge(String mfaId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createChallenge( + String mfaId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE, List.of(mfaId), query, body, responseType); } /** @@ -142,7 +149,9 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createChallenge(String mfaId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createChallenge( + String mfaId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE, List.of(mfaId), query, body, responseType); } /** @@ -155,7 +164,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createChallenge(String mfaId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createChallenge(String mfaId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createChallenge(mfaId, QueryParams.empty(), body, responseType); } /** @@ -168,7 +178,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createChallenge(String mfaId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createChallenge(String mfaId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createChallenge(mfaId, QueryParams.empty(), body, responseType); } @@ -184,7 +195,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/account/mfa/{param}/verify") - public @Nullable T verify(String mfaId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(String mfaId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY, List.of(mfaId), query, body, responseType); } /** @@ -198,7 +210,9 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(String mfaId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify( + String mfaId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY, List.of(mfaId), query, body, responseType); } /** @@ -211,7 +225,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(String mfaId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(String mfaId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return verify(mfaId, QueryParams.empty(), body, responseType); } /** @@ -224,8 +239,8 @@ public final class AuthAccountMfaClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(String mfaId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify(String mfaId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return verify(mfaId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityApiKeysClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityApiKeysClient.java index 3e6a639..ea1d904 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityApiKeysClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityApiKeysClient.java @@ -23,8 +23,14 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/account/security/api-keys/{param}") - public @Nullable T delete(String apiKeyId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); + public @Nullable T delete(String apiKeyId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, + List.of(apiKeyId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String apiKeyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); + public @Nullable T delete(String apiKeyId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, + List.of(apiKeyId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /auth/account/security/api-keys/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String apiKeyId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String apiKeyId, TypeReference responseType) + throws IOException, InterruptedException { return delete(apiKeyId, QueryParams.empty(), responseType); } @@ -86,7 +99,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, null, responseType); } /** @@ -123,8 +137,10 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|GET|/auth/account/security/api-keys/{param}") - public @Nullable T get(String apiKeyId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); + public @Nullable T get(String apiKeyId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); } /** * Calls the contract route {@code GET /auth/account/security/api-keys/{param}} using a generic response type. @@ -136,8 +152,10 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String apiKeyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); + public @Nullable T get(String apiKeyId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, null, responseType); } /** * Calls the contract route {@code GET /auth/account/security/api-keys/{param}} without query parameters. @@ -160,7 +178,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String apiKeyId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String apiKeyId, TypeReference responseType) + throws IOException, InterruptedException { return get(apiKeyId, QueryParams.empty(), responseType); } @@ -175,7 +194,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/account/security/api-keys") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, body, responseType); } /** @@ -188,7 +208,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_API_KEYS, List.of(), query, body, responseType); } /** @@ -200,7 +221,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -212,7 +234,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -228,8 +251,10 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|PUT|/auth/account/security/api-keys/{param}") - public @Nullable T update(String apiKeyId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, body, responseType); + public @Nullable T update(String apiKeyId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, body, responseType); } /** * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}} using a generic response type. @@ -242,8 +267,11 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String apiKeyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, body, responseType); + public @Nullable T update( + String apiKeyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM, List.of(apiKeyId), query, body, responseType); } /** * Calls the contract route {@code PUT /auth/account/security/api-keys/{param}} without query parameters. @@ -255,7 +283,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String apiKeyId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String apiKeyId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(apiKeyId, QueryParams.empty(), body, responseType); } /** @@ -268,8 +297,8 @@ public final class AuthAccountSecurityApiKeysClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String apiKeyId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String apiKeyId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(apiKeyId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityClient.java index 3b44df6..2b0ac8b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for auth/account/security. Generated by scripts/generate_endpoints.py. */ public final class AuthAccountSecurityClient extends ServiceClient { AuthAccountSecurityClient(ApiClient client) { @@ -25,5 +19,4 @@ public AuthAccountSecurityApiKeysClient apiKeys() { public AuthAccountSecurityDevicesClient devices() { return new AuthAccountSecurityDevicesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityDevicesClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityDevicesClient.java index 7634c19..2bff5aa 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityDevicesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSecurityDevicesClient.java @@ -23,8 +23,14 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/account/security/devices/{param}") - public @Nullable T delete(String deviceId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); + public @Nullable T delete(String deviceId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, + List.of(deviceId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /auth/account/security/devices/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String deviceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); + public @Nullable T delete(String deviceId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, + List.of(deviceId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /auth/account/security/devices/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String deviceId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String deviceId, TypeReference responseType) + throws IOException, InterruptedException { return delete(deviceId, QueryParams.empty(), responseType); } @@ -86,7 +99,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, null, responseType); } /** @@ -123,8 +137,10 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|GET|/auth/account/security/devices/{param}") - public @Nullable T get(String deviceId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); + public @Nullable T get(String deviceId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); } /** * Calls the contract route {@code GET /auth/account/security/devices/{param}} using a generic response type. @@ -136,8 +152,10 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String deviceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); + public @Nullable T get(String deviceId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM, List.of(deviceId), query, null, responseType); } /** * Calls the contract route {@code GET /auth/account/security/devices/{param}} without query parameters. @@ -160,7 +178,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String deviceId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String deviceId, TypeReference responseType) + throws IOException, InterruptedException { return get(deviceId, QueryParams.empty(), responseType); } @@ -175,7 +194,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/account/security/devices") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, body, responseType); } /** @@ -188,7 +208,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES, List.of(), query, body, responseType); } /** @@ -200,7 +221,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -212,7 +234,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -228,8 +251,14 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/account/security/devices/{param}/trust") - public @Nullable T trust(String deviceId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, List.of(deviceId), query, body, responseType); + public @Nullable T trust(String deviceId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, + List.of(deviceId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust} using a generic response type. @@ -242,8 +271,15 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T trust(String deviceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, List.of(deviceId), query, body, responseType); + public @Nullable T trust( + String deviceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST, + List.of(deviceId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /auth/account/security/devices/{param}/trust} without query parameters. @@ -255,7 +291,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T trust(String deviceId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T trust(String deviceId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return trust(deviceId, QueryParams.empty(), body, responseType); } /** @@ -268,8 +305,8 @@ public final class AuthAccountSecurityDevicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T trust(String deviceId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T trust(String deviceId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return trust(deviceId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSessionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSessionsClient.java index 15e491b..1277daa 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSessionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAccountSessionsClient.java @@ -23,8 +23,10 @@ public final class AuthAccountSessionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/account/sessions/{param}") - public @Nullable T delete(String sessionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(sessionId), query, null, responseType); + public @Nullable T delete(String sessionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(sessionId), query, null, responseType); } /** * Calls the contract route {@code DELETE /auth/account/sessions/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class AuthAccountSessionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String sessionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(sessionId), query, null, responseType); + public @Nullable T delete(String sessionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ACCOUNT_SESSIONS_PARAM, List.of(sessionId), query, null, responseType); } /** * Calls the contract route {@code DELETE /auth/account/sessions/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class AuthAccountSessionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String sessionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String sessionId, TypeReference responseType) + throws IOException, InterruptedException { return delete(sessionId, QueryParams.empty(), responseType); } @@ -86,7 +91,8 @@ public final class AuthAccountSessionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ACCOUNT_SESSIONS, List.of(), query, null, responseType); } /** @@ -124,8 +130,10 @@ public final class AuthAccountSessionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/account/sessions/{param}/extend") - public @Nullable T extend(String sessionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(sessionId), query, body, responseType); + public @Nullable T extend(String sessionId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(sessionId), query, body, responseType); } /** * Calls the contract route {@code POST /auth/account/sessions/{param}/extend} using a generic response type. @@ -138,8 +146,11 @@ public final class AuthAccountSessionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T extend(String sessionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(sessionId), query, body, responseType); + public @Nullable T extend( + String sessionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND, List.of(sessionId), query, body, responseType); } /** * Calls the contract route {@code POST /auth/account/sessions/{param}/extend} without query parameters. @@ -151,7 +162,8 @@ public final class AuthAccountSessionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T extend(String sessionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T extend(String sessionId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return extend(sessionId, QueryParams.empty(), body, responseType); } /** @@ -164,8 +176,8 @@ public final class AuthAccountSessionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T extend(String sessionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T extend(String sessionId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return extend(sessionId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminClient.java index 2b88156..c5f3330 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminClient.java @@ -30,7 +30,8 @@ public AuthAdminUsersClient users() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/admin/generate_link") - public @Nullable T createGenerateLink(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createGenerateLink(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ADMIN_GENERATE_LINK, List.of(), query, body, responseType); } /** @@ -43,7 +44,8 @@ public AuthAdminUsersClient users() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createGenerateLink(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createGenerateLink(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ADMIN_GENERATE_LINK, List.of(), query, body, responseType); } /** @@ -55,7 +57,8 @@ public AuthAdminUsersClient users() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createGenerateLink(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createGenerateLink(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createGenerateLink(QueryParams.empty(), body, responseType); } /** @@ -67,7 +70,8 @@ public AuthAdminUsersClient users() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createGenerateLink(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createGenerateLink(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createGenerateLink(QueryParams.empty(), body, responseType); } @@ -82,7 +86,8 @@ public AuthAdminUsersClient users() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/admin/logout") - public @Nullable T logout(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T logout(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ADMIN_LOGOUT, List.of(), query, body, responseType); } /** @@ -95,7 +100,8 @@ public AuthAdminUsersClient users() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T logout(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T logout(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ADMIN_LOGOUT, List.of(), query, body, responseType); } /** @@ -107,7 +113,8 @@ public AuthAdminUsersClient users() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T logout(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T logout(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return logout(QueryParams.empty(), body, responseType); } /** @@ -119,8 +126,8 @@ public AuthAdminUsersClient users() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T logout(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T logout(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return logout(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersClient.java index 9b36500..c61db53 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersClient.java @@ -30,7 +30,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/admin/users/{param}") - public @Nullable T delete(String userId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String userId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, null, responseType); } /** @@ -43,7 +44,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String userId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String userId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, null, responseType); } /** @@ -67,7 +69,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String userId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String userId, TypeReference responseType) + throws IOException, InterruptedException { return delete(userId, QueryParams.empty(), responseType); } @@ -93,7 +96,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS, List.of(), query, null, responseType); } /** @@ -130,7 +134,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|GET|/auth/admin/users/{param}") - public @Nullable T get(String userId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String userId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, null, responseType); } /** @@ -143,7 +148,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String userId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String userId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, null, responseType); } /** @@ -182,7 +188,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/admin/users") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ADMIN_USERS, List.of(), query, body, responseType); } /** @@ -195,7 +202,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_ADMIN_USERS, List.of(), query, body, responseType); } /** @@ -207,7 +215,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -219,7 +228,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -235,7 +245,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|PUT|/auth/admin/users/{param}") - public @Nullable T update(String userId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String userId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.PUT_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, body, responseType); } /** @@ -249,7 +260,9 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String userId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update( + String userId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.PUT_AUTH_ADMIN_USERS_PARAM, List.of(userId), query, body, responseType); } /** @@ -262,7 +275,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String userId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String userId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(userId, QueryParams.empty(), body, responseType); } /** @@ -275,8 +289,8 @@ public AuthAdminUsersFactorsClient factors() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String userId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String userId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(userId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersFactorsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersFactorsClient.java index 8ecd709..2af4b06 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersFactorsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAdminUsersFactorsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -24,8 +23,14 @@ public final class AuthAdminUsersFactorsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/admin/users/{param}/factors/{param}") - public @Nullable T delete(String userId, String factorId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, List.of(userId, factorId), query, null, responseType); + public @Nullable T delete(String userId, String factorId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, + List.of(userId, factorId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}} using a generic response type. @@ -38,8 +43,14 @@ public final class AuthAdminUsersFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String userId, String factorId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, List.of(userId, factorId), query, null, responseType); + public @Nullable T delete(String userId, String factorId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM, + List.of(userId, factorId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /auth/admin/users/{param}/factors/{param}} without query parameters. @@ -51,7 +62,8 @@ public final class AuthAdminUsersFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String userId, String factorId, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String userId, String factorId, Class responseType) + throws IOException, InterruptedException { return delete(userId, factorId, QueryParams.empty(), responseType); } /** @@ -64,7 +76,8 @@ public final class AuthAdminUsersFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String userId, String factorId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String userId, String factorId, TypeReference responseType) + throws IOException, InterruptedException { return delete(userId, factorId, QueryParams.empty(), responseType); } @@ -79,7 +92,8 @@ public final class AuthAdminUsersFactorsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|GET|/auth/admin/users/{param}/factors") - public @Nullable T list(String userId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T list(String userId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM_FACTORS, List.of(userId), query, null, responseType); } /** @@ -92,7 +106,8 @@ public final class AuthAdminUsersFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String userId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String userId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_ADMIN_USERS_PARAM_FACTORS, List.of(userId), query, null, responseType); } /** @@ -119,5 +134,4 @@ public final class AuthAdminUsersFactorsClient extends ServiceClient { public @Nullable T list(String userId, TypeReference responseType) throws IOException, InterruptedException { return list(userId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthAuthClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthAuthClient.java index e8fe024..fe04e59 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthAuthClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthAuthClient.java @@ -22,7 +22,8 @@ public final class AuthAuthClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|GET|/auth/auth/session") - public @Nullable T getSession(QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T getSession(QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_AUTH_SESSION, List.of(), query, null, responseType); } /** @@ -34,7 +35,8 @@ public final class AuthAuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getSession(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getSession(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_AUTH_SESSION, List.of(), query, null, responseType); } /** @@ -71,7 +73,8 @@ public final class AuthAuthClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/auth/session") - public @Nullable T createSession(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createSession(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_AUTH_SESSION, List.of(), query, body, responseType); } /** @@ -84,7 +87,8 @@ public final class AuthAuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSession(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createSession(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_AUTH_SESSION, List.of(), query, body, responseType); } /** @@ -96,7 +100,8 @@ public final class AuthAuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSession(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createSession(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createSession(QueryParams.empty(), body, responseType); } /** @@ -108,8 +113,8 @@ public final class AuthAuthClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSession(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createSession(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createSession(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java index 7743f9b..321ebd0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthClient.java @@ -76,7 +76,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getUser(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getUser(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_USER, List.of(), query, null, responseType); } /** @@ -113,7 +114,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/authorize") - public @Nullable T createAuthorize(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createAuthorize(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_AUTHORIZE, List.of(), query, body, responseType); } /** @@ -126,7 +128,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAuthorize(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createAuthorize(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_AUTHORIZE, List.of(), query, body, responseType); } /** @@ -138,7 +141,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAuthorize(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createAuthorize(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createAuthorize(QueryParams.empty(), body, responseType); } /** @@ -150,7 +154,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAuthorize(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createAuthorize(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createAuthorize(QueryParams.empty(), body, responseType); } @@ -165,7 +170,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/invite") - public @Nullable T createInvite(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createInvite(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_INVITE, List.of(), query, body, responseType); } /** @@ -178,7 +184,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createInvite(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createInvite(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_INVITE, List.of(), query, body, responseType); } /** @@ -190,7 +197,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createInvite(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createInvite(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createInvite(QueryParams.empty(), body, responseType); } /** @@ -202,7 +210,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createInvite(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createInvite(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createInvite(QueryParams.empty(), body, responseType); } @@ -217,7 +226,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/login") - public @Nullable T login(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T login(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_LOGIN, List.of(), query, body, responseType); } /** @@ -230,7 +240,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T login(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T login(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_LOGIN, List.of(), query, body, responseType); } /** @@ -242,7 +253,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T login(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T login(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return login(QueryParams.empty(), body, responseType); } /** @@ -254,7 +266,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T login(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T login(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return login(QueryParams.empty(), body, responseType); } @@ -269,7 +282,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/logout") - public @Nullable T logout(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T logout(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_LOGOUT, List.of(), query, body, responseType); } /** @@ -282,7 +296,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T logout(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T logout(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_LOGOUT, List.of(), query, body, responseType); } /** @@ -294,7 +309,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T logout(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T logout(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return logout(QueryParams.empty(), body, responseType); } /** @@ -306,7 +322,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T logout(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T logout(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return logout(QueryParams.empty(), body, responseType); } @@ -321,7 +338,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/otp") - public @Nullable T createOtp(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createOtp(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_OTP, List.of(), query, body, responseType); } /** @@ -334,7 +352,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createOtp(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createOtp(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_OTP, List.of(), query, body, responseType); } /** @@ -346,7 +365,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createOtp(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createOtp(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createOtp(QueryParams.empty(), body, responseType); } /** @@ -358,7 +378,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createOtp(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createOtp(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createOtp(QueryParams.empty(), body, responseType); } @@ -373,7 +394,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/reauthenticate") - public @Nullable T createReauthenticate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createReauthenticate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_REAUTHENTICATE, List.of(), query, body, responseType); } /** @@ -386,7 +408,9 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createReauthenticate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createReauthenticate( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_REAUTHENTICATE, List.of(), query, body, responseType); } /** @@ -398,7 +422,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createReauthenticate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createReauthenticate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createReauthenticate(QueryParams.empty(), body, responseType); } /** @@ -410,7 +435,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createReauthenticate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createReauthenticate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createReauthenticate(QueryParams.empty(), body, responseType); } @@ -425,7 +451,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/recover") - public @Nullable T createRecover(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createRecover(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_RECOVER, List.of(), query, body, responseType); } /** @@ -438,7 +465,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createRecover(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createRecover(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_RECOVER, List.of(), query, body, responseType); } /** @@ -450,7 +478,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createRecover(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createRecover(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createRecover(QueryParams.empty(), body, responseType); } /** @@ -462,7 +491,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createRecover(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createRecover(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createRecover(QueryParams.empty(), body, responseType); } @@ -477,7 +507,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/resend") - public @Nullable T createResend(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createResend(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_RESEND, List.of(), query, body, responseType); } /** @@ -490,7 +521,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createResend(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createResend(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_RESEND, List.of(), query, body, responseType); } /** @@ -502,7 +534,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createResend(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createResend(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createResend(QueryParams.empty(), body, responseType); } /** @@ -514,7 +547,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createResend(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createResend(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createResend(QueryParams.empty(), body, responseType); } @@ -529,7 +563,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/signup") - public @Nullable T createSignup(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createSignup(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_SIGNUP, List.of(), query, body, responseType); } /** @@ -542,7 +577,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSignup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createSignup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_SIGNUP, List.of(), query, body, responseType); } /** @@ -554,7 +590,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSignup(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createSignup(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createSignup(QueryParams.empty(), body, responseType); } /** @@ -566,7 +603,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSignup(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createSignup(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createSignup(QueryParams.empty(), body, responseType); } @@ -581,7 +619,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/sso") - public @Nullable T createSso(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createSso(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_SSO, List.of(), query, body, responseType); } /** @@ -594,7 +633,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSso(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createSso(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_SSO, List.of(), query, body, responseType); } /** @@ -606,7 +646,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSso(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createSso(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createSso(QueryParams.empty(), body, responseType); } /** @@ -618,7 +659,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSso(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createSso(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createSso(QueryParams.empty(), body, responseType); } @@ -633,7 +675,9 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/token?grant_type=id_token") - public @Nullable T createTokenGrantTypeIdToken(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypeIdToken( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN, List.of(), query, body, responseType); } /** @@ -646,7 +690,9 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypeIdToken(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypeIdToken( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN, List.of(), query, body, responseType); } /** @@ -658,7 +704,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypeIdToken(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypeIdToken(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createTokenGrantTypeIdToken(QueryParams.empty(), body, responseType); } /** @@ -670,7 +717,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypeIdToken(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypeIdToken(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createTokenGrantTypeIdToken(QueryParams.empty(), body, responseType); } @@ -685,7 +733,9 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/token?grant_type=password") - public @Nullable T createTokenGrantTypePassword(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePassword( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD, List.of(), query, body, responseType); } /** @@ -698,7 +748,9 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypePassword(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePassword( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD, List.of(), query, body, responseType); } /** @@ -710,7 +762,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypePassword(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePassword(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createTokenGrantTypePassword(QueryParams.empty(), body, responseType); } /** @@ -722,7 +775,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypePassword(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePassword(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createTokenGrantTypePassword(QueryParams.empty(), body, responseType); } @@ -737,7 +791,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/token?grant_type=pkce") - public @Nullable T createTokenGrantTypePkce(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePkce(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PKCE, List.of(), query, body, responseType); } /** @@ -750,7 +805,9 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypePkce(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePkce( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_PKCE, List.of(), query, body, responseType); } /** @@ -762,7 +819,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypePkce(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePkce(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createTokenGrantTypePkce(QueryParams.empty(), body, responseType); } /** @@ -774,7 +832,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypePkce(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypePkce(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createTokenGrantTypePkce(QueryParams.empty(), body, responseType); } @@ -789,7 +848,9 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/token?grant_type=refresh_token") - public @Nullable T createTokenGrantTypeRefreshToken(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypeRefreshToken( + QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN, List.of(), query, body, responseType); } /** @@ -802,7 +863,9 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypeRefreshToken(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypeRefreshToken( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN, List.of(), query, body, responseType); } /** @@ -814,7 +877,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypeRefreshToken(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypeRefreshToken(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createTokenGrantTypeRefreshToken(QueryParams.empty(), body, responseType); } /** @@ -826,7 +890,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTokenGrantTypeRefreshToken(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTokenGrantTypeRefreshToken(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createTokenGrantTypeRefreshToken(QueryParams.empty(), body, responseType); } @@ -841,7 +906,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/verify") - public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_VERIFY, List.of(), query, body, responseType); } /** @@ -854,7 +920,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_VERIFY, List.of(), query, body, responseType); } /** @@ -866,7 +933,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return verify(QueryParams.empty(), body, responseType); } /** @@ -878,7 +946,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return verify(QueryParams.empty(), body, responseType); } @@ -893,7 +962,8 @@ public AuthUserClient user() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|PUT|/auth/user") - public @Nullable T updateUser(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T updateUser(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.PUT_AUTH_USER, List.of(), query, body, responseType); } /** @@ -906,7 +976,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T updateUser(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T updateUser(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.PUT_AUTH_USER, List.of(), query, body, responseType); } /** @@ -918,7 +989,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T updateUser(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T updateUser(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return updateUser(QueryParams.empty(), body, responseType); } /** @@ -930,8 +1002,8 @@ public AuthUserClient user() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T updateUser(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T updateUser(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return updateUser(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthFactorsClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthFactorsClient.java index 96d6649..c57bf56 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthFactorsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthFactorsClient.java @@ -23,7 +23,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/factors/{param}") - public @Nullable T delete(String factorId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String factorId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.DELETE_AUTH_FACTORS_PARAM, List.of(factorId), query, null, responseType); } /** @@ -36,7 +37,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String factorId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String factorId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.DELETE_AUTH_FACTORS_PARAM, List.of(factorId), query, null, responseType); } /** @@ -60,7 +62,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String factorId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String factorId, TypeReference responseType) + throws IOException, InterruptedException { return delete(factorId, QueryParams.empty(), responseType); } @@ -86,7 +89,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_FACTORS, List.of(), query, null, responseType); } /** @@ -123,7 +127,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/factors") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_FACTORS, List.of(), query, body, responseType); } /** @@ -136,7 +141,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_FACTORS, List.of(), query, body, responseType); } /** @@ -148,7 +154,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,7 +167,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -176,7 +184,9 @@ public final class AuthFactorsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/factors/{param}/challenge") - public @Nullable T createChallenge(String factorId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createChallenge( + String factorId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_CHALLENGE, List.of(factorId), query, body, responseType); } /** @@ -190,7 +200,9 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createChallenge(String factorId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createChallenge( + String factorId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_CHALLENGE, List.of(factorId), query, body, responseType); } /** @@ -203,7 +215,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createChallenge(String factorId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createChallenge(String factorId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createChallenge(factorId, QueryParams.empty(), body, responseType); } /** @@ -216,7 +229,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createChallenge(String factorId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createChallenge(String factorId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createChallenge(factorId, QueryParams.empty(), body, responseType); } @@ -232,7 +246,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/factors/{param}/verify") - public @Nullable T verify(String factorId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(String factorId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_VERIFY, List.of(factorId), query, body, responseType); } /** @@ -246,7 +261,9 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(String factorId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify( + String factorId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_FACTORS_PARAM_VERIFY, List.of(factorId), query, body, responseType); } /** @@ -259,7 +276,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(String factorId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(String factorId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return verify(factorId, QueryParams.empty(), body, responseType); } /** @@ -272,8 +290,8 @@ public final class AuthFactorsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(String factorId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify(String factorId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return verify(factorId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthMfaBackupCodesClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthMfaBackupCodesClient.java index ac75c6e..c687faf 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthMfaBackupCodesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthMfaBackupCodesClient.java @@ -23,7 +23,8 @@ public final class AuthMfaBackupCodesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/mfa/backup-codes/regenerate") - public @Nullable T createRegenerate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createRegenerate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_BACKUP_CODES_REGENERATE, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class AuthMfaBackupCodesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createRegenerate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createRegenerate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_BACKUP_CODES_REGENERATE, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class AuthMfaBackupCodesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createRegenerate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createRegenerate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createRegenerate(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class AuthMfaBackupCodesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createRegenerate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createRegenerate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createRegenerate(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthMfaClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthMfaClient.java index 6549462..d73386a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthMfaClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthMfaClient.java @@ -41,7 +41,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T status(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T status(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_MFA_STATUS, List.of(), query, null, responseType); } /** @@ -78,7 +79,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/mfa/disable") - public @Nullable T disable(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T disable(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_DISABLE, List.of(), query, body, responseType); } /** @@ -91,7 +93,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T disable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_DISABLE, List.of(), query, body, responseType); } /** @@ -103,7 +106,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T disable(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return disable(QueryParams.empty(), body, responseType); } /** @@ -115,7 +119,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T disable(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return disable(QueryParams.empty(), body, responseType); } @@ -130,7 +135,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/mfa/enable") - public @Nullable T enable(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T enable(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_ENABLE, List.of(), query, body, responseType); } /** @@ -143,7 +149,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T enable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T enable(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_ENABLE, List.of(), query, body, responseType); } /** @@ -155,7 +162,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T enable(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T enable(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return enable(QueryParams.empty(), body, responseType); } /** @@ -167,7 +175,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T enable(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T enable(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return enable(QueryParams.empty(), body, responseType); } @@ -182,7 +191,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/mfa/setup") - public @Nullable T setup(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T setup(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_SETUP, List.of(), query, body, responseType); } /** @@ -195,7 +205,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T setup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T setup(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_SETUP, List.of(), query, body, responseType); } /** @@ -207,7 +218,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T setup(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T setup(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return setup(QueryParams.empty(), body, responseType); } /** @@ -219,7 +231,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T setup(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T setup(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return setup(QueryParams.empty(), body, responseType); } @@ -234,7 +247,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/mfa/verify") - public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_VERIFY, List.of(), query, body, responseType); } /** @@ -247,7 +261,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_MFA_VERIFY, List.of(), query, body, responseType); } /** @@ -259,7 +274,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return verify(QueryParams.empty(), body, responseType); } /** @@ -271,8 +287,8 @@ public AuthMfaBackupCodesClient backupCodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return verify(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthUserClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthUserClient.java index 39a91e2..9bcbb5c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthUserClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthUserClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for auth/user. Generated by scripts/generate_endpoints.py. */ public final class AuthUserClient extends ServiceClient { AuthUserClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class AuthUserClient extends ServiceClient { public AuthUserIdentitiesClient identities() { return new AuthUserIdentitiesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/AuthUserIdentitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/AuthUserIdentitiesClient.java index fd0947c..56401c6 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/AuthUserIdentitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/AuthUserIdentitiesClient.java @@ -23,8 +23,10 @@ public final class AuthUserIdentitiesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|DELETE|/auth/user/identities/{param}") - public @Nullable T delete(String identityId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(identityId), query, null, responseType); + public @Nullable T delete(String identityId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(identityId), query, null, responseType); } /** * Calls the contract route {@code DELETE /auth/user/identities/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class AuthUserIdentitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String identityId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(identityId), query, null, responseType); + public @Nullable T delete(String identityId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Auth.DELETE_AUTH_USER_IDENTITIES_PARAM, List.of(identityId), query, null, responseType); } /** * Calls the contract route {@code DELETE /auth/user/identities/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class AuthUserIdentitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String identityId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String identityId, TypeReference responseType) + throws IOException, InterruptedException { return delete(identityId, QueryParams.empty(), responseType); } @@ -86,7 +91,8 @@ public final class AuthUserIdentitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.GET_AUTH_USER_IDENTITIES, List.of(), query, null, responseType); } /** @@ -123,7 +129,8 @@ public final class AuthUserIdentitiesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("auth|POST|/auth/user/identities") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_USER_IDENTITIES, List.of(), query, body, responseType); } /** @@ -136,7 +143,8 @@ public final class AuthUserIdentitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Auth.POST_AUTH_USER_IDENTITIES, List.of(), query, body, responseType); } /** @@ -148,7 +156,8 @@ public final class AuthUserIdentitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +169,8 @@ public final class AuthUserIdentitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsClient.java index 60bdaeb..2351bc8 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for billing/addons. Generated by scripts/generate_endpoints.py. */ public final class BillingAddonsClient extends ServiceClient { BillingAddonsClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class BillingAddonsClient extends ServiceClient { public BillingAddonsEntitlementsClient entitlements() { return new BillingAddonsEntitlementsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsEntitlementsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsEntitlementsClient.java index cdca069..fa14261 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsEntitlementsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingAddonsEntitlementsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,10 @@ public final class BillingAddonsEntitlementsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/addons/{param}/entitlements") - public @Nullable T list(String addonId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, List.of(addonId), query, null, responseType); + public @Nullable T list(String addonId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, List.of(addonId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/addons/{param}/entitlements} using a generic response type. @@ -36,8 +37,10 @@ public final class BillingAddonsEntitlementsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String addonId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, List.of(addonId), query, null, responseType); + public @Nullable T list(String addonId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_ADDONS_PARAM_ENTITLEMENTS, List.of(addonId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/addons/{param}/entitlements} without query parameters. @@ -60,8 +63,8 @@ public final class BillingAddonsEntitlementsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String addonId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String addonId, TypeReference responseType) + throws IOException, InterruptedException { return list(addonId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java index 3eb8452..089494e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for billing. Generated by scripts/generate_endpoints.py. */ public final class BillingClient extends ServiceClient { BillingClient(ApiClient client) { @@ -67,5 +61,4 @@ public BillingSubscriptionsClient subscriptions() { public BillingWalletsClient wallets() { return new BillingWalletsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersClient.java index 7270db1..1f0d573 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -51,8 +50,10 @@ public BillingCustomersWalletsClient wallets() { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/customers/{param}/usage") - public @Nullable T usage(String customerId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(customerId), query, null, responseType); + public @Nullable T usage(String customerId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(customerId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/customers/{param}/usage} using a generic response type. @@ -64,8 +65,10 @@ public BillingCustomersWalletsClient wallets() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T usage(String customerId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(customerId), query, null, responseType); + public @Nullable T usage(String customerId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_USAGE, List.of(customerId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/customers/{param}/usage} without query parameters. @@ -88,8 +91,8 @@ public BillingCustomersWalletsClient wallets() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T usage(String customerId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T usage(String customerId, TypeReference responseType) + throws IOException, InterruptedException { return usage(customerId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersEntitlementsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersEntitlementsClient.java index 9fd82be..9740966 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersEntitlementsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersEntitlementsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class BillingCustomersEntitlementsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/customers/{param}/entitlements") - public @Nullable T list(String customerId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, List.of(customerId), query, null, responseType); + public @Nullable T list(String customerId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, + List.of(customerId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /billing/customers/{param}/entitlements} using a generic response type. @@ -36,8 +41,14 @@ public final class BillingCustomersEntitlementsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String customerId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, List.of(customerId), query, null, responseType); + public @Nullable T list(String customerId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS, + List.of(customerId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /billing/customers/{param}/entitlements} without query parameters. @@ -60,8 +71,8 @@ public final class BillingCustomersEntitlementsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String customerId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String customerId, TypeReference responseType) + throws IOException, InterruptedException { return list(customerId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersInvoicesClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersInvoicesClient.java index acbea46..14d964b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersInvoicesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersInvoicesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class BillingCustomersInvoicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/customers/{param}/invoices/summary") - public @Nullable T summary(String customerId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, List.of(customerId), query, null, responseType); + public @Nullable T summary(String customerId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, + List.of(customerId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary} using a generic response type. @@ -36,8 +41,14 @@ public final class BillingCustomersInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T summary(String customerId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, List.of(customerId), query, null, responseType); + public @Nullable T summary(String customerId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY, + List.of(customerId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /billing/customers/{param}/invoices/summary} without query parameters. @@ -60,8 +71,8 @@ public final class BillingCustomersInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T summary(String customerId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T summary(String customerId, TypeReference responseType) + throws IOException, InterruptedException { return summary(customerId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersPortalClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersPortalClient.java index 8d73e0b..cd6dfa8 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersPortalClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersPortalClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,10 @@ public final class BillingCustomersPortalClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/customers/portal/{param}") - public @Nullable T get(String portalId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(portalId), query, null, responseType); + public @Nullable T get(String portalId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(portalId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/customers/portal/{param}} using a generic response type. @@ -36,8 +37,10 @@ public final class BillingCustomersPortalClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String portalId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(portalId), query, null, responseType); + public @Nullable T get(String portalId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PORTAL_PARAM, List.of(portalId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/customers/portal/{param}} without query parameters. @@ -60,8 +63,8 @@ public final class BillingCustomersPortalClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String portalId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String portalId, TypeReference responseType) + throws IOException, InterruptedException { return get(portalId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersWalletsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersWalletsClient.java index ea373eb..3514354 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersWalletsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingCustomersWalletsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,10 @@ public final class BillingCustomersWalletsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/customers/{param}/wallets") - public @Nullable T list(String customerId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(customerId), query, null, responseType); + public @Nullable T list(String customerId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(customerId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/customers/{param}/wallets} using a generic response type. @@ -36,8 +37,10 @@ public final class BillingCustomersWalletsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String customerId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(customerId), query, null, responseType); + public @Nullable T list(String customerId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_CUSTOMERS_PARAM_WALLETS, List.of(customerId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/customers/{param}/wallets} without query parameters. @@ -60,8 +63,8 @@ public final class BillingCustomersWalletsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String customerId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String customerId, TypeReference responseType) + throws IOException, InterruptedException { return list(customerId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingInvoicesClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingInvoicesClient.java index e1793ba..399421a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingInvoicesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingInvoicesClient.java @@ -23,8 +23,10 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GETRAW|/billing/invoices/{param}/pdf") - public @Nullable T getPdf(String invoiceId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(invoiceId), query, null, responseType); + public @Nullable T getPdf(String invoiceId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(invoiceId), query, null, responseType); } /** * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf} using a generic response type. @@ -36,8 +38,10 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getPdf(String invoiceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(invoiceId), query, null, responseType); + public @Nullable T getPdf(String invoiceId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GETRAW_BILLING_INVOICES_PARAM_PDF, List.of(invoiceId), query, null, responseType); } /** * Calls the contract route {@code GETRAW /billing/invoices/{param}/pdf} without query parameters. @@ -60,7 +64,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getPdf(String invoiceId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getPdf(String invoiceId, TypeReference responseType) + throws IOException, InterruptedException { return getPdf(invoiceId, QueryParams.empty(), responseType); } @@ -75,7 +80,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/invoices/preview") - public @Nullable T preview(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T preview(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Billing.POST_BILLING_INVOICES_PREVIEW, List.of(), query, body, responseType); } /** @@ -88,7 +94,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T preview(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T preview(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Billing.POST_BILLING_INVOICES_PREVIEW, List.of(), query, body, responseType); } /** @@ -100,7 +107,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T preview(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T preview(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return preview(QueryParams.empty(), body, responseType); } /** @@ -112,7 +120,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T preview(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T preview(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return preview(QueryParams.empty(), body, responseType); } @@ -128,8 +137,10 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/invoices/{param}/finalize") - public @Nullable T finalize(String invoiceId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(invoiceId), query, body, responseType); + public @Nullable T finalize(String invoiceId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(invoiceId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/invoices/{param}/finalize} using a generic response type. @@ -142,8 +153,11 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T finalize(String invoiceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(invoiceId), query, body, responseType); + public @Nullable T finalize( + String invoiceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_INVOICES_PARAM_FINALIZE, List.of(invoiceId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/invoices/{param}/finalize} without query parameters. @@ -155,7 +169,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T finalize(String invoiceId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T finalize(String invoiceId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return finalize(invoiceId, QueryParams.empty(), body, responseType); } /** @@ -168,7 +183,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T finalize(String invoiceId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T finalize(String invoiceId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return finalize(invoiceId, QueryParams.empty(), body, responseType); } @@ -184,8 +200,11 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/invoices/{param}/void") - public @Nullable T resourceVoid(String invoiceId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(invoiceId), query, body, responseType); + public @Nullable T resourceVoid( + String invoiceId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(invoiceId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/invoices/{param}/void} using a generic response type. @@ -198,8 +217,11 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resourceVoid(String invoiceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(invoiceId), query, body, responseType); + public @Nullable T resourceVoid( + String invoiceId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_INVOICES_PARAM_VOID, List.of(invoiceId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/invoices/{param}/void} without query parameters. @@ -211,7 +233,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resourceVoid(String invoiceId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T resourceVoid(String invoiceId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return resourceVoid(invoiceId, QueryParams.empty(), body, responseType); } /** @@ -224,8 +247,8 @@ public final class BillingInvoicesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resourceVoid(String invoiceId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T resourceVoid(String invoiceId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return resourceVoid(invoiceId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingMetersClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingMetersClient.java index 79e854c..9ef148f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingMetersClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingMetersClient.java @@ -24,8 +24,10 @@ public final class BillingMetersClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/meters/{param}/disable") - public @Nullable T disable(String meterId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(meterId), query, body, responseType); + public @Nullable T disable(String meterId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(meterId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/meters/{param}/disable} using a generic response type. @@ -38,8 +40,11 @@ public final class BillingMetersClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(String meterId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(meterId), query, body, responseType); + public @Nullable T disable( + String meterId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_METERS_PARAM_DISABLE, List.of(meterId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/meters/{param}/disable} without query parameters. @@ -51,7 +56,8 @@ public final class BillingMetersClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(String meterId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T disable(String meterId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return disable(meterId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +70,8 @@ public final class BillingMetersClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(String meterId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T disable(String meterId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return disable(meterId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingPlansClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingPlansClient.java index 646876b..6b15cd2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingPlansClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingPlansClient.java @@ -31,7 +31,8 @@ public BillingPlansEntitlementsClient entitlements() { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/plans/{param}/clone") - public @Nullable T clone(String planId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T clone(String planId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Billing.POST_BILLING_PLANS_PARAM_CLONE, List.of(planId), query, body, responseType); } /** @@ -45,7 +46,9 @@ public BillingPlansEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T clone(String planId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T clone( + String planId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Billing.POST_BILLING_PLANS_PARAM_CLONE, List.of(planId), query, body, responseType); } /** @@ -58,7 +61,8 @@ public BillingPlansEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T clone(String planId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T clone(String planId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return clone(planId, QueryParams.empty(), body, responseType); } /** @@ -71,8 +75,8 @@ public BillingPlansEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T clone(String planId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T clone(String planId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return clone(planId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingPlansEntitlementsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingPlansEntitlementsClient.java index 08f2fa8..b2d1c00 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingPlansEntitlementsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingPlansEntitlementsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,10 @@ public final class BillingPlansEntitlementsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/plans/{param}/entitlements") - public @Nullable T list(String planId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(planId), query, null, responseType); + public @Nullable T list(String planId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(planId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/plans/{param}/entitlements} using a generic response type. @@ -36,8 +37,10 @@ public final class BillingPlansEntitlementsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String planId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(planId), query, null, responseType); + public @Nullable T list(String planId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_PLANS_PARAM_ENTITLEMENTS, List.of(planId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/plans/{param}/entitlements} without query parameters. @@ -63,5 +66,4 @@ public final class BillingPlansEntitlementsClient extends ServiceClient { public @Nullable T list(String planId, TypeReference responseType) throws IOException, InterruptedException { return list(planId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingPricesClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingPricesClient.java index 2ab20f7..b48a418 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingPricesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingPricesClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for billing/prices. Generated by scripts/generate_endpoints.py. */ public final class BillingPricesClient extends ServiceClient { BillingPricesClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class BillingPricesClient extends ServiceClient { public BillingPricesLookupClient lookup() { return new BillingPricesLookupClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingPricesLookupClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingPricesLookupClient.java index 41f6bc0..a95a28d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingPricesLookupClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingPricesLookupClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,7 +22,8 @@ public final class BillingPricesLookupClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/prices/lookup/{param}") - public @Nullable T get(String lookupId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String lookupId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Billing.GET_BILLING_PRICES_LOOKUP_PARAM, List.of(lookupId), query, null, responseType); } /** @@ -36,7 +36,8 @@ public final class BillingPricesLookupClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String lookupId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String lookupId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Billing.GET_BILLING_PRICES_LOOKUP_PARAM, List.of(lookupId), query, null, responseType); } /** @@ -60,8 +61,8 @@ public final class BillingPricesLookupClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String lookupId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String lookupId, TypeReference responseType) + throws IOException, InterruptedException { return get(lookupId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsClient.java index 327e881..b50321d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsClient.java @@ -31,8 +31,15 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/subscriptions/{param}/activate") - public @Nullable T activate(String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, List.of(subscriptionId), query, body, responseType); + public @Nullable T activate( + String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, + List.of(subscriptionId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /billing/subscriptions/{param}/activate} using a generic response type. @@ -45,8 +52,15 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T activate(String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, List.of(subscriptionId), query, body, responseType); + public @Nullable T activate( + String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE, + List.of(subscriptionId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /billing/subscriptions/{param}/activate} without query parameters. @@ -58,7 +72,8 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T activate(String subscriptionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T activate(String subscriptionId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return activate(subscriptionId, QueryParams.empty(), body, responseType); } /** @@ -71,7 +86,8 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T activate(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T activate(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return activate(subscriptionId, QueryParams.empty(), body, responseType); } @@ -87,8 +103,15 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/subscriptions/{param}/cancel") - public @Nullable T cancel(String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, List.of(subscriptionId), query, body, responseType); + public @Nullable T cancel( + String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, + List.of(subscriptionId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel} using a generic response type. @@ -101,8 +124,15 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T cancel(String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, List.of(subscriptionId), query, body, responseType); + public @Nullable T cancel( + String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL, + List.of(subscriptionId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /billing/subscriptions/{param}/cancel} without query parameters. @@ -114,7 +144,8 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T cancel(String subscriptionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T cancel(String subscriptionId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return cancel(subscriptionId, QueryParams.empty(), body, responseType); } /** @@ -127,7 +158,8 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T cancel(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T cancel(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return cancel(subscriptionId, QueryParams.empty(), body, responseType); } @@ -143,8 +175,15 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/subscriptions/{param}/pause") - public @Nullable T pause(String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, List.of(subscriptionId), query, body, responseType); + public @Nullable T pause( + String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, + List.of(subscriptionId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /billing/subscriptions/{param}/pause} using a generic response type. @@ -157,8 +196,15 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, List.of(subscriptionId), query, body, responseType); + public @Nullable T pause( + String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE, + List.of(subscriptionId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /billing/subscriptions/{param}/pause} without query parameters. @@ -170,7 +216,8 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String subscriptionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T pause(String subscriptionId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return pause(subscriptionId, QueryParams.empty(), body, responseType); } /** @@ -183,7 +230,8 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T pause(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return pause(subscriptionId, QueryParams.empty(), body, responseType); } @@ -199,8 +247,15 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/subscriptions/{param}/resume") - public @Nullable T resume(String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, List.of(subscriptionId), query, body, responseType); + public @Nullable T resume( + String subscriptionId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, + List.of(subscriptionId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /billing/subscriptions/{param}/resume} using a generic response type. @@ -213,8 +268,15 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, List.of(subscriptionId), query, body, responseType); + public @Nullable T resume( + String subscriptionId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME, + List.of(subscriptionId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /billing/subscriptions/{param}/resume} without query parameters. @@ -226,7 +288,8 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String subscriptionId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T resume(String subscriptionId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return resume(subscriptionId, QueryParams.empty(), body, responseType); } /** @@ -239,8 +302,8 @@ public BillingSubscriptionsEntitlementsClient entitlements() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T resume(String subscriptionId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return resume(subscriptionId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsEntitlementsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsEntitlementsClient.java index 836b0f6..0f29160 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsEntitlementsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingSubscriptionsEntitlementsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class BillingSubscriptionsEntitlementsClient extends ServiceClient * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/subscriptions/{param}/entitlements") - public @Nullable T list(String subscriptionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, List.of(subscriptionId), query, null, responseType); + public @Nullable T list(String subscriptionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, + List.of(subscriptionId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements} using a generic response type. @@ -36,8 +41,14 @@ public final class BillingSubscriptionsEntitlementsClient extends ServiceClient * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String subscriptionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, List.of(subscriptionId), query, null, responseType); + public @Nullable T list(String subscriptionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS, + List.of(subscriptionId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /billing/subscriptions/{param}/entitlements} without query parameters. @@ -60,8 +71,8 @@ public final class BillingSubscriptionsEntitlementsClient extends ServiceClient * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String subscriptionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String subscriptionId, TypeReference responseType) + throws IOException, InterruptedException { return list(subscriptionId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsBalanceClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsBalanceClient.java index 4a82768..83f1a75 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsBalanceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsBalanceClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class BillingWalletsBalanceClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/wallets/{param}/balance/real-time") - public @Nullable T getRealTime(String walletId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, List.of(walletId), query, null, responseType); + public @Nullable T getRealTime(String walletId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, + List.of(walletId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time} using a generic response type. @@ -36,8 +41,14 @@ public final class BillingWalletsBalanceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getRealTime(String walletId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, List.of(walletId), query, null, responseType); + public @Nullable T getRealTime(String walletId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME, + List.of(walletId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /billing/wallets/{param}/balance/real-time} without query parameters. @@ -48,7 +59,8 @@ public final class BillingWalletsBalanceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getRealTime(String walletId, Class responseType) throws IOException, InterruptedException { + public @Nullable T getRealTime(String walletId, Class responseType) + throws IOException, InterruptedException { return getRealTime(walletId, QueryParams.empty(), responseType); } /** @@ -60,8 +72,8 @@ public final class BillingWalletsBalanceClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getRealTime(String walletId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getRealTime(String walletId, TypeReference responseType) + throws IOException, InterruptedException { return getRealTime(walletId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsClient.java index 96cff0e..87146e7 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsClient.java @@ -38,8 +38,11 @@ public BillingWalletsTransactionsClient transactions() { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/wallets/{param}/terminate") - public @Nullable T createTerminate(String walletId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(walletId), query, body, responseType); + public @Nullable T createTerminate( + String walletId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(walletId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/wallets/{param}/terminate} using a generic response type. @@ -52,8 +55,11 @@ public BillingWalletsTransactionsClient transactions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTerminate(String walletId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(walletId), query, body, responseType); + public @Nullable T createTerminate( + String walletId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TERMINATE, List.of(walletId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/wallets/{param}/terminate} without query parameters. @@ -65,7 +71,8 @@ public BillingWalletsTransactionsClient transactions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTerminate(String walletId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createTerminate(String walletId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createTerminate(walletId, QueryParams.empty(), body, responseType); } /** @@ -78,7 +85,8 @@ public BillingWalletsTransactionsClient transactions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createTerminate(String walletId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createTerminate(String walletId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createTerminate(walletId, QueryParams.empty(), body, responseType); } @@ -94,8 +102,10 @@ public BillingWalletsTransactionsClient transactions() { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|POST|/billing/wallets/{param}/top-up") - public @Nullable T topUp(String walletId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(walletId), query, body, responseType); + public @Nullable T topUp(String walletId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(walletId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/wallets/{param}/top-up} using a generic response type. @@ -108,8 +118,11 @@ public BillingWalletsTransactionsClient transactions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T topUp(String walletId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(walletId), query, body, responseType); + public @Nullable T topUp( + String walletId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.POST_BILLING_WALLETS_PARAM_TOP_UP, List.of(walletId), query, body, responseType); } /** * Calls the contract route {@code POST /billing/wallets/{param}/top-up} without query parameters. @@ -121,7 +134,8 @@ public BillingWalletsTransactionsClient transactions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T topUp(String walletId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T topUp(String walletId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return topUp(walletId, QueryParams.empty(), body, responseType); } /** @@ -134,8 +148,8 @@ public BillingWalletsTransactionsClient transactions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T topUp(String walletId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T topUp(String walletId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return topUp(walletId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsTransactionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsTransactionsClient.java index de68b0a..6cfbed9 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsTransactionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BillingWalletsTransactionsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,10 @@ public final class BillingWalletsTransactionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("billing|GET|/billing/wallets/{param}/transactions") - public @Nullable T list(String walletId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, List.of(walletId), query, null, responseType); + public @Nullable T list(String walletId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, List.of(walletId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/wallets/{param}/transactions} using a generic response type. @@ -36,8 +37,10 @@ public final class BillingWalletsTransactionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String walletId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, List.of(walletId), query, null, responseType); + public @Nullable T list(String walletId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Billing.GET_BILLING_WALLETS_PARAM_TRANSACTIONS, List.of(walletId), query, null, responseType); } /** * Calls the contract route {@code GET /billing/wallets/{param}/transactions} without query parameters. @@ -60,8 +63,8 @@ public final class BillingWalletsTransactionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String walletId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String walletId, TypeReference responseType) + throws IOException, InterruptedException { return list(walletId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java index ac1e688..2957690 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for blob. Generated by scripts/generate_endpoints.py. */ public final class BlobClient extends ServiceClient { BlobClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class BlobClient extends ServiceClient { public BlobObjectClient object() { return new BlobObjectClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectClient.java index 5be80d9..3458c1e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectClient.java @@ -3,10 +3,10 @@ import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; import java.nio.file.Path; +import java.util.List; import java.util.Map; +import org.jspecify.annotations.Nullable; /** Contract operations for blob/object. Generated by scripts/generate_endpoints.py. */ public final class BlobObjectClient extends ServiceClient { @@ -47,8 +47,10 @@ public BlobObjectSignClient sign() { * @throws InterruptedException if the operation fails */ @SdkOperation("blob|DELETE|/blob/object/{param}/{param}") - public @Nullable T delete(String objectId, String objectId2, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); + public @Nullable T delete(String objectId, String objectId2, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); } /** * Calls the contract route {@code DELETE /blob/object/{param}/{param}} using a generic response type. @@ -61,8 +63,10 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String objectId, String objectId2, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); + public @Nullable T delete(String objectId, String objectId2, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.DELETE_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); } /** * Calls the contract route {@code DELETE /blob/object/{param}/{param}} without query parameters. @@ -74,7 +78,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String objectId, String objectId2, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String objectId, String objectId2, Class responseType) + throws IOException, InterruptedException { return delete(objectId, objectId2, QueryParams.empty(), responseType); } /** @@ -87,7 +92,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String objectId, String objectId2, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String objectId, String objectId2, TypeReference responseType) + throws IOException, InterruptedException { return delete(objectId, objectId2, QueryParams.empty(), responseType); } @@ -103,8 +109,10 @@ public BlobObjectSignClient sign() { * @throws InterruptedException if the operation fails */ @SdkOperation("blob|GET|/blob/object/{param}/{param}") - public @Nullable T get(String objectId, String objectId2, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); + public @Nullable T get(String objectId, String objectId2, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); } /** * Calls the contract route {@code GET /blob/object/{param}/{param}} using a generic response type. @@ -117,8 +125,10 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String objectId, String objectId2, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); + public @Nullable T get(String objectId, String objectId2, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.GET_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, null, responseType); } /** * Calls the contract route {@code GET /blob/object/{param}/{param}} without query parameters. @@ -130,7 +140,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String objectId, String objectId2, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String objectId, String objectId2, Class responseType) + throws IOException, InterruptedException { return get(objectId, objectId2, QueryParams.empty(), responseType); } /** @@ -143,7 +154,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String objectId, String objectId2, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String objectId, String objectId2, TypeReference responseType) + throws IOException, InterruptedException { return get(objectId, objectId2, QueryParams.empty(), responseType); } @@ -158,7 +170,8 @@ public BlobObjectSignClient sign() { * @throws InterruptedException if the operation fails */ @SdkOperation("blob|POST|/blob/object/copy") - public @Nullable T copy(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T copy(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Blob.POST_BLOB_OBJECT_COPY, List.of(), query, body, responseType); } /** @@ -171,7 +184,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T copy(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T copy(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Blob.POST_BLOB_OBJECT_COPY, List.of(), query, body, responseType); } /** @@ -183,7 +197,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T copy(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T copy(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return copy(QueryParams.empty(), body, responseType); } /** @@ -195,7 +210,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T copy(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T copy(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return copy(QueryParams.empty(), body, responseType); } @@ -210,7 +226,8 @@ public BlobObjectSignClient sign() { * @throws InterruptedException if the operation fails */ @SdkOperation("blob|POST|/blob/object/move") - public @Nullable T move(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T move(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Blob.POST_BLOB_OBJECT_MOVE, List.of(), query, body, responseType); } /** @@ -223,7 +240,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T move(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T move(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Blob.POST_BLOB_OBJECT_MOVE, List.of(), query, body, responseType); } /** @@ -235,7 +253,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T move(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T move(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return move(QueryParams.empty(), body, responseType); } /** @@ -247,7 +266,8 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T move(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T move(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return move(QueryParams.empty(), body, responseType); } @@ -265,8 +285,21 @@ public BlobObjectSignClient sign() { * @throws InterruptedException if the operation fails */ @SdkOperation("blob|POSTFORMDATA|/blob/object/{param}/{param}") - public @Nullable T get2(String objectId, String objectId2, QueryParams query, Map fields, Map files, Class responseType) throws IOException, InterruptedException { - return requestForm(Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, fields, files, responseType); + public @Nullable T get2( + String objectId, + String objectId2, + QueryParams query, + Map fields, + Map files, + Class responseType) + throws IOException, InterruptedException { + return requestForm( + Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, + List.of(objectId, objectId2), + query, + fields, + files, + responseType); } /** * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}} using a generic response type. @@ -281,8 +314,21 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get2(String objectId, String objectId2, QueryParams query, Map fields, Map files, TypeReference responseType) throws IOException, InterruptedException { - return requestForm(Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, List.of(objectId, objectId2), query, fields, files, responseType); + public @Nullable T get2( + String objectId, + String objectId2, + QueryParams query, + Map fields, + Map files, + TypeReference responseType) + throws IOException, InterruptedException { + return requestForm( + Endpoints.Blob.POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM, + List.of(objectId, objectId2), + query, + fields, + files, + responseType); } /** * Calls the contract route {@code POSTFORMDATA /blob/object/{param}/{param}} without query parameters. @@ -296,7 +342,13 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get2(String objectId, String objectId2, Map fields, Map files, Class responseType) throws IOException, InterruptedException { + public @Nullable T get2( + String objectId, + String objectId2, + Map fields, + Map files, + Class responseType) + throws IOException, InterruptedException { return get2(objectId, objectId2, QueryParams.empty(), fields, files, responseType); } /** @@ -311,8 +363,13 @@ public BlobObjectSignClient sign() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get2(String objectId, String objectId2, Map fields, Map files, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get2( + String objectId, + String objectId2, + Map fields, + Map files, + TypeReference responseType) + throws IOException, InterruptedException { return get2(objectId, objectId2, QueryParams.empty(), fields, files, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectInfoClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectInfoClient.java index 155b56f..6ad3d14 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectInfoClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectInfoClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -24,8 +23,10 @@ public final class BlobObjectInfoClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("blob|GET|/blob/object/info/{param}/{param}") - public @Nullable T get(String infoId, String infoId2, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, List.of(infoId, infoId2), query, null, responseType); + public @Nullable T get(String infoId, String infoId2, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, List.of(infoId, infoId2), query, null, responseType); } /** * Calls the contract route {@code GET /blob/object/info/{param}/{param}} using a generic response type. @@ -38,8 +39,10 @@ public final class BlobObjectInfoClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String infoId, String infoId2, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, List.of(infoId, infoId2), query, null, responseType); + public @Nullable T get(String infoId, String infoId2, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.GET_BLOB_OBJECT_INFO_PARAM_PARAM, List.of(infoId, infoId2), query, null, responseType); } /** * Calls the contract route {@code GET /blob/object/info/{param}/{param}} without query parameters. @@ -51,7 +54,8 @@ public final class BlobObjectInfoClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String infoId, String infoId2, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String infoId, String infoId2, Class responseType) + throws IOException, InterruptedException { return get(infoId, infoId2, QueryParams.empty(), responseType); } /** @@ -64,8 +68,8 @@ public final class BlobObjectInfoClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String infoId, String infoId2, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String infoId, String infoId2, TypeReference responseType) + throws IOException, InterruptedException { return get(infoId, infoId2, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectListClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectListClient.java index 783ec27..32be73c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectListClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectListClient.java @@ -24,7 +24,8 @@ public final class BlobObjectListClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("blob|POST|/blob/object/list/{param}") - public @Nullable T get(String listId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String listId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Blob.POST_BLOB_OBJECT_LIST_PARAM, List.of(listId), query, body, responseType); } /** @@ -38,7 +39,8 @@ public final class BlobObjectListClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String listId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String listId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Blob.POST_BLOB_OBJECT_LIST_PARAM, List.of(listId), query, body, responseType); } /** @@ -51,7 +53,8 @@ public final class BlobObjectListClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String listId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String listId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return get(listId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +67,8 @@ public final class BlobObjectListClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String listId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String listId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return get(listId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectSignClient.java b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectSignClient.java index 637e56c..a45d479 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/BlobObjectSignClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/BlobObjectSignClient.java @@ -25,8 +25,11 @@ public final class BlobObjectSignClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("blob|POST|/blob/object/sign/{param}/{param}") - public @Nullable T get(String signId, String signId2, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, List.of(signId, signId2), query, body, responseType); + public @Nullable T get( + String signId, String signId2, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, List.of(signId, signId2), query, body, responseType); } /** * Calls the contract route {@code POST /blob/object/sign/{param}/{param}} using a generic response type. @@ -40,8 +43,11 @@ public final class BlobObjectSignClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String signId, String signId2, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, List.of(signId, signId2), query, body, responseType); + public @Nullable T get( + String signId, String signId2, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Blob.POST_BLOB_OBJECT_SIGN_PARAM_PARAM, List.of(signId, signId2), query, body, responseType); } /** * Calls the contract route {@code POST /blob/object/sign/{param}/{param}} without query parameters. @@ -54,7 +60,8 @@ public final class BlobObjectSignClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String signId, String signId2, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String signId, String signId2, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return get(signId, signId2, QueryParams.empty(), body, responseType); } /** @@ -68,8 +75,8 @@ public final class BlobObjectSignClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String signId, String signId2, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String signId, String signId2, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return get(signId, signId2, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java index 332a49b..4109f9f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectionTestsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class ConnectionTestsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connection-tests|GET|/connection-tests/{param}") - public @Nullable T get(String connectionTestId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, List.of(connectionTestId), query, null, responseType); + public @Nullable T get(String connectionTestId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, + List.of(connectionTestId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /connection-tests/{param}} using a generic response type. @@ -36,8 +41,14 @@ public final class ConnectionTestsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String connectionTestId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, List.of(connectionTestId), query, null, responseType); + public @Nullable T get(String connectionTestId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.ConnectionTests.GET_CONNECTION_TESTS_PARAM, + List.of(connectionTestId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /connection-tests/{param}} without query parameters. @@ -48,7 +59,8 @@ public final class ConnectionTestsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String connectionTestId, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String connectionTestId, Class responseType) + throws IOException, InterruptedException { return get(connectionTestId, QueryParams.empty(), responseType); } /** @@ -60,8 +72,8 @@ public final class ConnectionTestsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String connectionTestId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String connectionTestId, TypeReference responseType) + throws IOException, InterruptedException { return get(connectionTestId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsCatalogClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsCatalogClient.java index 0eea92c..64338da 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsCatalogClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsCatalogClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,10 @@ public final class ConnectorsCatalogClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|GET|/connectors/catalog/{param}") - public @Nullable T get(String catalogId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(catalogId), query, null, responseType); + public @Nullable T get(String catalogId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(catalogId), query, null, responseType); } /** * Calls the contract route {@code GET /connectors/catalog/{param}} using a generic response type. @@ -36,8 +37,10 @@ public final class ConnectorsCatalogClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String catalogId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(catalogId), query, null, responseType); + public @Nullable T get(String catalogId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_CATALOG_PARAM, List.of(catalogId), query, null, responseType); } /** * Calls the contract route {@code GET /connectors/catalog/{param}} without query parameters. @@ -60,8 +63,8 @@ public final class ConnectorsCatalogClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String catalogId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String catalogId, TypeReference responseType) + throws IOException, InterruptedException { return get(catalogId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java index 3187b74..264ae1c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -57,7 +56,8 @@ public ConnectorsSyncRunsClient syncRuns() { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|GET|/connectors/catalog") - public @Nullable T getCatalog(QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T getCatalog(QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG, List.of(), query, null, responseType); } /** @@ -69,7 +69,8 @@ public ConnectorsSyncRunsClient syncRuns() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getCatalog(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getCatalog(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Connectors.GET_CONNECTORS_CATALOG, List.of(), query, null, responseType); } /** @@ -94,5 +95,4 @@ public ConnectorsSyncRunsClient syncRuns() { public @Nullable T getCatalog(TypeReference responseType) throws IOException, InterruptedException { return getCatalog(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsConnectionTestsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsConnectionTestsClient.java index e82dba5..6e0da2e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsConnectionTestsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsConnectionTestsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class ConnectorsConnectionTestsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|GET|/connectors/connection-tests/{param}") - public @Nullable T get(String connectionTestId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, List.of(connectionTestId), query, null, responseType); + public @Nullable T get(String connectionTestId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, + List.of(connectionTestId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /connectors/connection-tests/{param}} using a generic response type. @@ -36,8 +41,14 @@ public final class ConnectorsConnectionTestsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String connectionTestId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, List.of(connectionTestId), query, null, responseType); + public @Nullable T get(String connectionTestId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_CONNECTION_TESTS_PARAM, + List.of(connectionTestId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /connectors/connection-tests/{param}} without query parameters. @@ -48,7 +59,8 @@ public final class ConnectorsConnectionTestsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String connectionTestId, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String connectionTestId, Class responseType) + throws IOException, InterruptedException { return get(connectionTestId, QueryParams.empty(), responseType); } /** @@ -60,8 +72,8 @@ public final class ConnectorsConnectionTestsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String connectionTestId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String connectionTestId, TypeReference responseType) + throws IOException, InterruptedException { return get(connectionTestId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsDiagnosticsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsDiagnosticsClient.java index 9d9052e..013360a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsDiagnosticsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsDiagnosticsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class ConnectorsDiagnosticsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Connectors.GET_DIAGNOSTICS, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class ConnectorsDiagnosticsClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsInstallationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsInstallationsClient.java index d231fa0..7832ea0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsInstallationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsInstallationsClient.java @@ -23,8 +23,14 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|DELETE|/connectors/installations/{param}") - public @Nullable T delete(String installationId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, null, responseType); + public @Nullable T delete(String installationId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, + List.of(installationId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /connectors/installations/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String installationId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, null, responseType); + public @Nullable T delete(String installationId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.DELETE_CONNECTORS_INSTALLATIONS_PARAM, + List.of(installationId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /connectors/installations/{param}} without query parameters. @@ -48,7 +60,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String installationId, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String installationId, Class responseType) + throws IOException, InterruptedException { return delete(installationId, QueryParams.empty(), responseType); } /** @@ -60,7 +73,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String installationId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String installationId, TypeReference responseType) + throws IOException, InterruptedException { return delete(installationId, QueryParams.empty(), responseType); } @@ -86,7 +100,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS, List.of(), query, null, responseType); } /** @@ -123,8 +138,14 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|GET|/connectors/installations/{param}") - public @Nullable T get(String installationId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, null, responseType); + public @Nullable T get(String installationId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, + List.of(installationId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /connectors/installations/{param}} using a generic response type. @@ -136,8 +157,14 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String installationId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, null, responseType); + public @Nullable T get(String installationId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.GET_CONNECTORS_INSTALLATIONS_PARAM, + List.of(installationId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /connectors/installations/{param}} without query parameters. @@ -160,7 +187,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String installationId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String installationId, TypeReference responseType) + throws IOException, InterruptedException { return get(installationId, QueryParams.empty(), responseType); } @@ -176,8 +204,15 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|PATCH|/connectors/installations/{param}") - public @Nullable T update(String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, body, responseType); + public @Nullable T update( + String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, + List.of(installationId), + query, + body, + responseType); } /** * Calls the contract route {@code PATCH /connectors/installations/{param}} using a generic response type. @@ -190,8 +225,15 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, List.of(installationId), query, body, responseType); + public @Nullable T update( + String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.PATCH_CONNECTORS_INSTALLATIONS_PARAM, + List.of(installationId), + query, + body, + responseType); } /** * Calls the contract route {@code PATCH /connectors/installations/{param}} without query parameters. @@ -203,7 +245,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String installationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String installationId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(installationId, QueryParams.empty(), body, responseType); } /** @@ -216,7 +259,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String installationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String installationId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(installationId, QueryParams.empty(), body, responseType); } @@ -231,7 +275,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|POST|/connectors/installations") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS, List.of(), query, body, responseType); } /** @@ -244,7 +289,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS, List.of(), query, body, responseType); } /** @@ -256,7 +302,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -268,7 +315,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -284,8 +332,15 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|POST|/connectors/installations/{param}/pause") - public @Nullable T pause(String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, List.of(installationId), query, body, responseType); + public @Nullable T pause( + String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, + List.of(installationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /connectors/installations/{param}/pause} using a generic response type. @@ -298,8 +353,15 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, List.of(installationId), query, body, responseType); + public @Nullable T pause( + String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE, + List.of(installationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /connectors/installations/{param}/pause} without query parameters. @@ -311,7 +373,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String installationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T pause(String installationId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return pause(installationId, QueryParams.empty(), body, responseType); } /** @@ -324,7 +387,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String installationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T pause(String installationId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return pause(installationId, QueryParams.empty(), body, responseType); } @@ -340,8 +404,15 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|POST|/connectors/installations/{param}/resume") - public @Nullable T resume(String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, List.of(installationId), query, body, responseType); + public @Nullable T resume( + String installationId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, + List.of(installationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /connectors/installations/{param}/resume} using a generic response type. @@ -354,8 +425,15 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, List.of(installationId), query, body, responseType); + public @Nullable T resume( + String installationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME, + List.of(installationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /connectors/installations/{param}/resume} without query parameters. @@ -367,7 +445,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String installationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T resume(String installationId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return resume(installationId, QueryParams.empty(), body, responseType); } /** @@ -380,8 +459,8 @@ public final class ConnectorsInstallationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String installationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T resume(String installationId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return resume(installationId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsSyncRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsSyncRunsClient.java index fd93f69..bc97757 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ConnectorsSyncRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ConnectorsSyncRunsClient.java @@ -24,8 +24,14 @@ public final class ConnectorsSyncRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("connectors|POST|/connectors/sync-runs/{param}/replay") - public @Nullable T replay(String syncRunId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, List.of(syncRunId), query, body, responseType); + public @Nullable T replay(String syncRunId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, + List.of(syncRunId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay} using a generic response type. @@ -38,8 +44,15 @@ public final class ConnectorsSyncRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T replay(String syncRunId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, List.of(syncRunId), query, body, responseType); + public @Nullable T replay( + String syncRunId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Connectors.POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY, + List.of(syncRunId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /connectors/sync-runs/{param}/replay} without query parameters. @@ -51,7 +64,8 @@ public final class ConnectorsSyncRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T replay(String syncRunId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T replay(String syncRunId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return replay(syncRunId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +78,8 @@ public final class ConnectorsSyncRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T replay(String syncRunId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T replay(String syncRunId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return replay(syncRunId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsClient.java index c195f35..7ce18ee 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsClient.java @@ -41,7 +41,8 @@ public DataAggregationsAggregationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, null, responseType); } /** @@ -78,8 +79,14 @@ public DataAggregationsAggregationsExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/aggregations/aggregations/{param}") - public @Nullable T get(String aggregationId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, List.of(aggregationId), query, null, responseType); + public @Nullable T get(String aggregationId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, + List.of(aggregationId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/aggregations/aggregations/{param}} using a generic response type. @@ -91,8 +98,14 @@ public DataAggregationsAggregationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String aggregationId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, List.of(aggregationId), query, null, responseType); + public @Nullable T get(String aggregationId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM, + List.of(aggregationId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/aggregations/aggregations/{param}} without query parameters. @@ -115,7 +128,8 @@ public DataAggregationsAggregationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String aggregationId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String aggregationId, TypeReference responseType) + throws IOException, InterruptedException { return get(aggregationId, QueryParams.empty(), responseType); } @@ -130,7 +144,8 @@ public DataAggregationsAggregationsExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/aggregations/aggregations") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, body, responseType); } /** @@ -143,7 +158,8 @@ public DataAggregationsAggregationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS, List.of(), query, body, responseType); } /** @@ -155,7 +171,8 @@ public DataAggregationsAggregationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +184,8 @@ public DataAggregationsAggregationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsExecutionsClient.java index 076c54d..fab7b41 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsExecutionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsAggregationsExecutionsClient.java @@ -24,8 +24,15 @@ public final class DataAggregationsAggregationsExecutionsClient extends ServiceC * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/aggregations/aggregations/{param}/executions") - public @Nullable T create(String aggregationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, List.of(aggregationId), query, body, responseType); + public @Nullable T create( + String aggregationId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, + List.of(aggregationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions} using a generic response type. @@ -38,8 +45,15 @@ public final class DataAggregationsAggregationsExecutionsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String aggregationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, List.of(aggregationId), query, body, responseType); + public @Nullable T create( + String aggregationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS, + List.of(aggregationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/aggregations/aggregations/{param}/executions} without query parameters. @@ -51,7 +65,8 @@ public final class DataAggregationsAggregationsExecutionsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String aggregationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String aggregationId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(aggregationId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +79,8 @@ public final class DataAggregationsAggregationsExecutionsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String aggregationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String aggregationId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(aggregationId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsCapabilitiesClient.java index 3e4f056..c22aecb 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataAggregationsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_AGGREGATIONS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataAggregationsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsClient.java index 37211d6..065033d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataAggregationsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_AGGREGATIONS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataAggregationsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_AGGREGATIONS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataAggregationsRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsRunsClient.java index 0913ece..518c209 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataAggregationsRunsClient.java @@ -34,7 +34,8 @@ public final class DataAggregationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataAggregationsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/aggregations/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataAggregationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_AGGREGATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataAggregationsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/aggregations/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_AGGREGATIONS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataAggregationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_AGGREGATIONS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataAggregationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataAggregationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalClient.java index 81d9367..34da8e8 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for data/archival/archival. Generated by scripts/generate_endpoints.py. */ public final class DataArchivalArchivalClient extends ServiceClient { DataArchivalArchivalClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class DataArchivalArchivalClient extends ServiceClient { public DataArchivalArchivalPoliciesClient policies() { return new DataArchivalArchivalPoliciesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesClient.java index 0b78c71..d7962da 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesClient.java @@ -41,7 +41,8 @@ public DataArchivalArchivalPoliciesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, null, responseType); } /** @@ -78,8 +79,10 @@ public DataArchivalArchivalPoliciesExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/archival/archival/policies/{param}") - public @Nullable T get(String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); + public @Nullable T get(String policyId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); } /** * Calls the contract route {@code GET /data/archival/archival/policies/{param}} using a generic response type. @@ -91,8 +94,10 @@ public DataArchivalArchivalPoliciesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String policyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); + public @Nullable T get(String policyId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM, List.of(policyId), query, null, responseType); } /** * Calls the contract route {@code GET /data/archival/archival/policies/{param}} without query parameters. @@ -115,7 +120,8 @@ public DataArchivalArchivalPoliciesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String policyId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String policyId, TypeReference responseType) + throws IOException, InterruptedException { return get(policyId, QueryParams.empty(), responseType); } @@ -130,7 +136,8 @@ public DataArchivalArchivalPoliciesExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/archival/archival/policies") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, body, responseType); } /** @@ -143,7 +150,8 @@ public DataArchivalArchivalPoliciesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES, List.of(), query, body, responseType); } /** @@ -155,7 +163,8 @@ public DataArchivalArchivalPoliciesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +176,8 @@ public DataArchivalArchivalPoliciesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesExecutionsClient.java index 639fdaf..9bafaba 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesExecutionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalArchivalPoliciesExecutionsClient.java @@ -24,8 +24,14 @@ public final class DataArchivalArchivalPoliciesExecutionsClient extends ServiceC * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/archival/archival/policies/{param}/executions") - public @Nullable T create(String policyId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, List.of(policyId), query, body, responseType); + public @Nullable T create(String policyId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, + List.of(policyId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions} using a generic response type. @@ -38,8 +44,15 @@ public final class DataArchivalArchivalPoliciesExecutionsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, List.of(policyId), query, body, responseType); + public @Nullable T create( + String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS, + List.of(policyId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/archival/archival/policies/{param}/executions} without query parameters. @@ -51,7 +64,8 @@ public final class DataArchivalArchivalPoliciesExecutionsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String policyId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String policyId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(policyId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +78,8 @@ public final class DataArchivalArchivalPoliciesExecutionsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String policyId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String policyId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(policyId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalCapabilitiesClient.java index 31f7940..7b44ffd 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataArchivalCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ARCHIVAL_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataArchivalCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalClient.java index ef0b0ba..c98280e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataArchivalRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ARCHIVAL_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataArchivalRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ARCHIVAL_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataArchivalRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalRunsClient.java index f505bdc..de5f1fb 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataArchivalRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataArchivalRunsClient.java @@ -34,7 +34,8 @@ public final class DataArchivalRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataArchivalRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/archival/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataArchivalRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ARCHIVAL_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataArchivalRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/archival/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_ARCHIVAL_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataArchivalRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_ARCHIVAL_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataArchivalRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataArchivalRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCapabilitiesClient.java index a729dd7..154307e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataCatalogCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_CATALOG_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataCatalogCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogClient.java index 00c6c73..119ddbb 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for data/catalog/catalog. Generated by scripts/generate_endpoints.py. */ public final class DataCatalogCatalogClient extends ServiceClient { DataCatalogCatalogClient(ApiClient client) { @@ -25,5 +19,4 @@ public DataCatalogCatalogDatasetsClient datasets() { public DataCatalogCatalogSourcesClient sources() { return new DataCatalogCatalogSourcesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsArtifactsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsArtifactsClient.java index a5f3746..3ea7f6a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsArtifactsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsArtifactsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -24,8 +23,14 @@ public final class DataCatalogCatalogDatasetsArtifactsClient extends ServiceClie * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/catalog/catalog/datasets/{param}/artifacts/{param}/content") - public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, List.of(datasetId, manifestId), query, null, responseType); + public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, + List.of(datasetId, manifestId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content} using a generic response type. @@ -38,8 +43,15 @@ public final class DataCatalogCatalogDatasetsArtifactsClient extends ServiceClie * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, List.of(datasetId, manifestId), query, null, responseType); + public @Nullable T getContent( + String datasetId, String manifestId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, + List.of(datasetId, manifestId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content} without query parameters. @@ -51,7 +63,8 @@ public final class DataCatalogCatalogDatasetsArtifactsClient extends ServiceClie * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getContent(String datasetId, String manifestId, Class responseType) throws IOException, InterruptedException { + public @Nullable T getContent(String datasetId, String manifestId, Class responseType) + throws IOException, InterruptedException { return getContent(datasetId, manifestId, QueryParams.empty(), responseType); } /** @@ -64,8 +77,8 @@ public final class DataCatalogCatalogDatasetsArtifactsClient extends ServiceClie * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getContent(String datasetId, String manifestId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getContent(String datasetId, String manifestId, TypeReference responseType) + throws IOException, InterruptedException { return getContent(datasetId, manifestId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsClient.java index ccb6986..a1750ce 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogDatasetsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -41,7 +40,8 @@ public DataCatalogCatalogDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS, List.of(), query, null, responseType); } /** @@ -78,8 +78,10 @@ public DataCatalogCatalogDatasetsArtifactsClient artifacts() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/catalog/catalog/datasets/{param}") - public @Nullable T get(String datasetId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + public @Nullable T get(String datasetId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); } /** * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}} using a generic response type. @@ -91,8 +93,10 @@ public DataCatalogCatalogDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String datasetId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); + public @Nullable T get(String datasetId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_DATASETS_PARAM, List.of(datasetId), query, null, responseType); } /** * Calls the contract route {@code GET /data/catalog/catalog/datasets/{param}} without query parameters. @@ -115,8 +119,8 @@ public DataCatalogCatalogDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String datasetId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String datasetId, TypeReference responseType) + throws IOException, InterruptedException { return get(datasetId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogSourcesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogSourcesClient.java index ec81796..598aa55 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogSourcesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogCatalogSourcesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataCatalogCatalogSourcesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES, List.of(), query, null, responseType); } /** @@ -71,8 +71,10 @@ public final class DataCatalogCatalogSourcesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/catalog/catalog/sources/{param}") - public @Nullable T get(String sourceId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); + public @Nullable T get(String sourceId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); } /** * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}} using a generic response type. @@ -84,8 +86,10 @@ public final class DataCatalogCatalogSourcesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String sourceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); + public @Nullable T get(String sourceId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_CATALOG_CATALOG_SOURCES_PARAM, List.of(sourceId), query, null, responseType); } /** * Calls the contract route {@code GET /data/catalog/catalog/sources/{param}} without query parameters. @@ -108,8 +112,8 @@ public final class DataCatalogCatalogSourcesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String sourceId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String sourceId, TypeReference responseType) + throws IOException, InterruptedException { return get(sourceId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogClient.java index 3b8c990..7ddd17b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataCatalogRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_CATALOG_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataCatalogRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_CATALOG_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataCatalogRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogRunsClient.java index 81c745a..4d7358d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataCatalogRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataCatalogRunsClient.java @@ -34,7 +34,8 @@ public final class DataCatalogRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_CATALOG_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataCatalogRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/catalog/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_CATALOG_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataCatalogRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_CATALOG_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataCatalogRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/catalog/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_CATALOG_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataCatalogRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_CATALOG_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataCatalogRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataCatalogRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataClient.java index e62d2e0..56f731f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for data. Generated by scripts/generate_endpoints.py. */ public final class DataClient extends ServiceClient { DataClient(ApiClient client) { @@ -116,5 +110,4 @@ public DataSyncClient sync() { public DataTransformationsClient transformations() { return new DataTransformationsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentCapabilitiesClient.java index 39ed2b3..b4936df 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataEnrichmentCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ENRICHMENT_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataEnrichmentCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentClient.java index a731530..48f1de4 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataEnrichmentRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ENRICHMENT_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataEnrichmentRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ENRICHMENT_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataEnrichmentRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentClient.java index 028a362..ccdbbc7 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for data/enrichment/enrichment. Generated by scripts/generate_endpoints.py. */ public final class DataEnrichmentEnrichmentClient extends ServiceClient { DataEnrichmentEnrichmentClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class DataEnrichmentEnrichmentClient extends ServiceClient { public DataEnrichmentEnrichmentProfilesClient profiles() { return new DataEnrichmentEnrichmentProfilesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesClient.java index 84d9ebc..666402f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesClient.java @@ -41,7 +41,8 @@ public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, null, responseType); } /** @@ -78,8 +79,14 @@ public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/enrichment/enrichment/profiles/{param}") - public @Nullable T get(String profileId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, List.of(profileId), query, null, responseType); + public @Nullable T get(String profileId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, + List.of(profileId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}} using a generic response type. @@ -91,8 +98,14 @@ public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String profileId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, List.of(profileId), query, null, responseType); + public @Nullable T get(String profileId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM, + List.of(profileId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/enrichment/enrichment/profiles/{param}} without query parameters. @@ -115,7 +128,8 @@ public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String profileId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String profileId, TypeReference responseType) + throws IOException, InterruptedException { return get(profileId, QueryParams.empty(), responseType); } @@ -130,7 +144,8 @@ public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/enrichment/enrichment/profiles") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, body, responseType); } /** @@ -143,7 +158,8 @@ public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES, List.of(), query, body, responseType); } /** @@ -155,7 +171,8 @@ public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +184,8 @@ public DataEnrichmentEnrichmentProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesExecutionsClient.java index ecd9349..8d894c1 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesExecutionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentEnrichmentProfilesExecutionsClient.java @@ -24,8 +24,14 @@ public final class DataEnrichmentEnrichmentProfilesExecutionsClient extends Serv * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/enrichment/enrichment/profiles/{param}/executions") - public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, List.of(profileId), query, body, responseType); + public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, + List.of(profileId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions} using a generic response type. @@ -38,8 +44,15 @@ public final class DataEnrichmentEnrichmentProfilesExecutionsClient extends Serv * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, List.of(profileId), query, body, responseType); + public @Nullable T create( + String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS, + List.of(profileId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/enrichment/enrichment/profiles/{param}/executions} without query parameters. @@ -51,7 +64,8 @@ public final class DataEnrichmentEnrichmentProfilesExecutionsClient extends Serv * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String profileId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String profileId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(profileId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +78,8 @@ public final class DataEnrichmentEnrichmentProfilesExecutionsClient extends Serv * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String profileId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String profileId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(profileId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentRunsClient.java index f030014..26898ec 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataEnrichmentRunsClient.java @@ -34,7 +34,8 @@ public final class DataEnrichmentRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataEnrichmentRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/enrichment/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataEnrichmentRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_ENRICHMENT_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataEnrichmentRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/enrichment/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_ENRICHMENT_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataEnrichmentRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_ENRICHMENT_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataEnrichmentRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataEnrichmentRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsCapabilitiesClient.java index ea9833a..3b2ce05 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataExportsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataExportsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataExportsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsClient.java index 5ec8b26..cbcd338 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataExportsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataExportsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataExportsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataExportsRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsClient.java index dde2b3c..af78ec0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsClient.java @@ -41,7 +41,8 @@ public DataExportsExportsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS, List.of(), query, null, responseType); } /** @@ -78,7 +79,8 @@ public DataExportsExportsExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/exports/exports/{param}") - public @Nullable T get(String exportId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String exportId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS_PARAM, List.of(exportId), query, null, responseType); } /** @@ -91,7 +93,8 @@ public DataExportsExportsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String exportId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String exportId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_EXPORTS_PARAM, List.of(exportId), query, null, responseType); } /** @@ -115,7 +118,8 @@ public DataExportsExportsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String exportId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String exportId, TypeReference responseType) + throws IOException, InterruptedException { return get(exportId, QueryParams.empty(), responseType); } @@ -130,7 +134,8 @@ public DataExportsExportsExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/exports/exports") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS, List.of(), query, body, responseType); } /** @@ -143,7 +148,8 @@ public DataExportsExportsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS, List.of(), query, body, responseType); } /** @@ -155,7 +161,8 @@ public DataExportsExportsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +174,8 @@ public DataExportsExportsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsExecutionsClient.java index 6425116..3f2ca45 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsExecutionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsExportsExecutionsClient.java @@ -24,8 +24,14 @@ public final class DataExportsExportsExecutionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/exports/exports/{param}/executions") - public @Nullable T create(String exportId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, List.of(exportId), query, body, responseType); + public @Nullable T create(String exportId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, + List.of(exportId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/exports/exports/{param}/executions} using a generic response type. @@ -38,8 +44,15 @@ public final class DataExportsExportsExecutionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String exportId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, List.of(exportId), query, body, responseType); + public @Nullable T create( + String exportId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS, + List.of(exportId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/exports/exports/{param}/executions} without query parameters. @@ -51,7 +64,8 @@ public final class DataExportsExportsExecutionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String exportId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String exportId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(exportId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +78,8 @@ public final class DataExportsExportsExecutionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String exportId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String exportId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(exportId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataExportsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataExportsRunsClient.java index d0df19d..ffac191 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataExportsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataExportsRunsClient.java @@ -34,7 +34,8 @@ public final class DataExportsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataExportsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/exports/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataExportsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_EXPORTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataExportsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/exports/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_EXPORTS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataExportsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_EXPORTS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataExportsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataExportsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestCapabilitiesClient.java index bcd2e97..bde47e5 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataIngestCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataIngestCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataIngestCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestClient.java index e8de10d..d58f594 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataIngestClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -62,7 +61,8 @@ public DataIngestSchemasClient schemas() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_HEALTH, List.of(), query, null, responseType); } /** @@ -110,7 +110,8 @@ public DataIngestSchemasClient schemas() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_INFO, List.of(), query, null, responseType); } /** @@ -135,5 +136,4 @@ public DataIngestSchemasClient schemas() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsArtifactsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsArtifactsClient.java index 8e4bf79..d7686b8 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsArtifactsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsArtifactsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -24,8 +23,14 @@ public final class DataIngestDatasetsArtifactsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/ingest/datasets/{param}/artifacts/{param}/content") - public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, List.of(datasetId, manifestId), query, null, responseType); + public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, + List.of(datasetId, manifestId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content} using a generic response type. @@ -38,8 +43,15 @@ public final class DataIngestDatasetsArtifactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getContent(String datasetId, String manifestId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, List.of(datasetId, manifestId), query, null, responseType); + public @Nullable T getContent( + String datasetId, String manifestId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT, + List.of(datasetId, manifestId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content} without query parameters. @@ -51,7 +63,8 @@ public final class DataIngestDatasetsArtifactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getContent(String datasetId, String manifestId, Class responseType) throws IOException, InterruptedException { + public @Nullable T getContent(String datasetId, String manifestId, Class responseType) + throws IOException, InterruptedException { return getContent(datasetId, manifestId, QueryParams.empty(), responseType); } /** @@ -64,8 +77,8 @@ public final class DataIngestDatasetsArtifactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getContent(String datasetId, String manifestId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getContent(String datasetId, String manifestId, TypeReference responseType) + throws IOException, InterruptedException { return getContent(datasetId, manifestId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsClient.java index 56dd9a8..eba4798 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestDatasetsClient.java @@ -41,7 +41,8 @@ public DataIngestDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_DATASETS, List.of(), query, null, responseType); } /** @@ -78,7 +79,8 @@ public DataIngestDatasetsArtifactsClient artifacts() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/ingest/datasets/{param}") - public @Nullable T get(String datasetId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String datasetId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM, List.of(datasetId), query, null, responseType); } /** @@ -91,7 +93,8 @@ public DataIngestDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String datasetId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String datasetId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_DATASETS_PARAM, List.of(datasetId), query, null, responseType); } /** @@ -115,7 +118,8 @@ public DataIngestDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String datasetId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String datasetId, TypeReference responseType) + throws IOException, InterruptedException { return get(datasetId, QueryParams.empty(), responseType); } @@ -130,7 +134,8 @@ public DataIngestDatasetsArtifactsClient artifacts() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/ingest/datasets/ingest") - public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_INGEST_DATASETS_INGEST, List.of(), query, body, responseType); } /** @@ -143,7 +148,8 @@ public DataIngestDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_INGEST_DATASETS_INGEST, List.of(), query, body, responseType); } /** @@ -155,7 +161,8 @@ public DataIngestDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T ingest(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return ingest(QueryParams.empty(), body, responseType); } /** @@ -167,8 +174,8 @@ public DataIngestDatasetsArtifactsClient artifacts() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return ingest(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestRunsClient.java index ad3aee5..f737264 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataIngestRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestRunsClient.java @@ -34,7 +34,8 @@ public final class DataIngestRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataIngestRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/ingest/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataIngestRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataIngestRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/ingest/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_INGEST_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataIngestRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_INGEST_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataIngestRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataIngestRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataIngestSchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataIngestSchemasClient.java index 3519bc7..b98abe2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataIngestSchemasClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataIngestSchemasClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataIngestSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS, List.of(), query, null, responseType); } /** @@ -71,7 +71,8 @@ public final class DataIngestSchemasClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/ingest/schemas/{param}") - public @Nullable T get(String schemaRef, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String schemaRef, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); } /** @@ -84,7 +85,8 @@ public final class DataIngestSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String schemaRef, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String schemaRef, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_INGEST_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); } /** @@ -108,8 +110,8 @@ public final class DataIngestSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String schemaRef, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String schemaRef, TypeReference responseType) + throws IOException, InterruptedException { return get(schemaRef, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationCapabilitiesClient.java index dc99dfc..a3fb406 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataNormalizationCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_NORMALIZATION_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataNormalizationCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationClient.java index da2700c..84a0d38 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataNormalizationRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_NORMALIZATION_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataNormalizationRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_NORMALIZATION_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataNormalizationRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationClient.java index 64c1024..4fc6274 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for data/normalization/normalization. Generated by scripts/generate_endpoints.py. */ public final class DataNormalizationNormalizationClient extends ServiceClient { DataNormalizationNormalizationClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class DataNormalizationNormalizationClient extends ServiceClient { public DataNormalizationNormalizationProfilesClient profiles() { return new DataNormalizationNormalizationProfilesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesClient.java index 416ad6d..e5d4c53 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesClient.java @@ -30,7 +30,8 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { */ @SdkOperation("data|GET|/data/normalization/normalization/profiles") public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); + return request( + Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /data/normalization/normalization/profiles} using a generic response type. @@ -41,8 +42,10 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /data/normalization/normalization/profiles} without query parameters. @@ -78,8 +81,14 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/normalization/normalization/profiles/{param}") - public @Nullable T get(String profileId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, List.of(profileId), query, null, responseType); + public @Nullable T get(String profileId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, + List.of(profileId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}} using a generic response type. @@ -91,8 +100,14 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String profileId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, List.of(profileId), query, null, responseType); + public @Nullable T get(String profileId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM, + List.of(profileId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/normalization/normalization/profiles/{param}} without query parameters. @@ -115,7 +130,8 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String profileId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String profileId, TypeReference responseType) + throws IOException, InterruptedException { return get(profileId, QueryParams.empty(), responseType); } @@ -130,8 +146,10 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/normalization/normalization/profiles") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /data/normalization/normalization/profiles} using a generic response type. @@ -143,8 +161,10 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /data/normalization/normalization/profiles} without query parameters. @@ -155,7 +175,8 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +188,8 @@ public DataNormalizationNormalizationProfilesExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesExecutionsClient.java index f7ca907..ff81e4e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesExecutionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationNormalizationProfilesExecutionsClient.java @@ -24,8 +24,14 @@ public final class DataNormalizationNormalizationProfilesExecutionsClient extend * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/normalization/normalization/profiles/{param}/executions") - public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, List.of(profileId), query, body, responseType); + public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, + List.of(profileId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions} using a generic response type. @@ -38,8 +44,15 @@ public final class DataNormalizationNormalizationProfilesExecutionsClient extend * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, List.of(profileId), query, body, responseType); + public @Nullable T create( + String profileId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS, + List.of(profileId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/normalization/normalization/profiles/{param}/executions} without query parameters. @@ -51,7 +64,8 @@ public final class DataNormalizationNormalizationProfilesExecutionsClient extend * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String profileId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String profileId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(profileId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +78,8 @@ public final class DataNormalizationNormalizationProfilesExecutionsClient extend * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String profileId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String profileId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(profileId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationRunsClient.java index 38a8975..1f889ea 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataNormalizationRunsClient.java @@ -34,7 +34,8 @@ public final class DataNormalizationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataNormalizationRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/normalization/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataNormalizationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_NORMALIZATION_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataNormalizationRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/normalization/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_NORMALIZATION_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataNormalizationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_NORMALIZATION_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataNormalizationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataNormalizationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesCapabilitiesClient.java index cec72da..ad26b48 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataPipelinesCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataPipelinesCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesClient.java index ac5aff4..eedea89 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -62,7 +61,8 @@ public DataPipelinesRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); } /** @@ -110,7 +110,8 @@ public DataPipelinesRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); } /** @@ -135,5 +136,4 @@ public DataPipelinesRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelineRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelineRunsClient.java index 9c0df26..775aa73 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelineRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelineRunsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataPipelinesPipelineRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); } /** @@ -71,8 +71,10 @@ public final class DataPipelinesPipelineRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/pipelines/pipeline-runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); } /** * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} using a generic response type. @@ -84,8 +86,10 @@ public final class DataPipelinesPipelineRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(runId), query, null, responseType); } /** * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} without query parameters. @@ -111,5 +115,4 @@ public final class DataPipelinesPipelineRunsClient extends ServiceClient { public @Nullable T get(String runId, TypeReference responseType) throws IOException, InterruptedException { return get(runId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelinesClient.java index b9694c7..c879874 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelinesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesPipelinesClient.java @@ -34,7 +34,8 @@ public final class DataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class DataPipelinesPipelinesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/pipelines/pipelines/{param}") - public @Nullable T get(String definitionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); + public @Nullable T get(String definitionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); } /** * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class DataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String definitionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); + public @Nullable T get(String definitionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(definitionId), query, null, responseType); } /** * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} without query parameters. @@ -108,7 +113,8 @@ public final class DataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String definitionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String definitionId, TypeReference responseType) + throws IOException, InterruptedException { return get(definitionId, QueryParams.empty(), responseType); } @@ -123,7 +129,8 @@ public final class DataPipelinesPipelinesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/pipelines/pipelines") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); } /** @@ -136,7 +143,8 @@ public final class DataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); } /** @@ -148,7 +156,8 @@ public final class DataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +169,8 @@ public final class DataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesRunsClient.java index 9fb5302..e2fbd05 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataPipelinesRunsClient.java @@ -34,7 +34,8 @@ public final class DataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataPipelinesRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/pipelines/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_PIPELINES_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataPipelinesRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/pipelines/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityCapabilitiesClient.java index 6ab2286..4f5c053 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQualityCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataQualityCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUALITY_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataQualityCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityClient.java index 9e8a682..82ae619 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQualityClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataQualityRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUALITY_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataQualityRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUALITY_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataQualityRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityClient.java index 98d3ef9..404f18c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for data/quality/quality. Generated by scripts/generate_endpoints.py. */ public final class DataQualityQualityClient extends ServiceClient { DataQualityQualityClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class DataQualityQualityClient extends ServiceClient { public DataQualityQualityRulesetsClient rulesets() { return new DataQualityQualityRulesetsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsClient.java index 9505279..483b95a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsClient.java @@ -41,7 +41,8 @@ public DataQualityQualityRulesetsEvaluationsClient evaluations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, null, responseType); } /** @@ -78,8 +79,10 @@ public DataQualityQualityRulesetsEvaluationsClient evaluations() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/quality/quality/rulesets/{param}") - public @Nullable T get(String rulesetId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); + public @Nullable T get(String rulesetId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); } /** * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}} using a generic response type. @@ -91,8 +94,10 @@ public DataQualityQualityRulesetsEvaluationsClient evaluations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String rulesetId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); + public @Nullable T get(String rulesetId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_QUALITY_QUALITY_RULESETS_PARAM, List.of(rulesetId), query, null, responseType); } /** * Calls the contract route {@code GET /data/quality/quality/rulesets/{param}} without query parameters. @@ -115,7 +120,8 @@ public DataQualityQualityRulesetsEvaluationsClient evaluations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String rulesetId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String rulesetId, TypeReference responseType) + throws IOException, InterruptedException { return get(rulesetId, QueryParams.empty(), responseType); } @@ -130,7 +136,8 @@ public DataQualityQualityRulesetsEvaluationsClient evaluations() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/quality/quality/rulesets") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, body, responseType); } /** @@ -143,7 +150,8 @@ public DataQualityQualityRulesetsEvaluationsClient evaluations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS, List.of(), query, body, responseType); } /** @@ -155,7 +163,8 @@ public DataQualityQualityRulesetsEvaluationsClient evaluations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +176,8 @@ public DataQualityQualityRulesetsEvaluationsClient evaluations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsEvaluationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsEvaluationsClient.java index 987b8c3..3b5bbd6 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsEvaluationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityQualityRulesetsEvaluationsClient.java @@ -24,8 +24,14 @@ public final class DataQualityQualityRulesetsEvaluationsClient extends ServiceCl * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/quality/quality/rulesets/{param}/evaluations") - public @Nullable T create(String rulesetId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, List.of(rulesetId), query, body, responseType); + public @Nullable T create(String rulesetId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, + List.of(rulesetId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations} using a generic response type. @@ -38,8 +44,15 @@ public final class DataQualityQualityRulesetsEvaluationsClient extends ServiceCl * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String rulesetId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, List.of(rulesetId), query, body, responseType); + public @Nullable T create( + String rulesetId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS, + List.of(rulesetId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/quality/quality/rulesets/{param}/evaluations} without query parameters. @@ -51,7 +64,8 @@ public final class DataQualityQualityRulesetsEvaluationsClient extends ServiceCl * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String rulesetId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String rulesetId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(rulesetId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +78,8 @@ public final class DataQualityQualityRulesetsEvaluationsClient extends ServiceCl * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String rulesetId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String rulesetId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(rulesetId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQualityRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQualityRunsClient.java index f99b1fa..53b0bb9 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQualityRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQualityRunsClient.java @@ -34,7 +34,8 @@ public final class DataQualityRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUALITY_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataQualityRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/quality/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUALITY_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataQualityRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUALITY_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataQualityRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/quality/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_QUALITY_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataQualityRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_QUALITY_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataQualityRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataQualityRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQueryCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQueryCapabilitiesClient.java index 4c7d67a..ce7f2c0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQueryCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQueryCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataQueryCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUERY_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataQueryCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQueryClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQueryClient.java index ac94333..0d3abb2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQueryClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQueryClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataQueryRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUERY_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataQueryRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUERY_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataQueryRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQueryQueryClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQueryQueryClient.java index e7d9382..7b1944f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQueryQueryClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQueryQueryClient.java @@ -23,7 +23,8 @@ public final class DataQueryQueryClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/query/query/federated") - public @Nullable T federated(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T federated(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_QUERY_QUERY_FEDERATED, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class DataQueryQueryClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T federated(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T federated(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_QUERY_QUERY_FEDERATED, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class DataQueryQueryClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T federated(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T federated(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return federated(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class DataQueryQueryClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T federated(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T federated(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return federated(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataQueryRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataQueryRunsClient.java index 9d4b61c..4aad081 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataQueryRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataQueryRunsClient.java @@ -34,7 +34,8 @@ public final class DataQueryRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUERY_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataQueryRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/query/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUERY_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataQueryRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_QUERY_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataQueryRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/query/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_QUERY_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataQueryRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_QUERY_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataQueryRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataQueryRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasCapabilitiesClient.java index 4b5df3f..a420faf 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataSchemasCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataSchemasCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasClient.java index 2d84f48..dc545b4 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataSchemasSchemasClient schemas() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataSchemasSchemasClient schemas() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataSchemasSchemasClient schemas() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasRunsClient.java index fe94867..7de34d4 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasRunsClient.java @@ -34,7 +34,8 @@ public final class DataSchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataSchemasRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/schemas/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataSchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataSchemasRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/schemas/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SCHEMAS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataSchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SCHEMAS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataSchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataSchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasSchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasSchemasClient.java index 631d342..cb88601 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSchemasSchemasClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSchemasSchemasClient.java @@ -34,7 +34,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/schemas/schemas/{param}") - public @Nullable T get(String schemaRef, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String schemaRef, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String schemaRef, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String schemaRef, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SCHEMAS_SCHEMAS_PARAM, List.of(schemaRef), query, null, responseType); } /** @@ -108,7 +111,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String schemaRef, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String schemaRef, TypeReference responseType) + throws IOException, InterruptedException { return get(schemaRef, QueryParams.empty(), responseType); } @@ -123,7 +127,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/schemas/schemas") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); } /** @@ -136,7 +141,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); } /** @@ -148,7 +154,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,7 +167,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -175,7 +183,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/schemas/schemas/resolve") - public @Nullable T resolve(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T resolve(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS_RESOLVE, List.of(), query, body, responseType); } /** @@ -188,7 +197,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resolve(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T resolve(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SCHEMAS_SCHEMAS_RESOLVE, List.of(), query, body, responseType); } /** @@ -200,7 +210,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resolve(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T resolve(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return resolve(QueryParams.empty(), body, responseType); } /** @@ -212,8 +223,8 @@ public final class DataSchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resolve(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T resolve(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return resolve(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingCapabilitiesClient.java index e5c3a20..18f107b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataServingCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataServingCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SERVING_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataServingCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingClient.java index b4645eb..af9d57d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataServingClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataServingServingClient serving() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SERVING_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataServingServingClient serving() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SERVING_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataServingServingClient serving() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingRunsClient.java index da6b7be..fabb753 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataServingRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingRunsClient.java @@ -34,7 +34,8 @@ public final class DataServingRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SERVING_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataServingRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/serving/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SERVING_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataServingRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SERVING_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataServingRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/serving/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SERVING_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataServingRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SERVING_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataServingRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataServingRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingClient.java index 8616d1a..1b20f43 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for data/serving/serving. Generated by scripts/generate_endpoints.py. */ public final class DataServingServingClient extends ServiceClient { DataServingServingClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class DataServingServingClient extends ServiceClient { public DataServingServingProductsClient products() { return new DataServingServingProductsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsClient.java index ce6c6bb..56bb8c0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsClient.java @@ -41,7 +41,8 @@ public DataServingServingProductsRefreshesClient refreshes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, null, responseType); } /** @@ -78,8 +79,10 @@ public DataServingServingProductsRefreshesClient refreshes() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/serving/serving/products/{param}") - public @Nullable T get(String productId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); + public @Nullable T get(String productId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); } /** * Calls the contract route {@code GET /data/serving/serving/products/{param}} using a generic response type. @@ -91,8 +94,10 @@ public DataServingServingProductsRefreshesClient refreshes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String productId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); + public @Nullable T get(String productId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_SERVING_SERVING_PRODUCTS_PARAM, List.of(productId), query, null, responseType); } /** * Calls the contract route {@code GET /data/serving/serving/products/{param}} without query parameters. @@ -115,7 +120,8 @@ public DataServingServingProductsRefreshesClient refreshes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String productId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String productId, TypeReference responseType) + throws IOException, InterruptedException { return get(productId, QueryParams.empty(), responseType); } @@ -130,7 +136,8 @@ public DataServingServingProductsRefreshesClient refreshes() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/serving/serving/products") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, body, responseType); } /** @@ -143,7 +150,8 @@ public DataServingServingProductsRefreshesClient refreshes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS, List.of(), query, body, responseType); } /** @@ -155,7 +163,8 @@ public DataServingServingProductsRefreshesClient refreshes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +176,8 @@ public DataServingServingProductsRefreshesClient refreshes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsRefreshesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsRefreshesClient.java index becb107..94ad973 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsRefreshesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataServingServingProductsRefreshesClient.java @@ -24,8 +24,14 @@ public final class DataServingServingProductsRefreshesClient extends ServiceClie * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/serving/serving/products/{param}/refreshes") - public @Nullable T create(String productId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, List.of(productId), query, body, responseType); + public @Nullable T create(String productId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, + List.of(productId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes} using a generic response type. @@ -38,8 +44,15 @@ public final class DataServingServingProductsRefreshesClient extends ServiceClie * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String productId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, List.of(productId), query, body, responseType); + public @Nullable T create( + String productId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES, + List.of(productId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/serving/serving/products/{param}/refreshes} without query parameters. @@ -51,7 +64,8 @@ public final class DataServingServingProductsRefreshesClient extends ServiceClie * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String productId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String productId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(productId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +78,8 @@ public final class DataServingServingProductsRefreshesClient extends ServiceClie * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String productId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String productId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(productId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsCapabilitiesClient.java index 44d88f2..71aad3c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataStreamsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataStreamsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsClient.java index 7bbd421..b284283 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataStreamsStreamsClient streams() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataStreamsStreamsClient streams() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataStreamsStreamsClient streams() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsRunsClient.java index 470332f..fd8bb89 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsRunsClient.java @@ -34,7 +34,8 @@ public final class DataStreamsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataStreamsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/streams/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataStreamsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataStreamsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/streams/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_STREAMS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataStreamsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_STREAMS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataStreamsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataStreamsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsClient.java index 92dd4d5..c49d31f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsClient.java @@ -41,7 +41,8 @@ public DataStreamsStreamsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS, List.of(), query, null, responseType); } /** @@ -78,7 +79,8 @@ public DataStreamsStreamsDeliveriesClient deliveries() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/streams/streams/{param}") - public @Nullable T get(String streamId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String streamId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS_PARAM, List.of(streamId), query, null, responseType); } /** @@ -91,7 +93,8 @@ public DataStreamsStreamsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String streamId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String streamId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_STREAMS_STREAMS_PARAM, List.of(streamId), query, null, responseType); } /** @@ -115,7 +118,8 @@ public DataStreamsStreamsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String streamId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String streamId, TypeReference responseType) + throws IOException, InterruptedException { return get(streamId, QueryParams.empty(), responseType); } @@ -130,7 +134,8 @@ public DataStreamsStreamsDeliveriesClient deliveries() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/streams/streams") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS, List.of(), query, body, responseType); } /** @@ -143,7 +148,8 @@ public DataStreamsStreamsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS, List.of(), query, body, responseType); } /** @@ -155,7 +161,8 @@ public DataStreamsStreamsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +174,8 @@ public DataStreamsStreamsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsDeliveriesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsDeliveriesClient.java index a3d44f1..49f41fd 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsDeliveriesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataStreamsStreamsDeliveriesClient.java @@ -24,8 +24,14 @@ public final class DataStreamsStreamsDeliveriesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/streams/streams/{param}/deliveries") - public @Nullable T create(String streamId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, List.of(streamId), query, body, responseType); + public @Nullable T create(String streamId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, + List.of(streamId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries} using a generic response type. @@ -38,8 +44,15 @@ public final class DataStreamsStreamsDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String streamId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, List.of(streamId), query, body, responseType); + public @Nullable T create( + String streamId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES, + List.of(streamId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/streams/streams/{param}/deliveries} without query parameters. @@ -51,7 +64,8 @@ public final class DataStreamsStreamsDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String streamId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String streamId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(streamId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +78,8 @@ public final class DataStreamsStreamsDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String streamId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String streamId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(streamId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncCapabilitiesClient.java index ad5901f..2d1a21c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSyncCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataSyncCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataSyncCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncClient.java index 3ff64c7..8a1ff2c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSyncClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataSyncSyncClient sync() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataSyncSyncClient sync() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataSyncSyncClient sync() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncRunsClient.java index 3335169..00fb925 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSyncRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncRunsClient.java @@ -34,7 +34,8 @@ public final class DataSyncRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataSyncRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/sync/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataSyncRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataSyncRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/sync/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SYNC_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataSyncRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SYNC_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataSyncRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataSyncRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncClient.java index 6dc25aa..26c8986 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for data/sync/sync. Generated by scripts/generate_endpoints.py. */ public final class DataSyncSyncClient extends ServiceClient { DataSyncSyncClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class DataSyncSyncClient extends ServiceClient { public DataSyncSyncJobsClient jobs() { return new DataSyncSyncJobsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsClient.java index 519181a..f72b9e2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsClient.java @@ -41,7 +41,8 @@ public DataSyncSyncJobsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS, List.of(), query, null, responseType); } /** @@ -78,7 +79,8 @@ public DataSyncSyncJobsExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/sync/sync/jobs/{param}") - public @Nullable T get(String jobId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String jobId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS_PARAM, List.of(jobId), query, null, responseType); } /** @@ -91,7 +93,8 @@ public DataSyncSyncJobsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String jobId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String jobId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_SYNC_SYNC_JOBS_PARAM, List.of(jobId), query, null, responseType); } /** @@ -130,7 +133,8 @@ public DataSyncSyncJobsExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/sync/sync/jobs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS, List.of(), query, body, responseType); } /** @@ -143,7 +147,8 @@ public DataSyncSyncJobsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS, List.of(), query, body, responseType); } /** @@ -155,7 +160,8 @@ public DataSyncSyncJobsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +173,8 @@ public DataSyncSyncJobsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsExecutionsClient.java index 9213e17..d04947b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsExecutionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataSyncSyncJobsExecutionsClient.java @@ -24,8 +24,10 @@ public final class DataSyncSyncJobsExecutionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/sync/sync/jobs/{param}/executions") - public @Nullable T create(String jobId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); + public @Nullable T create(String jobId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); } /** * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions} using a generic response type. @@ -38,8 +40,11 @@ public final class DataSyncSyncJobsExecutionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String jobId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); + public @Nullable T create( + String jobId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS, List.of(jobId), query, body, responseType); } /** * Calls the contract route {@code POST /data/sync/sync/jobs/{param}/executions} without query parameters. @@ -51,7 +56,8 @@ public final class DataSyncSyncJobsExecutionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String jobId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String jobId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(jobId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +70,8 @@ public final class DataSyncSyncJobsExecutionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String jobId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String jobId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(jobId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsCapabilitiesClient.java index bf3a408..c246a7d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class DataTransformationsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class DataTransformationsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsClient.java index a43d76e..c82d72f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public DataTransformationsTransformationsClient transformations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public DataTransformationsTransformationsClient transformations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public DataTransformationsTransformationsClient transformations() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsRunsClient.java index 079f8dc..c7af806 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsRunsClient.java @@ -34,7 +34,8 @@ public final class DataTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class DataTransformationsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/transformations/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class DataTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class DataTransformationsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/transformations/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class DataTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class DataTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class DataTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsClient.java index 3c59eca..4517cdb 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsClient.java @@ -41,7 +41,8 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, null, responseType); } /** @@ -78,8 +79,14 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|GET|/data/transformations/transformations/{param}") - public @Nullable T get(String transformationId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, List.of(transformationId), query, null, responseType); + public @Nullable T get(String transformationId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, + List.of(transformationId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/transformations/transformations/{param}} using a generic response type. @@ -91,8 +98,14 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String transformationId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, List.of(transformationId), query, null, responseType); + public @Nullable T get(String transformationId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM, + List.of(transformationId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/transformations/transformations/{param}} without query parameters. @@ -103,7 +116,8 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String transformationId, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String transformationId, Class responseType) + throws IOException, InterruptedException { return get(transformationId, QueryParams.empty(), responseType); } /** @@ -115,7 +129,8 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String transformationId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String transformationId, TypeReference responseType) + throws IOException, InterruptedException { return get(transformationId, QueryParams.empty(), responseType); } @@ -130,7 +145,8 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/transformations/transformations") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); } /** @@ -143,7 +159,8 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); } /** @@ -155,7 +172,8 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +185,8 @@ public DataTransformationsTransformationsExecutionsClient executions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsExecutionsClient.java index fd9d67e..b7774e8 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsExecutionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/DataTransformationsTransformationsExecutionsClient.java @@ -24,8 +24,15 @@ public final class DataTransformationsTransformationsExecutionsClient extends Se * @throws InterruptedException if the operation fails */ @SdkOperation("data|POST|/data/transformations/transformations/{param}/executions") - public @Nullable T create(String transformationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, List.of(transformationId), query, body, responseType); + public @Nullable T create( + String transformationId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, + List.of(transformationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions} using a generic response type. @@ -38,8 +45,15 @@ public final class DataTransformationsTransformationsExecutionsClient extends Se * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String transformationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, List.of(transformationId), query, body, responseType); + public @Nullable T create( + String transformationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Data.POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS, + List.of(transformationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /data/transformations/transformations/{param}/executions} without query parameters. @@ -51,7 +65,8 @@ public final class DataTransformationsTransformationsExecutionsClient extends Se * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String transformationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String transformationId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(transformationId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +79,8 @@ public final class DataTransformationsTransformationsExecutionsClient extends Se * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String transformationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String transformationId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(transformationId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java b/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java index 3eb1e3a..10ca367 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java +++ b/services/src/main/java/dev/frontal/sdk/resources/Endpoints.java @@ -2,2035 +2,1927 @@ /** Contract-backed routes grouped by API service. Generated by scripts/generate_endpoints.py. */ public final class Endpoints { - private Endpoints() {} + private Endpoints() {} - public static final class Agents { - private Agents() {} + public static final class Agents { + private Agents() {} - /** Endpoint for {@code DELETE /agents/{param}}. */ - public static final Endpoint DELETE_AGENTS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.DELETE, "/agents/{param}"); - /** Endpoint for {@code GET /action-runs/{param}}. */ - public static final Endpoint GET_ACTION_RUNS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/action-runs/{param}"); - /** Endpoint for {@code GET /agents}. */ - public static final Endpoint GET_AGENTS = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents"); - /** Endpoint for {@code GET /agents/health}. */ - public static final Endpoint GET_AGENTS_HEALTH = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/health"); - /** Endpoint for {@code GET /agents/runs/{param}}. */ - public static final Endpoint GET_AGENTS_RUNS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}"); - /** Endpoint for {@code GET /agents/runs/{param}/conversation}. */ - public static final Endpoint GET_AGENTS_RUNS_PARAM_CONVERSATION = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}/conversation"); - /** Endpoint for {@code GET /agents/{param}}. */ - public static final Endpoint GET_AGENTS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}"); - /** Endpoint for {@code GET /agents/{param}/runs}. */ - public static final Endpoint GET_AGENTS_PARAM_RUNS = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/runs"); - /** Endpoint for {@code GET /agents/{param}/versions}. */ - public static final Endpoint GET_AGENTS_PARAM_VERSIONS = - new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/versions"); - /** Endpoint for {@code POST /agents}. */ - public static final Endpoint POST_AGENTS = - new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents"); - /** Endpoint for {@code POST /agents/{param}/rollback}. */ - public static final Endpoint POST_AGENTS_PARAM_ROLLBACK = - new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/rollback"); - /** Endpoint for {@code POST /agents/{param}/runs}. */ - public static final Endpoint POST_AGENTS_PARAM_RUNS = - new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/runs"); - /** Endpoint for {@code PUT /agents/{param}}. */ - public static final Endpoint PUT_AGENTS_PARAM = - new Endpoint(ApiService.AGENTS, HttpMethod.PUT, "/agents/{param}"); - /** Endpoint for {@code STREAM /agents/runs/{param}/stream}. */ - public static final Endpoint STREAM_AGENTS_RUNS_PARAM_STREAM = - new Endpoint(ApiService.AGENTS, HttpMethod.STREAM, "/agents/runs/{param}/stream"); - } + /** Endpoint for {@code DELETE /agents/{param}}. */ + public static final Endpoint DELETE_AGENTS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.DELETE, "/agents/{param}"); + /** Endpoint for {@code GET /action-runs/{param}}. */ + public static final Endpoint GET_ACTION_RUNS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/action-runs/{param}"); + /** Endpoint for {@code GET /agents}. */ + public static final Endpoint GET_AGENTS = new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents"); + /** Endpoint for {@code GET /agents/health}. */ + public static final Endpoint GET_AGENTS_HEALTH = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/health"); + /** Endpoint for {@code GET /agents/runs/{param}}. */ + public static final Endpoint GET_AGENTS_RUNS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}"); + /** Endpoint for {@code GET /agents/runs/{param}/conversation}. */ + public static final Endpoint GET_AGENTS_RUNS_PARAM_CONVERSATION = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/runs/{param}/conversation"); + /** Endpoint for {@code GET /agents/{param}}. */ + public static final Endpoint GET_AGENTS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}"); + /** Endpoint for {@code GET /agents/{param}/runs}. */ + public static final Endpoint GET_AGENTS_PARAM_RUNS = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/runs"); + /** Endpoint for {@code GET /agents/{param}/versions}. */ + public static final Endpoint GET_AGENTS_PARAM_VERSIONS = + new Endpoint(ApiService.AGENTS, HttpMethod.GET, "/agents/{param}/versions"); + /** Endpoint for {@code POST /agents}. */ + public static final Endpoint POST_AGENTS = new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents"); + /** Endpoint for {@code POST /agents/{param}/rollback}. */ + public static final Endpoint POST_AGENTS_PARAM_ROLLBACK = + new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/rollback"); + /** Endpoint for {@code POST /agents/{param}/runs}. */ + public static final Endpoint POST_AGENTS_PARAM_RUNS = + new Endpoint(ApiService.AGENTS, HttpMethod.POST, "/agents/{param}/runs"); + /** Endpoint for {@code PUT /agents/{param}}. */ + public static final Endpoint PUT_AGENTS_PARAM = + new Endpoint(ApiService.AGENTS, HttpMethod.PUT, "/agents/{param}"); + /** Endpoint for {@code STREAM /agents/runs/{param}/stream}. */ + public static final Endpoint STREAM_AGENTS_RUNS_PARAM_STREAM = + new Endpoint(ApiService.AGENTS, HttpMethod.STREAM, "/agents/runs/{param}/stream"); + } - public static final class Ai { - private Ai() {} + public static final class Ai { + private Ai() {} - /** Endpoint for {@code GET /health}. */ - public static final Endpoint GET_HEALTH = - new Endpoint(ApiService.AI, HttpMethod.GET, "/health"); - /** Endpoint for {@code GET /internal/models}. */ - public static final Endpoint GET_INTERNAL_MODELS = - new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models"); - /** Endpoint for {@code GET /internal/models/defaults}. */ - public static final Endpoint GET_INTERNAL_MODELS_DEFAULTS = - new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models/defaults"); - /** Endpoint for {@code POST /ai/chat/completions}. */ - public static final Endpoint POST_AI_CHAT_COMPLETIONS = - new Endpoint(ApiService.AI, HttpMethod.POST, "/ai/chat/completions"); - /** Endpoint for {@code POST /internal/embeddings}. */ - public static final Endpoint POST_INTERNAL_EMBEDDINGS = - new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/embeddings"); - /** Endpoint for {@code POST /internal/predictions}. */ - public static final Endpoint POST_INTERNAL_PREDICTIONS = - new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/predictions"); - /** Endpoint for {@code POST /internal/rerank}. */ - public static final Endpoint POST_INTERNAL_RERANK = - new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/rerank"); - /** Endpoint for {@code POSTFORMDATA /internal/predictions}. */ - public static final Endpoint POSTFORMDATA_INTERNAL_PREDICTIONS = - new Endpoint(ApiService.AI, HttpMethod.POSTFORMDATA, "/internal/predictions"); - /** Endpoint for {@code POSTRAW /internal/predictions}. */ - public static final Endpoint POSTRAW_INTERNAL_PREDICTIONS = - new Endpoint(ApiService.AI, HttpMethod.POSTRAW, "/internal/predictions"); - } + /** Endpoint for {@code GET /health}. */ + public static final Endpoint GET_HEALTH = new Endpoint(ApiService.AI, HttpMethod.GET, "/health"); + /** Endpoint for {@code GET /internal/models}. */ + public static final Endpoint GET_INTERNAL_MODELS = + new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models"); + /** Endpoint for {@code GET /internal/models/defaults}. */ + public static final Endpoint GET_INTERNAL_MODELS_DEFAULTS = + new Endpoint(ApiService.AI, HttpMethod.GET, "/internal/models/defaults"); + /** Endpoint for {@code POST /ai/chat/completions}. */ + public static final Endpoint POST_AI_CHAT_COMPLETIONS = + new Endpoint(ApiService.AI, HttpMethod.POST, "/ai/chat/completions"); + /** Endpoint for {@code POST /internal/embeddings}. */ + public static final Endpoint POST_INTERNAL_EMBEDDINGS = + new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/embeddings"); + /** Endpoint for {@code POST /internal/predictions}. */ + public static final Endpoint POST_INTERNAL_PREDICTIONS = + new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/predictions"); + /** Endpoint for {@code POST /internal/rerank}. */ + public static final Endpoint POST_INTERNAL_RERANK = + new Endpoint(ApiService.AI, HttpMethod.POST, "/internal/rerank"); + /** Endpoint for {@code POSTFORMDATA /internal/predictions}. */ + public static final Endpoint POSTFORMDATA_INTERNAL_PREDICTIONS = + new Endpoint(ApiService.AI, HttpMethod.POSTFORMDATA, "/internal/predictions"); + /** Endpoint for {@code POSTRAW /internal/predictions}. */ + public static final Endpoint POSTRAW_INTERNAL_PREDICTIONS = + new Endpoint(ApiService.AI, HttpMethod.POSTRAW, "/internal/predictions"); + } - public static final class Audit { - private Audit() {} + public static final class Audit { + private Audit() {} - /** Endpoint for {@code GET /audit/events}. */ - public static final Endpoint GET_AUDIT_EVENTS = - new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events"); - /** Endpoint for {@code GET /audit/events/{param}}. */ - public static final Endpoint GET_AUDIT_EVENTS_PARAM = - new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events/{param}"); - /** Endpoint for {@code POST /audit/events}. */ - public static final Endpoint POST_AUDIT_EVENTS = - new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events"); - /** Endpoint for {@code POST /audit/events/batch}. */ - public static final Endpoint POST_AUDIT_EVENTS_BATCH = - new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events/batch"); - } + /** Endpoint for {@code GET /audit/events}. */ + public static final Endpoint GET_AUDIT_EVENTS = new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events"); + /** Endpoint for {@code GET /audit/events/{param}}. */ + public static final Endpoint GET_AUDIT_EVENTS_PARAM = + new Endpoint(ApiService.AUDIT, HttpMethod.GET, "/audit/events/{param}"); + /** Endpoint for {@code POST /audit/events}. */ + public static final Endpoint POST_AUDIT_EVENTS = + new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events"); + /** Endpoint for {@code POST /audit/events/batch}. */ + public static final Endpoint POST_AUDIT_EVENTS_BATCH = + new Endpoint(ApiService.AUDIT, HttpMethod.POST, "/audit/events/batch"); + } - public static final class Auth { - private Auth() {} + public static final class Auth { + private Auth() {} - /** Endpoint for {@code DELETE /auth/account/mfa/{param}}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_MFA_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/mfa/{param}"); - /** Endpoint for {@code DELETE /auth/account/profile}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_PROFILE = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/profile"); - /** Endpoint for {@code DELETE /auth/account/security/api-keys/{param}}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/api-keys/{param}"); - /** Endpoint for {@code DELETE /auth/account/security/devices/{param}}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/devices/{param}"); - /** Endpoint for {@code DELETE /auth/account/sessions/{param}}. */ - public static final Endpoint DELETE_AUTH_ACCOUNT_SESSIONS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/sessions/{param}"); - /** Endpoint for {@code DELETE /auth/admin/users/{param}}. */ - public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}"); - /** Endpoint for {@code DELETE /auth/admin/users/{param}/factors/{param}}. */ - public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM = - new Endpoint( - ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}/factors/{param}"); - /** Endpoint for {@code DELETE /auth/factors/{param}}. */ - public static final Endpoint DELETE_AUTH_FACTORS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/factors/{param}"); - /** Endpoint for {@code DELETE /auth/user/identities/{param}}. */ - public static final Endpoint DELETE_AUTH_USER_IDENTITIES_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/user/identities/{param}"); - /** Endpoint for {@code GET /auth/account/audit-log}. */ - public static final Endpoint GET_AUTH_ACCOUNT_AUDIT_LOG = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/audit-log"); - /** Endpoint for {@code GET /auth/account/mfa}. */ - public static final Endpoint GET_AUTH_ACCOUNT_MFA = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa"); - /** Endpoint for {@code GET /auth/account/mfa/{param}}. */ - public static final Endpoint GET_AUTH_ACCOUNT_MFA_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa/{param}"); - /** Endpoint for {@code GET /auth/account/profile}. */ - public static final Endpoint GET_AUTH_ACCOUNT_PROFILE = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/profile"); - /** Endpoint for {@code GET /auth/account/security/api-keys}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys"); - /** Endpoint for {@code GET /auth/account/security/api-keys/{param}}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys/{param}"); - /** Endpoint for {@code GET /auth/account/security/devices}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices"); - /** Endpoint for {@code GET /auth/account/security/devices/{param}}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices/{param}"); - /** Endpoint for {@code GET /auth/account/sessions}. */ - public static final Endpoint GET_AUTH_ACCOUNT_SESSIONS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/sessions"); - /** Endpoint for {@code GET /auth/admin/users}. */ - public static final Endpoint GET_AUTH_ADMIN_USERS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users"); - /** Endpoint for {@code GET /auth/admin/users/{param}}. */ - public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}"); - /** Endpoint for {@code GET /auth/admin/users/{param}/factors}. */ - public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM_FACTORS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}/factors"); - /** Endpoint for {@code GET /auth/auth/session}. */ - public static final Endpoint GET_AUTH_AUTH_SESSION = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/auth/session"); - /** Endpoint for {@code GET /auth/factors}. */ - public static final Endpoint GET_AUTH_FACTORS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/factors"); - /** Endpoint for {@code GET /auth/mfa/status}. */ - public static final Endpoint GET_AUTH_MFA_STATUS = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/mfa/status"); - /** Endpoint for {@code GET /auth/user}. */ - public static final Endpoint GET_AUTH_USER = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user"); - /** Endpoint for {@code GET /auth/user/identities}. */ - public static final Endpoint GET_AUTH_USER_IDENTITIES = - new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user/identities"); - /** Endpoint for {@code POST /auth/account/mfa}. */ - public static final Endpoint POST_AUTH_ACCOUNT_MFA = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa"); - /** Endpoint for {@code POST /auth/account/mfa/{param}/challenge}. */ - public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/challenge"); - /** Endpoint for {@code POST /auth/account/mfa/{param}/verify}. */ - public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/verify"); - /** Endpoint for {@code POST /auth/account/password}. */ - public static final Endpoint POST_AUTH_ACCOUNT_PASSWORD = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/password"); - /** Endpoint for {@code POST /auth/account/security/api-keys}. */ - public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_API_KEYS = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/api-keys"); - /** Endpoint for {@code POST /auth/account/security/devices}. */ - public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices"); - /** Endpoint for {@code POST /auth/account/security/devices/{param}/trust}. */ - public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST = - new Endpoint( - ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices/{param}/trust"); - /** Endpoint for {@code POST /auth/account/sessions/{param}/extend}. */ - public static final Endpoint POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/sessions/{param}/extend"); - /** Endpoint for {@code POST /auth/admin/generate_link}. */ - public static final Endpoint POST_AUTH_ADMIN_GENERATE_LINK = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/generate_link"); - /** Endpoint for {@code POST /auth/admin/logout}. */ - public static final Endpoint POST_AUTH_ADMIN_LOGOUT = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/logout"); - /** Endpoint for {@code POST /auth/admin/users}. */ - public static final Endpoint POST_AUTH_ADMIN_USERS = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/users"); - /** Endpoint for {@code POST /auth/auth/session}. */ - public static final Endpoint POST_AUTH_AUTH_SESSION = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/auth/session"); - /** Endpoint for {@code POST /auth/authorize}. */ - public static final Endpoint POST_AUTH_AUTHORIZE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/authorize"); - /** Endpoint for {@code POST /auth/factors}. */ - public static final Endpoint POST_AUTH_FACTORS = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors"); - /** Endpoint for {@code POST /auth/factors/{param}/challenge}. */ - public static final Endpoint POST_AUTH_FACTORS_PARAM_CHALLENGE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/challenge"); - /** Endpoint for {@code POST /auth/factors/{param}/verify}. */ - public static final Endpoint POST_AUTH_FACTORS_PARAM_VERIFY = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/verify"); - /** Endpoint for {@code POST /auth/invite}. */ - public static final Endpoint POST_AUTH_INVITE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/invite"); - /** Endpoint for {@code POST /auth/login}. */ - public static final Endpoint POST_AUTH_LOGIN = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/login"); - /** Endpoint for {@code POST /auth/logout}. */ - public static final Endpoint POST_AUTH_LOGOUT = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/logout"); - /** Endpoint for {@code POST /auth/mfa/backup-codes/regenerate}. */ - public static final Endpoint POST_AUTH_MFA_BACKUP_CODES_REGENERATE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/backup-codes/regenerate"); - /** Endpoint for {@code POST /auth/mfa/disable}. */ - public static final Endpoint POST_AUTH_MFA_DISABLE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/disable"); - /** Endpoint for {@code POST /auth/mfa/enable}. */ - public static final Endpoint POST_AUTH_MFA_ENABLE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/enable"); - /** Endpoint for {@code POST /auth/mfa/setup}. */ - public static final Endpoint POST_AUTH_MFA_SETUP = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/setup"); - /** Endpoint for {@code POST /auth/mfa/verify}. */ - public static final Endpoint POST_AUTH_MFA_VERIFY = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/verify"); - /** Endpoint for {@code POST /auth/otp}. */ - public static final Endpoint POST_AUTH_OTP = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/otp"); - /** Endpoint for {@code POST /auth/reauthenticate}. */ - public static final Endpoint POST_AUTH_REAUTHENTICATE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/reauthenticate"); - /** Endpoint for {@code POST /auth/recover}. */ - public static final Endpoint POST_AUTH_RECOVER = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/recover"); - /** Endpoint for {@code POST /auth/resend}. */ - public static final Endpoint POST_AUTH_RESEND = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/resend"); - /** Endpoint for {@code POST /auth/signup}. */ - public static final Endpoint POST_AUTH_SIGNUP = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/signup"); - /** Endpoint for {@code POST /auth/sso}. */ - public static final Endpoint POST_AUTH_SSO = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/sso"); - /** Endpoint for {@code POST /auth/token?grant_type=id_token}. */ - public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=id_token"); - /** Endpoint for {@code POST /auth/token?grant_type=password}. */ - public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=password"); - /** Endpoint for {@code POST /auth/token?grant_type=pkce}. */ - public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PKCE = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=pkce"); - /** Endpoint for {@code POST /auth/token?grant_type=refresh_token}. */ - public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=refresh_token"); - /** Endpoint for {@code POST /auth/user/identities}. */ - public static final Endpoint POST_AUTH_USER_IDENTITIES = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/user/identities"); - /** Endpoint for {@code POST /auth/verify}. */ - public static final Endpoint POST_AUTH_VERIFY = - new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/verify"); - /** Endpoint for {@code PUT /auth/account/profile}. */ - public static final Endpoint PUT_AUTH_ACCOUNT_PROFILE = - new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/profile"); - /** Endpoint for {@code PUT /auth/account/security/api-keys/{param}}. */ - public static final Endpoint PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/security/api-keys/{param}"); - /** Endpoint for {@code PUT /auth/admin/users/{param}}. */ - public static final Endpoint PUT_AUTH_ADMIN_USERS_PARAM = - new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/admin/users/{param}"); - /** Endpoint for {@code PUT /auth/user}. */ - public static final Endpoint PUT_AUTH_USER = - new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/user"); - } + /** Endpoint for {@code DELETE /auth/account/mfa/{param}}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_MFA_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/mfa/{param}"); + /** Endpoint for {@code DELETE /auth/account/profile}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_PROFILE = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/profile"); + /** Endpoint for {@code DELETE /auth/account/security/api-keys/{param}}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code DELETE /auth/account/security/devices/{param}}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/security/devices/{param}"); + /** Endpoint for {@code DELETE /auth/account/sessions/{param}}. */ + public static final Endpoint DELETE_AUTH_ACCOUNT_SESSIONS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/account/sessions/{param}"); + /** Endpoint for {@code DELETE /auth/admin/users/{param}}. */ + public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}"); + /** Endpoint for {@code DELETE /auth/admin/users/{param}/factors/{param}}. */ + public static final Endpoint DELETE_AUTH_ADMIN_USERS_PARAM_FACTORS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/admin/users/{param}/factors/{param}"); + /** Endpoint for {@code DELETE /auth/factors/{param}}. */ + public static final Endpoint DELETE_AUTH_FACTORS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/factors/{param}"); + /** Endpoint for {@code DELETE /auth/user/identities/{param}}. */ + public static final Endpoint DELETE_AUTH_USER_IDENTITIES_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.DELETE, "/auth/user/identities/{param}"); + /** Endpoint for {@code GET /auth/account/audit-log}. */ + public static final Endpoint GET_AUTH_ACCOUNT_AUDIT_LOG = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/audit-log"); + /** Endpoint for {@code GET /auth/account/mfa}. */ + public static final Endpoint GET_AUTH_ACCOUNT_MFA = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa"); + /** Endpoint for {@code GET /auth/account/mfa/{param}}. */ + public static final Endpoint GET_AUTH_ACCOUNT_MFA_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/mfa/{param}"); + /** Endpoint for {@code GET /auth/account/profile}. */ + public static final Endpoint GET_AUTH_ACCOUNT_PROFILE = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/profile"); + /** Endpoint for {@code GET /auth/account/security/api-keys}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys"); + /** Endpoint for {@code GET /auth/account/security/api-keys/{param}}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code GET /auth/account/security/devices}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices"); + /** Endpoint for {@code GET /auth/account/security/devices/{param}}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/security/devices/{param}"); + /** Endpoint for {@code GET /auth/account/sessions}. */ + public static final Endpoint GET_AUTH_ACCOUNT_SESSIONS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/account/sessions"); + /** Endpoint for {@code GET /auth/admin/users}. */ + public static final Endpoint GET_AUTH_ADMIN_USERS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users"); + /** Endpoint for {@code GET /auth/admin/users/{param}}. */ + public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}"); + /** Endpoint for {@code GET /auth/admin/users/{param}/factors}. */ + public static final Endpoint GET_AUTH_ADMIN_USERS_PARAM_FACTORS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/admin/users/{param}/factors"); + /** Endpoint for {@code GET /auth/auth/session}. */ + public static final Endpoint GET_AUTH_AUTH_SESSION = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/auth/session"); + /** Endpoint for {@code GET /auth/factors}. */ + public static final Endpoint GET_AUTH_FACTORS = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/factors"); + /** Endpoint for {@code GET /auth/mfa/status}. */ + public static final Endpoint GET_AUTH_MFA_STATUS = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/mfa/status"); + /** Endpoint for {@code GET /auth/user}. */ + public static final Endpoint GET_AUTH_USER = new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user"); + /** Endpoint for {@code GET /auth/user/identities}. */ + public static final Endpoint GET_AUTH_USER_IDENTITIES = + new Endpoint(ApiService.AUTH, HttpMethod.GET, "/auth/user/identities"); + /** Endpoint for {@code POST /auth/account/mfa}. */ + public static final Endpoint POST_AUTH_ACCOUNT_MFA = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa"); + /** Endpoint for {@code POST /auth/account/mfa/{param}/challenge}. */ + public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_CHALLENGE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/challenge"); + /** Endpoint for {@code POST /auth/account/mfa/{param}/verify}. */ + public static final Endpoint POST_AUTH_ACCOUNT_MFA_PARAM_VERIFY = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/mfa/{param}/verify"); + /** Endpoint for {@code POST /auth/account/password}. */ + public static final Endpoint POST_AUTH_ACCOUNT_PASSWORD = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/password"); + /** Endpoint for {@code POST /auth/account/security/api-keys}. */ + public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_API_KEYS = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/api-keys"); + /** Endpoint for {@code POST /auth/account/security/devices}. */ + public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices"); + /** Endpoint for {@code POST /auth/account/security/devices/{param}/trust}. */ + public static final Endpoint POST_AUTH_ACCOUNT_SECURITY_DEVICES_PARAM_TRUST = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/security/devices/{param}/trust"); + /** Endpoint for {@code POST /auth/account/sessions/{param}/extend}. */ + public static final Endpoint POST_AUTH_ACCOUNT_SESSIONS_PARAM_EXTEND = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/account/sessions/{param}/extend"); + /** Endpoint for {@code POST /auth/admin/generate_link}. */ + public static final Endpoint POST_AUTH_ADMIN_GENERATE_LINK = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/generate_link"); + /** Endpoint for {@code POST /auth/admin/logout}. */ + public static final Endpoint POST_AUTH_ADMIN_LOGOUT = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/logout"); + /** Endpoint for {@code POST /auth/admin/users}. */ + public static final Endpoint POST_AUTH_ADMIN_USERS = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/admin/users"); + /** Endpoint for {@code POST /auth/auth/session}. */ + public static final Endpoint POST_AUTH_AUTH_SESSION = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/auth/session"); + /** Endpoint for {@code POST /auth/authorize}. */ + public static final Endpoint POST_AUTH_AUTHORIZE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/authorize"); + /** Endpoint for {@code POST /auth/factors}. */ + public static final Endpoint POST_AUTH_FACTORS = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors"); + /** Endpoint for {@code POST /auth/factors/{param}/challenge}. */ + public static final Endpoint POST_AUTH_FACTORS_PARAM_CHALLENGE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/challenge"); + /** Endpoint for {@code POST /auth/factors/{param}/verify}. */ + public static final Endpoint POST_AUTH_FACTORS_PARAM_VERIFY = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/factors/{param}/verify"); + /** Endpoint for {@code POST /auth/invite}. */ + public static final Endpoint POST_AUTH_INVITE = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/invite"); + /** Endpoint for {@code POST /auth/login}. */ + public static final Endpoint POST_AUTH_LOGIN = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/login"); + /** Endpoint for {@code POST /auth/logout}. */ + public static final Endpoint POST_AUTH_LOGOUT = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/logout"); + /** Endpoint for {@code POST /auth/mfa/backup-codes/regenerate}. */ + public static final Endpoint POST_AUTH_MFA_BACKUP_CODES_REGENERATE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/backup-codes/regenerate"); + /** Endpoint for {@code POST /auth/mfa/disable}. */ + public static final Endpoint POST_AUTH_MFA_DISABLE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/disable"); + /** Endpoint for {@code POST /auth/mfa/enable}. */ + public static final Endpoint POST_AUTH_MFA_ENABLE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/enable"); + /** Endpoint for {@code POST /auth/mfa/setup}. */ + public static final Endpoint POST_AUTH_MFA_SETUP = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/setup"); + /** Endpoint for {@code POST /auth/mfa/verify}. */ + public static final Endpoint POST_AUTH_MFA_VERIFY = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/mfa/verify"); + /** Endpoint for {@code POST /auth/otp}. */ + public static final Endpoint POST_AUTH_OTP = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/otp"); + /** Endpoint for {@code POST /auth/reauthenticate}. */ + public static final Endpoint POST_AUTH_REAUTHENTICATE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/reauthenticate"); + /** Endpoint for {@code POST /auth/recover}. */ + public static final Endpoint POST_AUTH_RECOVER = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/recover"); + /** Endpoint for {@code POST /auth/resend}. */ + public static final Endpoint POST_AUTH_RESEND = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/resend"); + /** Endpoint for {@code POST /auth/signup}. */ + public static final Endpoint POST_AUTH_SIGNUP = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/signup"); + /** Endpoint for {@code POST /auth/sso}. */ + public static final Endpoint POST_AUTH_SSO = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/sso"); + /** Endpoint for {@code POST /auth/token?grant_type=id_token}. */ + public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_ID_TOKEN = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=id_token"); + /** Endpoint for {@code POST /auth/token?grant_type=password}. */ + public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PASSWORD = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=password"); + /** Endpoint for {@code POST /auth/token?grant_type=pkce}. */ + public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_PKCE = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=pkce"); + /** Endpoint for {@code POST /auth/token?grant_type=refresh_token}. */ + public static final Endpoint POST_AUTH_TOKEN_GRANT_TYPE_REFRESH_TOKEN = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/token?grant_type=refresh_token"); + /** Endpoint for {@code POST /auth/user/identities}. */ + public static final Endpoint POST_AUTH_USER_IDENTITIES = + new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/user/identities"); + /** Endpoint for {@code POST /auth/verify}. */ + public static final Endpoint POST_AUTH_VERIFY = new Endpoint(ApiService.AUTH, HttpMethod.POST, "/auth/verify"); + /** Endpoint for {@code PUT /auth/account/profile}. */ + public static final Endpoint PUT_AUTH_ACCOUNT_PROFILE = + new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/profile"); + /** Endpoint for {@code PUT /auth/account/security/api-keys/{param}}. */ + public static final Endpoint PUT_AUTH_ACCOUNT_SECURITY_API_KEYS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/account/security/api-keys/{param}"); + /** Endpoint for {@code PUT /auth/admin/users/{param}}. */ + public static final Endpoint PUT_AUTH_ADMIN_USERS_PARAM = + new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/admin/users/{param}"); + /** Endpoint for {@code PUT /auth/user}. */ + public static final Endpoint PUT_AUTH_USER = new Endpoint(ApiService.AUTH, HttpMethod.PUT, "/auth/user"); + } - public static final class Billing { - private Billing() {} + public static final class Billing { + private Billing() {} - /** Endpoint for {@code GET /billing/addons/{param}/entitlements}. */ - public static final Endpoint GET_BILLING_ADDONS_PARAM_ENTITLEMENTS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/addons/{param}/entitlements"); - /** Endpoint for {@code GET /billing/customers/portal/{param}}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PORTAL_PARAM = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/portal/{param}"); - /** Endpoint for {@code GET /billing/customers/{param}/entitlements}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/entitlements"); - /** Endpoint for {@code GET /billing/customers/{param}/invoices/summary}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY = - new Endpoint( - ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/invoices/summary"); - /** Endpoint for {@code GET /billing/customers/{param}/usage}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_USAGE = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/usage"); - /** Endpoint for {@code GET /billing/customers/{param}/wallets}. */ - public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_WALLETS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/wallets"); - /** Endpoint for {@code GET /billing/plans/{param}/entitlements}. */ - public static final Endpoint GET_BILLING_PLANS_PARAM_ENTITLEMENTS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/plans/{param}/entitlements"); - /** Endpoint for {@code GET /billing/prices/lookup/{param}}. */ - public static final Endpoint GET_BILLING_PRICES_LOOKUP_PARAM = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/prices/lookup/{param}"); - /** Endpoint for {@code GET /billing/subscriptions/{param}/entitlements}. */ - public static final Endpoint GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS = - new Endpoint( - ApiService.BILLING, HttpMethod.GET, "/billing/subscriptions/{param}/entitlements"); - /** Endpoint for {@code GET /billing/wallets/{param}/balance/real-time}. */ - public static final Endpoint GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME = - new Endpoint( - ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/balance/real-time"); - /** Endpoint for {@code GET /billing/wallets/{param}/transactions}. */ - public static final Endpoint GET_BILLING_WALLETS_PARAM_TRANSACTIONS = - new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/transactions"); - /** Endpoint for {@code GETRAW /billing/invoices/{param}/pdf}. */ - public static final Endpoint GETRAW_BILLING_INVOICES_PARAM_PDF = - new Endpoint(ApiService.BILLING, HttpMethod.GETRAW, "/billing/invoices/{param}/pdf"); - /** Endpoint for {@code POST /billing/invoices/preview}. */ - public static final Endpoint POST_BILLING_INVOICES_PREVIEW = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/preview"); - /** Endpoint for {@code POST /billing/invoices/{param}/finalize}. */ - public static final Endpoint POST_BILLING_INVOICES_PARAM_FINALIZE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/finalize"); - /** Endpoint for {@code POST /billing/invoices/{param}/void}. */ - public static final Endpoint POST_BILLING_INVOICES_PARAM_VOID = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/void"); - /** Endpoint for {@code POST /billing/meters/{param}/disable}. */ - public static final Endpoint POST_BILLING_METERS_PARAM_DISABLE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/meters/{param}/disable"); - /** Endpoint for {@code POST /billing/plans/{param}/clone}. */ - public static final Endpoint POST_BILLING_PLANS_PARAM_CLONE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/plans/{param}/clone"); - /** Endpoint for {@code POST /billing/subscriptions/{param}/activate}. */ - public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE = - new Endpoint( - ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/activate"); - /** Endpoint for {@code POST /billing/subscriptions/{param}/cancel}. */ - public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/cancel"); - /** Endpoint for {@code POST /billing/subscriptions/{param}/pause}. */ - public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/pause"); - /** Endpoint for {@code POST /billing/subscriptions/{param}/resume}. */ - public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/resume"); - /** Endpoint for {@code POST /billing/wallets/{param}/terminate}. */ - public static final Endpoint POST_BILLING_WALLETS_PARAM_TERMINATE = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/terminate"); - /** Endpoint for {@code POST /billing/wallets/{param}/top-up}. */ - public static final Endpoint POST_BILLING_WALLETS_PARAM_TOP_UP = - new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/top-up"); - } + /** Endpoint for {@code GET /billing/addons/{param}/entitlements}. */ + public static final Endpoint GET_BILLING_ADDONS_PARAM_ENTITLEMENTS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/addons/{param}/entitlements"); + /** Endpoint for {@code GET /billing/customers/portal/{param}}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PORTAL_PARAM = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/portal/{param}"); + /** Endpoint for {@code GET /billing/customers/{param}/entitlements}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_ENTITLEMENTS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/entitlements"); + /** Endpoint for {@code GET /billing/customers/{param}/invoices/summary}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_INVOICES_SUMMARY = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/invoices/summary"); + /** Endpoint for {@code GET /billing/customers/{param}/usage}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_USAGE = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/usage"); + /** Endpoint for {@code GET /billing/customers/{param}/wallets}. */ + public static final Endpoint GET_BILLING_CUSTOMERS_PARAM_WALLETS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/customers/{param}/wallets"); + /** Endpoint for {@code GET /billing/plans/{param}/entitlements}. */ + public static final Endpoint GET_BILLING_PLANS_PARAM_ENTITLEMENTS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/plans/{param}/entitlements"); + /** Endpoint for {@code GET /billing/prices/lookup/{param}}. */ + public static final Endpoint GET_BILLING_PRICES_LOOKUP_PARAM = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/prices/lookup/{param}"); + /** Endpoint for {@code GET /billing/subscriptions/{param}/entitlements}. */ + public static final Endpoint GET_BILLING_SUBSCRIPTIONS_PARAM_ENTITLEMENTS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/subscriptions/{param}/entitlements"); + /** Endpoint for {@code GET /billing/wallets/{param}/balance/real-time}. */ + public static final Endpoint GET_BILLING_WALLETS_PARAM_BALANCE_REAL_TIME = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/balance/real-time"); + /** Endpoint for {@code GET /billing/wallets/{param}/transactions}. */ + public static final Endpoint GET_BILLING_WALLETS_PARAM_TRANSACTIONS = + new Endpoint(ApiService.BILLING, HttpMethod.GET, "/billing/wallets/{param}/transactions"); + /** Endpoint for {@code GETRAW /billing/invoices/{param}/pdf}. */ + public static final Endpoint GETRAW_BILLING_INVOICES_PARAM_PDF = + new Endpoint(ApiService.BILLING, HttpMethod.GETRAW, "/billing/invoices/{param}/pdf"); + /** Endpoint for {@code POST /billing/invoices/preview}. */ + public static final Endpoint POST_BILLING_INVOICES_PREVIEW = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/preview"); + /** Endpoint for {@code POST /billing/invoices/{param}/finalize}. */ + public static final Endpoint POST_BILLING_INVOICES_PARAM_FINALIZE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/finalize"); + /** Endpoint for {@code POST /billing/invoices/{param}/void}. */ + public static final Endpoint POST_BILLING_INVOICES_PARAM_VOID = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/invoices/{param}/void"); + /** Endpoint for {@code POST /billing/meters/{param}/disable}. */ + public static final Endpoint POST_BILLING_METERS_PARAM_DISABLE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/meters/{param}/disable"); + /** Endpoint for {@code POST /billing/plans/{param}/clone}. */ + public static final Endpoint POST_BILLING_PLANS_PARAM_CLONE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/plans/{param}/clone"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/activate}. */ + public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_ACTIVATE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/activate"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/cancel}. */ + public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_CANCEL = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/cancel"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/pause}. */ + public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_PAUSE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/pause"); + /** Endpoint for {@code POST /billing/subscriptions/{param}/resume}. */ + public static final Endpoint POST_BILLING_SUBSCRIPTIONS_PARAM_RESUME = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/subscriptions/{param}/resume"); + /** Endpoint for {@code POST /billing/wallets/{param}/terminate}. */ + public static final Endpoint POST_BILLING_WALLETS_PARAM_TERMINATE = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/terminate"); + /** Endpoint for {@code POST /billing/wallets/{param}/top-up}. */ + public static final Endpoint POST_BILLING_WALLETS_PARAM_TOP_UP = + new Endpoint(ApiService.BILLING, HttpMethod.POST, "/billing/wallets/{param}/top-up"); + } - public static final class Blob { - private Blob() {} + public static final class Blob { + private Blob() {} - /** Endpoint for {@code DELETE /blob/object/{param}/{param}}. */ - public static final Endpoint DELETE_BLOB_OBJECT_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.DELETE, "/blob/object/{param}/{param}"); - /** Endpoint for {@code GET /blob/object/info/{param}/{param}}. */ - public static final Endpoint GET_BLOB_OBJECT_INFO_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/info/{param}/{param}"); - /** Endpoint for {@code GET /blob/object/{param}/{param}}. */ - public static final Endpoint GET_BLOB_OBJECT_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/{param}/{param}"); - /** Endpoint for {@code POST /blob/object/copy}. */ - public static final Endpoint POST_BLOB_OBJECT_COPY = - new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/copy"); - /** Endpoint for {@code POST /blob/object/list/{param}}. */ - public static final Endpoint POST_BLOB_OBJECT_LIST_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/list/{param}"); - /** Endpoint for {@code POST /blob/object/move}. */ - public static final Endpoint POST_BLOB_OBJECT_MOVE = - new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/move"); - /** Endpoint for {@code POST /blob/object/sign/{param}/{param}}. */ - public static final Endpoint POST_BLOB_OBJECT_SIGN_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/sign/{param}/{param}"); - /** Endpoint for {@code POSTFORMDATA /blob/object/{param}/{param}}. */ - public static final Endpoint POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM = - new Endpoint(ApiService.BLOB, HttpMethod.POSTFORMDATA, "/blob/object/{param}/{param}"); - } + /** Endpoint for {@code DELETE /blob/object/{param}/{param}}. */ + public static final Endpoint DELETE_BLOB_OBJECT_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.DELETE, "/blob/object/{param}/{param}"); + /** Endpoint for {@code GET /blob/object/info/{param}/{param}}. */ + public static final Endpoint GET_BLOB_OBJECT_INFO_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/info/{param}/{param}"); + /** Endpoint for {@code GET /blob/object/{param}/{param}}. */ + public static final Endpoint GET_BLOB_OBJECT_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.GET, "/blob/object/{param}/{param}"); + /** Endpoint for {@code POST /blob/object/copy}. */ + public static final Endpoint POST_BLOB_OBJECT_COPY = + new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/copy"); + /** Endpoint for {@code POST /blob/object/list/{param}}. */ + public static final Endpoint POST_BLOB_OBJECT_LIST_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/list/{param}"); + /** Endpoint for {@code POST /blob/object/move}. */ + public static final Endpoint POST_BLOB_OBJECT_MOVE = + new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/move"); + /** Endpoint for {@code POST /blob/object/sign/{param}/{param}}. */ + public static final Endpoint POST_BLOB_OBJECT_SIGN_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.POST, "/blob/object/sign/{param}/{param}"); + /** Endpoint for {@code POSTFORMDATA /blob/object/{param}/{param}}. */ + public static final Endpoint POSTFORMDATA_BLOB_OBJECT_PARAM_PARAM = + new Endpoint(ApiService.BLOB, HttpMethod.POSTFORMDATA, "/blob/object/{param}/{param}"); + } - public static final class Connectors { - private Connectors() {} + public static final class Connectors { + private Connectors() {} - /** Endpoint for {@code DELETE /connectors/installations/{param}}. */ - public static final Endpoint DELETE_CONNECTORS_INSTALLATIONS_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.DELETE, "/connectors/installations/{param}"); - /** Endpoint for {@code GET /connectors/catalog}. */ - public static final Endpoint GET_CONNECTORS_CATALOG = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog"); - /** Endpoint for {@code GET /connectors/catalog/{param}}. */ - public static final Endpoint GET_CONNECTORS_CATALOG_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog/{param}"); - /** Endpoint for {@code GET /connectors/connection-tests/{param}}. */ - public static final Endpoint GET_CONNECTORS_CONNECTION_TESTS_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/connection-tests/{param}"); - /** Endpoint for {@code GET /connectors/installations}. */ - public static final Endpoint GET_CONNECTORS_INSTALLATIONS = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations"); - /** Endpoint for {@code GET /connectors/installations/{param}}. */ - public static final Endpoint GET_CONNECTORS_INSTALLATIONS_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations/{param}"); - /** Endpoint for {@code GET /diagnostics}. */ - public static final Endpoint GET_DIAGNOSTICS = - new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/diagnostics"); - /** Endpoint for {@code PATCH /connectors/installations/{param}}. */ - public static final Endpoint PATCH_CONNECTORS_INSTALLATIONS_PARAM = - new Endpoint(ApiService.CONNECTORS, HttpMethod.PATCH, "/connectors/installations/{param}"); - /** Endpoint for {@code POST /connectors/installations}. */ - public static final Endpoint POST_CONNECTORS_INSTALLATIONS = - new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations"); - /** Endpoint for {@code POST /connectors/installations/{param}/pause}. */ - public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE = - new Endpoint( - ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/pause"); - /** Endpoint for {@code POST /connectors/installations/{param}/resume}. */ - public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME = - new Endpoint( - ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/resume"); - /** Endpoint for {@code POST /connectors/sync-runs/{param}/replay}. */ - public static final Endpoint POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY = - new Endpoint( - ApiService.CONNECTORS, HttpMethod.POST, "/connectors/sync-runs/{param}/replay"); - } + /** Endpoint for {@code DELETE /connectors/installations/{param}}. */ + public static final Endpoint DELETE_CONNECTORS_INSTALLATIONS_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.DELETE, "/connectors/installations/{param}"); + /** Endpoint for {@code GET /connectors/catalog}. */ + public static final Endpoint GET_CONNECTORS_CATALOG = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog"); + /** Endpoint for {@code GET /connectors/catalog/{param}}. */ + public static final Endpoint GET_CONNECTORS_CATALOG_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/catalog/{param}"); + /** Endpoint for {@code GET /connectors/connection-tests/{param}}. */ + public static final Endpoint GET_CONNECTORS_CONNECTION_TESTS_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/connection-tests/{param}"); + /** Endpoint for {@code GET /connectors/installations}. */ + public static final Endpoint GET_CONNECTORS_INSTALLATIONS = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations"); + /** Endpoint for {@code GET /connectors/installations/{param}}. */ + public static final Endpoint GET_CONNECTORS_INSTALLATIONS_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/connectors/installations/{param}"); + /** Endpoint for {@code GET /diagnostics}. */ + public static final Endpoint GET_DIAGNOSTICS = + new Endpoint(ApiService.CONNECTORS, HttpMethod.GET, "/diagnostics"); + /** Endpoint for {@code PATCH /connectors/installations/{param}}. */ + public static final Endpoint PATCH_CONNECTORS_INSTALLATIONS_PARAM = + new Endpoint(ApiService.CONNECTORS, HttpMethod.PATCH, "/connectors/installations/{param}"); + /** Endpoint for {@code POST /connectors/installations}. */ + public static final Endpoint POST_CONNECTORS_INSTALLATIONS = + new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations"); + /** Endpoint for {@code POST /connectors/installations/{param}/pause}. */ + public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_PAUSE = + new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/pause"); + /** Endpoint for {@code POST /connectors/installations/{param}/resume}. */ + public static final Endpoint POST_CONNECTORS_INSTALLATIONS_PARAM_RESUME = + new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/installations/{param}/resume"); + /** Endpoint for {@code POST /connectors/sync-runs/{param}/replay}. */ + public static final Endpoint POST_CONNECTORS_SYNC_RUNS_PARAM_REPLAY = + new Endpoint(ApiService.CONNECTORS, HttpMethod.POST, "/connectors/sync-runs/{param}/replay"); + } - public static final class ConnectionTests { - private ConnectionTests() {} + public static final class ConnectionTests { + private ConnectionTests() {} - /** Endpoint for {@code GET /connection-tests/{param}}. */ - public static final Endpoint GET_CONNECTION_TESTS_PARAM = - new Endpoint(ApiService.CONNECTION_TESTS, HttpMethod.GET, "/connection-tests/{param}"); - } + /** Endpoint for {@code GET /connection-tests/{param}}. */ + public static final Endpoint GET_CONNECTION_TESTS_PARAM = + new Endpoint(ApiService.CONNECTION_TESTS, HttpMethod.GET, "/connection-tests/{param}"); + } - public static final class Data { - private Data() {} + public static final class Data { + private Data() {} - /** Endpoint for {@code GET /data/aggregations/aggregations}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations"); - /** Endpoint for {@code GET /data/aggregations/aggregations/{param}}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations/{param}"); - /** Endpoint for {@code GET /data/aggregations/capabilities}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/capabilities"); - /** Endpoint for {@code GET /data/aggregations/health}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/health"); - /** Endpoint for {@code GET /data/aggregations/info}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/info"); - /** Endpoint for {@code GET /data/aggregations/runs}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs"); - /** Endpoint for {@code GET /data/aggregations/runs/{param}}. */ - public static final Endpoint GET_DATA_AGGREGATIONS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs/{param}"); - /** Endpoint for {@code GET /data/archival/archival/policies}. */ - public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies"); - /** Endpoint for {@code GET /data/archival/archival/policies/{param}}. */ - public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies/{param}"); - /** Endpoint for {@code GET /data/archival/capabilities}. */ - public static final Endpoint GET_DATA_ARCHIVAL_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/capabilities"); - /** Endpoint for {@code GET /data/archival/health}. */ - public static final Endpoint GET_DATA_ARCHIVAL_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/health"); - /** Endpoint for {@code GET /data/archival/info}. */ - public static final Endpoint GET_DATA_ARCHIVAL_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/info"); - /** Endpoint for {@code GET /data/archival/runs}. */ - public static final Endpoint GET_DATA_ARCHIVAL_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs"); - /** Endpoint for {@code GET /data/archival/runs/{param}}. */ - public static final Endpoint GET_DATA_ARCHIVAL_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs/{param}"); - /** Endpoint for {@code GET /data/catalog/capabilities}. */ - public static final Endpoint GET_DATA_CATALOG_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/capabilities"); - /** Endpoint for {@code GET /data/catalog/catalog/datasets}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets"); - /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets/{param}"); - /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = - new Endpoint( - ApiService.DATA, - HttpMethod.GET, - "/data/catalog/catalog/datasets/{param}/artifacts/{param}/content"); - /** Endpoint for {@code GET /data/catalog/catalog/sources}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources"); - /** Endpoint for {@code GET /data/catalog/catalog/sources/{param}}. */ - public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources/{param}"); - /** Endpoint for {@code GET /data/catalog/health}. */ - public static final Endpoint GET_DATA_CATALOG_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/health"); - /** Endpoint for {@code GET /data/catalog/info}. */ - public static final Endpoint GET_DATA_CATALOG_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/info"); - /** Endpoint for {@code GET /data/catalog/runs}. */ - public static final Endpoint GET_DATA_CATALOG_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs"); - /** Endpoint for {@code GET /data/catalog/runs/{param}}. */ - public static final Endpoint GET_DATA_CATALOG_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs/{param}"); - /** Endpoint for {@code GET /data/enrichment/capabilities}. */ - public static final Endpoint GET_DATA_ENRICHMENT_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/capabilities"); - /** Endpoint for {@code GET /data/enrichment/enrichment/profiles}. */ - public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles"); - /** Endpoint for {@code GET /data/enrichment/enrichment/profiles/{param}}. */ - public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM = - new Endpoint( - ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles/{param}"); - /** Endpoint for {@code GET /data/enrichment/health}. */ - public static final Endpoint GET_DATA_ENRICHMENT_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/health"); - /** Endpoint for {@code GET /data/enrichment/info}. */ - public static final Endpoint GET_DATA_ENRICHMENT_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/info"); - /** Endpoint for {@code GET /data/enrichment/runs}. */ - public static final Endpoint GET_DATA_ENRICHMENT_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs"); - /** Endpoint for {@code GET /data/enrichment/runs/{param}}. */ - public static final Endpoint GET_DATA_ENRICHMENT_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs/{param}"); - /** Endpoint for {@code GET /data/exports/capabilities}. */ - public static final Endpoint GET_DATA_EXPORTS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/capabilities"); - /** Endpoint for {@code GET /data/exports/exports}. */ - public static final Endpoint GET_DATA_EXPORTS_EXPORTS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports"); - /** Endpoint for {@code GET /data/exports/exports/{param}}. */ - public static final Endpoint GET_DATA_EXPORTS_EXPORTS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports/{param}"); - /** Endpoint for {@code GET /data/exports/health}. */ - public static final Endpoint GET_DATA_EXPORTS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/health"); - /** Endpoint for {@code GET /data/exports/info}. */ - public static final Endpoint GET_DATA_EXPORTS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/info"); - /** Endpoint for {@code GET /data/exports/runs}. */ - public static final Endpoint GET_DATA_EXPORTS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs"); - /** Endpoint for {@code GET /data/exports/runs/{param}}. */ - public static final Endpoint GET_DATA_EXPORTS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs/{param}"); - /** Endpoint for {@code GET /data/ingest/capabilities}. */ - public static final Endpoint GET_DATA_INGEST_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/capabilities"); - /** Endpoint for {@code GET /data/ingest/datasets}. */ - public static final Endpoint GET_DATA_INGEST_DATASETS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets"); - /** Endpoint for {@code GET /data/ingest/datasets/{param}}. */ - public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets/{param}"); - /** Endpoint for {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. */ - public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = - new Endpoint( - ApiService.DATA, - HttpMethod.GET, - "/data/ingest/datasets/{param}/artifacts/{param}/content"); - /** Endpoint for {@code GET /data/ingest/health}. */ - public static final Endpoint GET_DATA_INGEST_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/health"); - /** Endpoint for {@code GET /data/ingest/info}. */ - public static final Endpoint GET_DATA_INGEST_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/info"); - /** Endpoint for {@code GET /data/ingest/runs}. */ - public static final Endpoint GET_DATA_INGEST_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs"); - /** Endpoint for {@code GET /data/ingest/runs/{param}}. */ - public static final Endpoint GET_DATA_INGEST_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs/{param}"); - /** Endpoint for {@code GET /data/ingest/schemas}. */ - public static final Endpoint GET_DATA_INGEST_SCHEMAS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas"); - /** Endpoint for {@code GET /data/ingest/schemas/{param}}. */ - public static final Endpoint GET_DATA_INGEST_SCHEMAS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas/{param}"); - /** Endpoint for {@code GET /data/normalization/capabilities}. */ - public static final Endpoint GET_DATA_NORMALIZATION_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/capabilities"); - /** Endpoint for {@code GET /data/normalization/health}. */ - public static final Endpoint GET_DATA_NORMALIZATION_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/health"); - /** Endpoint for {@code GET /data/normalization/info}. */ - public static final Endpoint GET_DATA_NORMALIZATION_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/info"); - /** Endpoint for {@code GET /data/normalization/normalization/profiles}. */ - public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles"); - /** Endpoint for {@code GET /data/normalization/normalization/profiles/{param}}. */ - public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM = - new Endpoint( - ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles/{param}"); - /** Endpoint for {@code GET /data/normalization/runs}. */ - public static final Endpoint GET_DATA_NORMALIZATION_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs"); - /** Endpoint for {@code GET /data/normalization/runs/{param}}. */ - public static final Endpoint GET_DATA_NORMALIZATION_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs/{param}"); - /** Endpoint for {@code GET /data/pipelines/capabilities}. */ - public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/capabilities"); - /** Endpoint for {@code GET /data/pipelines/health}. */ - public static final Endpoint GET_DATA_PIPELINES_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/health"); - /** Endpoint for {@code GET /data/pipelines/info}. */ - public static final Endpoint GET_DATA_PIPELINES_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/info"); - /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs"); - /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); - /** Endpoint for {@code GET /data/pipelines/pipelines}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines"); - /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); - /** Endpoint for {@code GET /data/pipelines/runs}. */ - public static final Endpoint GET_DATA_PIPELINES_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs"); - /** Endpoint for {@code GET /data/pipelines/runs/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs/{param}"); - /** Endpoint for {@code GET /data/quality/capabilities}. */ - public static final Endpoint GET_DATA_QUALITY_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/capabilities"); - /** Endpoint for {@code GET /data/quality/health}. */ - public static final Endpoint GET_DATA_QUALITY_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/health"); - /** Endpoint for {@code GET /data/quality/info}. */ - public static final Endpoint GET_DATA_QUALITY_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/info"); - /** Endpoint for {@code GET /data/quality/quality/rulesets}. */ - public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets"); - /** Endpoint for {@code GET /data/quality/quality/rulesets/{param}}. */ - public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets/{param}"); - /** Endpoint for {@code GET /data/quality/runs}. */ - public static final Endpoint GET_DATA_QUALITY_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs"); - /** Endpoint for {@code GET /data/quality/runs/{param}}. */ - public static final Endpoint GET_DATA_QUALITY_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs/{param}"); - /** Endpoint for {@code GET /data/query/capabilities}. */ - public static final Endpoint GET_DATA_QUERY_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/capabilities"); - /** Endpoint for {@code GET /data/query/health}. */ - public static final Endpoint GET_DATA_QUERY_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/health"); - /** Endpoint for {@code GET /data/query/info}. */ - public static final Endpoint GET_DATA_QUERY_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/info"); - /** Endpoint for {@code GET /data/query/runs}. */ - public static final Endpoint GET_DATA_QUERY_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs"); - /** Endpoint for {@code GET /data/query/runs/{param}}. */ - public static final Endpoint GET_DATA_QUERY_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs/{param}"); - /** Endpoint for {@code GET /data/schemas/capabilities}. */ - public static final Endpoint GET_DATA_SCHEMAS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/capabilities"); - /** Endpoint for {@code GET /data/schemas/health}. */ - public static final Endpoint GET_DATA_SCHEMAS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/health"); - /** Endpoint for {@code GET /data/schemas/info}. */ - public static final Endpoint GET_DATA_SCHEMAS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/info"); - /** Endpoint for {@code GET /data/schemas/runs}. */ - public static final Endpoint GET_DATA_SCHEMAS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs"); - /** Endpoint for {@code GET /data/schemas/runs/{param}}. */ - public static final Endpoint GET_DATA_SCHEMAS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs/{param}"); - /** Endpoint for {@code GET /data/schemas/schemas}. */ - public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas"); - /** Endpoint for {@code GET /data/schemas/schemas/{param}}. */ - public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas/{param}"); - /** Endpoint for {@code GET /data/serving/capabilities}. */ - public static final Endpoint GET_DATA_SERVING_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/capabilities"); - /** Endpoint for {@code GET /data/serving/health}. */ - public static final Endpoint GET_DATA_SERVING_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/health"); - /** Endpoint for {@code GET /data/serving/info}. */ - public static final Endpoint GET_DATA_SERVING_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/info"); - /** Endpoint for {@code GET /data/serving/runs}. */ - public static final Endpoint GET_DATA_SERVING_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs"); - /** Endpoint for {@code GET /data/serving/runs/{param}}. */ - public static final Endpoint GET_DATA_SERVING_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs/{param}"); - /** Endpoint for {@code GET /data/serving/serving/products}. */ - public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products"); - /** Endpoint for {@code GET /data/serving/serving/products/{param}}. */ - public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products/{param}"); - /** Endpoint for {@code GET /data/streams/capabilities}. */ - public static final Endpoint GET_DATA_STREAMS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/capabilities"); - /** Endpoint for {@code GET /data/streams/health}. */ - public static final Endpoint GET_DATA_STREAMS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/health"); - /** Endpoint for {@code GET /data/streams/info}. */ - public static final Endpoint GET_DATA_STREAMS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/info"); - /** Endpoint for {@code GET /data/streams/runs}. */ - public static final Endpoint GET_DATA_STREAMS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs"); - /** Endpoint for {@code GET /data/streams/runs/{param}}. */ - public static final Endpoint GET_DATA_STREAMS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs/{param}"); - /** Endpoint for {@code GET /data/streams/streams}. */ - public static final Endpoint GET_DATA_STREAMS_STREAMS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams"); - /** Endpoint for {@code GET /data/streams/streams/{param}}. */ - public static final Endpoint GET_DATA_STREAMS_STREAMS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams/{param}"); - /** Endpoint for {@code GET /data/sync/capabilities}. */ - public static final Endpoint GET_DATA_SYNC_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/capabilities"); - /** Endpoint for {@code GET /data/sync/health}. */ - public static final Endpoint GET_DATA_SYNC_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/health"); - /** Endpoint for {@code GET /data/sync/info}. */ - public static final Endpoint GET_DATA_SYNC_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/info"); - /** Endpoint for {@code GET /data/sync/runs}. */ - public static final Endpoint GET_DATA_SYNC_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs"); - /** Endpoint for {@code GET /data/sync/runs/{param}}. */ - public static final Endpoint GET_DATA_SYNC_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs/{param}"); - /** Endpoint for {@code GET /data/sync/sync/jobs}. */ - public static final Endpoint GET_DATA_SYNC_SYNC_JOBS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs"); - /** Endpoint for {@code GET /data/sync/sync/jobs/{param}}. */ - public static final Endpoint GET_DATA_SYNC_SYNC_JOBS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs/{param}"); - /** Endpoint for {@code GET /data/transformations/capabilities}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_CAPABILITIES = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/capabilities"); - /** Endpoint for {@code GET /data/transformations/health}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_HEALTH = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/health"); - /** Endpoint for {@code GET /data/transformations/info}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_INFO = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/info"); - /** Endpoint for {@code GET /data/transformations/runs}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs"); - /** Endpoint for {@code GET /data/transformations/runs/{param}}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS_PARAM = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs/{param}"); - /** Endpoint for {@code GET /data/transformations/transformations}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS = - new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations"); - /** Endpoint for {@code GET /data/transformations/transformations/{param}}. */ - public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM = - new Endpoint( - ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations/{param}"); - /** Endpoint for {@code POST /data/aggregations/aggregations}. */ - public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations"); - /** Endpoint for {@code POST /data/aggregations/aggregations/{param}/executions}. */ - public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS = - new Endpoint( - ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations/{param}/executions"); - /** Endpoint for {@code POST /data/aggregations/runs}. */ - public static final Endpoint POST_DATA_AGGREGATIONS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/runs"); - /** Endpoint for {@code POST /data/archival/archival/policies}. */ - public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/archival/policies"); - /** Endpoint for {@code POST /data/archival/archival/policies/{param}/executions}. */ - public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS = - new Endpoint( - ApiService.DATA, - HttpMethod.POST, - "/data/archival/archival/policies/{param}/executions"); - /** Endpoint for {@code POST /data/archival/runs}. */ - public static final Endpoint POST_DATA_ARCHIVAL_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/runs"); - /** Endpoint for {@code POST /data/catalog/runs}. */ - public static final Endpoint POST_DATA_CATALOG_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/catalog/runs"); - /** Endpoint for {@code POST /data/enrichment/enrichment/profiles}. */ - public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/enrichment/profiles"); - /** Endpoint for {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. */ - public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS = - new Endpoint( - ApiService.DATA, - HttpMethod.POST, - "/data/enrichment/enrichment/profiles/{param}/executions"); - /** Endpoint for {@code POST /data/enrichment/runs}. */ - public static final Endpoint POST_DATA_ENRICHMENT_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/runs"); - /** Endpoint for {@code POST /data/exports/exports}. */ - public static final Endpoint POST_DATA_EXPORTS_EXPORTS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports"); - /** Endpoint for {@code POST /data/exports/exports/{param}/executions}. */ - public static final Endpoint POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports/{param}/executions"); - /** Endpoint for {@code POST /data/exports/runs}. */ - public static final Endpoint POST_DATA_EXPORTS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/runs"); - /** Endpoint for {@code POST /data/ingest/datasets/ingest}. */ - public static final Endpoint POST_DATA_INGEST_DATASETS_INGEST = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/datasets/ingest"); - /** Endpoint for {@code POST /data/ingest/runs}. */ - public static final Endpoint POST_DATA_INGEST_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/runs"); - /** Endpoint for {@code POST /data/normalization/normalization/profiles}. */ - public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES = - new Endpoint( - ApiService.DATA, HttpMethod.POST, "/data/normalization/normalization/profiles"); - /** Endpoint for {@code POST /data/normalization/normalization/profiles/{param}/executions}. */ - public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS = - new Endpoint( - ApiService.DATA, - HttpMethod.POST, - "/data/normalization/normalization/profiles/{param}/executions"); - /** Endpoint for {@code POST /data/normalization/runs}. */ - public static final Endpoint POST_DATA_NORMALIZATION_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/normalization/runs"); - /** Endpoint for {@code POST /data/pipelines/pipelines}. */ - public static final Endpoint POST_DATA_PIPELINES_PIPELINES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/pipelines"); - /** Endpoint for {@code POST /data/pipelines/runs}. */ - public static final Endpoint POST_DATA_PIPELINES_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/runs"); - /** Endpoint for {@code POST /data/quality/quality/rulesets}. */ - public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets"); - /** Endpoint for {@code POST /data/quality/quality/rulesets/{param}/evaluations}. */ - public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS = - new Endpoint( - ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets/{param}/evaluations"); - /** Endpoint for {@code POST /data/quality/runs}. */ - public static final Endpoint POST_DATA_QUALITY_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/runs"); - /** Endpoint for {@code POST /data/query/query/federated}. */ - public static final Endpoint POST_DATA_QUERY_QUERY_FEDERATED = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/query/federated"); - /** Endpoint for {@code POST /data/query/runs}. */ - public static final Endpoint POST_DATA_QUERY_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/runs"); - /** Endpoint for {@code POST /data/schemas/runs}. */ - public static final Endpoint POST_DATA_SCHEMAS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/runs"); - /** Endpoint for {@code POST /data/schemas/schemas}. */ - public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas"); - /** Endpoint for {@code POST /data/schemas/schemas/resolve}. */ - public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS_RESOLVE = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas/resolve"); - /** Endpoint for {@code POST /data/serving/runs}. */ - public static final Endpoint POST_DATA_SERVING_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/runs"); - /** Endpoint for {@code POST /data/serving/serving/products}. */ - public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products"); - /** Endpoint for {@code POST /data/serving/serving/products/{param}/refreshes}. */ - public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES = - new Endpoint( - ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products/{param}/refreshes"); - /** Endpoint for {@code POST /data/streams/runs}. */ - public static final Endpoint POST_DATA_STREAMS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/runs"); - /** Endpoint for {@code POST /data/streams/streams}. */ - public static final Endpoint POST_DATA_STREAMS_STREAMS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams"); - /** Endpoint for {@code POST /data/streams/streams/{param}/deliveries}. */ - public static final Endpoint POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams/{param}/deliveries"); - /** Endpoint for {@code POST /data/sync/runs}. */ - public static final Endpoint POST_DATA_SYNC_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/runs"); - /** Endpoint for {@code POST /data/sync/sync/jobs}. */ - public static final Endpoint POST_DATA_SYNC_SYNC_JOBS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs"); - /** Endpoint for {@code POST /data/sync/sync/jobs/{param}/executions}. */ - public static final Endpoint POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs/{param}/executions"); - /** Endpoint for {@code POST /data/transformations/runs}. */ - public static final Endpoint POST_DATA_TRANSFORMATIONS_RUNS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/runs"); - /** Endpoint for {@code POST /data/transformations/transformations}. */ - public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS = - new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/transformations"); - /** Endpoint for {@code POST /data/transformations/transformations/{param}/executions}. */ - public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS = - new Endpoint( - ApiService.DATA, - HttpMethod.POST, - "/data/transformations/transformations/{param}/executions"); - } + /** Endpoint for {@code GET /data/aggregations/aggregations}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations"); + /** Endpoint for {@code GET /data/aggregations/aggregations/{param}}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_AGGREGATIONS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/aggregations/{param}"); + /** Endpoint for {@code GET /data/aggregations/capabilities}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/capabilities"); + /** Endpoint for {@code GET /data/aggregations/health}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/health"); + /** Endpoint for {@code GET /data/aggregations/info}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/info"); + /** Endpoint for {@code GET /data/aggregations/runs}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs"); + /** Endpoint for {@code GET /data/aggregations/runs/{param}}. */ + public static final Endpoint GET_DATA_AGGREGATIONS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/aggregations/runs/{param}"); + /** Endpoint for {@code GET /data/archival/archival/policies}. */ + public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies"); + /** Endpoint for {@code GET /data/archival/archival/policies/{param}}. */ + public static final Endpoint GET_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/archival/policies/{param}"); + /** Endpoint for {@code GET /data/archival/capabilities}. */ + public static final Endpoint GET_DATA_ARCHIVAL_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/capabilities"); + /** Endpoint for {@code GET /data/archival/health}. */ + public static final Endpoint GET_DATA_ARCHIVAL_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/health"); + /** Endpoint for {@code GET /data/archival/info}. */ + public static final Endpoint GET_DATA_ARCHIVAL_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/info"); + /** Endpoint for {@code GET /data/archival/runs}. */ + public static final Endpoint GET_DATA_ARCHIVAL_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs"); + /** Endpoint for {@code GET /data/archival/runs/{param}}. */ + public static final Endpoint GET_DATA_ARCHIVAL_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/archival/runs/{param}"); + /** Endpoint for {@code GET /data/catalog/capabilities}. */ + public static final Endpoint GET_DATA_CATALOG_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/capabilities"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets/{param}"); + /** Endpoint for {@code GET /data/catalog/catalog/datasets/{param}/artifacts/{param}/content}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = new Endpoint( + ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/datasets/{param}/artifacts/{param}/content"); + /** Endpoint for {@code GET /data/catalog/catalog/sources}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources"); + /** Endpoint for {@code GET /data/catalog/catalog/sources/{param}}. */ + public static final Endpoint GET_DATA_CATALOG_CATALOG_SOURCES_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/catalog/sources/{param}"); + /** Endpoint for {@code GET /data/catalog/health}. */ + public static final Endpoint GET_DATA_CATALOG_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/health"); + /** Endpoint for {@code GET /data/catalog/info}. */ + public static final Endpoint GET_DATA_CATALOG_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/info"); + /** Endpoint for {@code GET /data/catalog/runs}. */ + public static final Endpoint GET_DATA_CATALOG_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs"); + /** Endpoint for {@code GET /data/catalog/runs/{param}}. */ + public static final Endpoint GET_DATA_CATALOG_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/catalog/runs/{param}"); + /** Endpoint for {@code GET /data/enrichment/capabilities}. */ + public static final Endpoint GET_DATA_ENRICHMENT_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/capabilities"); + /** Endpoint for {@code GET /data/enrichment/enrichment/profiles}. */ + public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles"); + /** Endpoint for {@code GET /data/enrichment/enrichment/profiles/{param}}. */ + public static final Endpoint GET_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/enrichment/profiles/{param}"); + /** Endpoint for {@code GET /data/enrichment/health}. */ + public static final Endpoint GET_DATA_ENRICHMENT_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/health"); + /** Endpoint for {@code GET /data/enrichment/info}. */ + public static final Endpoint GET_DATA_ENRICHMENT_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/info"); + /** Endpoint for {@code GET /data/enrichment/runs}. */ + public static final Endpoint GET_DATA_ENRICHMENT_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs"); + /** Endpoint for {@code GET /data/enrichment/runs/{param}}. */ + public static final Endpoint GET_DATA_ENRICHMENT_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/enrichment/runs/{param}"); + /** Endpoint for {@code GET /data/exports/capabilities}. */ + public static final Endpoint GET_DATA_EXPORTS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/capabilities"); + /** Endpoint for {@code GET /data/exports/exports}. */ + public static final Endpoint GET_DATA_EXPORTS_EXPORTS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports"); + /** Endpoint for {@code GET /data/exports/exports/{param}}. */ + public static final Endpoint GET_DATA_EXPORTS_EXPORTS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/exports/{param}"); + /** Endpoint for {@code GET /data/exports/health}. */ + public static final Endpoint GET_DATA_EXPORTS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/health"); + /** Endpoint for {@code GET /data/exports/info}. */ + public static final Endpoint GET_DATA_EXPORTS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/info"); + /** Endpoint for {@code GET /data/exports/runs}. */ + public static final Endpoint GET_DATA_EXPORTS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs"); + /** Endpoint for {@code GET /data/exports/runs/{param}}. */ + public static final Endpoint GET_DATA_EXPORTS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/exports/runs/{param}"); + /** Endpoint for {@code GET /data/ingest/capabilities}. */ + public static final Endpoint GET_DATA_INGEST_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/capabilities"); + /** Endpoint for {@code GET /data/ingest/datasets}. */ + public static final Endpoint GET_DATA_INGEST_DATASETS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets"); + /** Endpoint for {@code GET /data/ingest/datasets/{param}}. */ + public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets/{param}"); + /** Endpoint for {@code GET /data/ingest/datasets/{param}/artifacts/{param}/content}. */ + public static final Endpoint GET_DATA_INGEST_DATASETS_PARAM_ARTIFACTS_PARAM_CONTENT = new Endpoint( + ApiService.DATA, HttpMethod.GET, "/data/ingest/datasets/{param}/artifacts/{param}/content"); + /** Endpoint for {@code GET /data/ingest/health}. */ + public static final Endpoint GET_DATA_INGEST_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/health"); + /** Endpoint for {@code GET /data/ingest/info}. */ + public static final Endpoint GET_DATA_INGEST_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/info"); + /** Endpoint for {@code GET /data/ingest/runs}. */ + public static final Endpoint GET_DATA_INGEST_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs"); + /** Endpoint for {@code GET /data/ingest/runs/{param}}. */ + public static final Endpoint GET_DATA_INGEST_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/runs/{param}"); + /** Endpoint for {@code GET /data/ingest/schemas}. */ + public static final Endpoint GET_DATA_INGEST_SCHEMAS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas"); + /** Endpoint for {@code GET /data/ingest/schemas/{param}}. */ + public static final Endpoint GET_DATA_INGEST_SCHEMAS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/ingest/schemas/{param}"); + /** Endpoint for {@code GET /data/normalization/capabilities}. */ + public static final Endpoint GET_DATA_NORMALIZATION_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/capabilities"); + /** Endpoint for {@code GET /data/normalization/health}. */ + public static final Endpoint GET_DATA_NORMALIZATION_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/health"); + /** Endpoint for {@code GET /data/normalization/info}. */ + public static final Endpoint GET_DATA_NORMALIZATION_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/info"); + /** Endpoint for {@code GET /data/normalization/normalization/profiles}. */ + public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles"); + /** Endpoint for {@code GET /data/normalization/normalization/profiles/{param}}. */ + public static final Endpoint GET_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/normalization/profiles/{param}"); + /** Endpoint for {@code GET /data/normalization/runs}. */ + public static final Endpoint GET_DATA_NORMALIZATION_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs"); + /** Endpoint for {@code GET /data/normalization/runs/{param}}. */ + public static final Endpoint GET_DATA_NORMALIZATION_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/normalization/runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/capabilities}. */ + public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/capabilities"); + /** Endpoint for {@code GET /data/pipelines/health}. */ + public static final Endpoint GET_DATA_PIPELINES_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/health"); + /** Endpoint for {@code GET /data/pipelines/info}. */ + public static final Endpoint GET_DATA_PIPELINES_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/info"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/pipelines}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines"); + /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); + /** Endpoint for {@code GET /data/pipelines/runs}. */ + public static final Endpoint GET_DATA_PIPELINES_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs"); + /** Endpoint for {@code GET /data/pipelines/runs/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/pipelines/runs/{param}"); + /** Endpoint for {@code GET /data/quality/capabilities}. */ + public static final Endpoint GET_DATA_QUALITY_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/capabilities"); + /** Endpoint for {@code GET /data/quality/health}. */ + public static final Endpoint GET_DATA_QUALITY_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/health"); + /** Endpoint for {@code GET /data/quality/info}. */ + public static final Endpoint GET_DATA_QUALITY_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/info"); + /** Endpoint for {@code GET /data/quality/quality/rulesets}. */ + public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets"); + /** Endpoint for {@code GET /data/quality/quality/rulesets/{param}}. */ + public static final Endpoint GET_DATA_QUALITY_QUALITY_RULESETS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/quality/rulesets/{param}"); + /** Endpoint for {@code GET /data/quality/runs}. */ + public static final Endpoint GET_DATA_QUALITY_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs"); + /** Endpoint for {@code GET /data/quality/runs/{param}}. */ + public static final Endpoint GET_DATA_QUALITY_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/quality/runs/{param}"); + /** Endpoint for {@code GET /data/query/capabilities}. */ + public static final Endpoint GET_DATA_QUERY_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/capabilities"); + /** Endpoint for {@code GET /data/query/health}. */ + public static final Endpoint GET_DATA_QUERY_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/health"); + /** Endpoint for {@code GET /data/query/info}. */ + public static final Endpoint GET_DATA_QUERY_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/info"); + /** Endpoint for {@code GET /data/query/runs}. */ + public static final Endpoint GET_DATA_QUERY_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs"); + /** Endpoint for {@code GET /data/query/runs/{param}}. */ + public static final Endpoint GET_DATA_QUERY_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/query/runs/{param}"); + /** Endpoint for {@code GET /data/schemas/capabilities}. */ + public static final Endpoint GET_DATA_SCHEMAS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/capabilities"); + /** Endpoint for {@code GET /data/schemas/health}. */ + public static final Endpoint GET_DATA_SCHEMAS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/health"); + /** Endpoint for {@code GET /data/schemas/info}. */ + public static final Endpoint GET_DATA_SCHEMAS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/info"); + /** Endpoint for {@code GET /data/schemas/runs}. */ + public static final Endpoint GET_DATA_SCHEMAS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs"); + /** Endpoint for {@code GET /data/schemas/runs/{param}}. */ + public static final Endpoint GET_DATA_SCHEMAS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/runs/{param}"); + /** Endpoint for {@code GET /data/schemas/schemas}. */ + public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas"); + /** Endpoint for {@code GET /data/schemas/schemas/{param}}. */ + public static final Endpoint GET_DATA_SCHEMAS_SCHEMAS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/schemas/schemas/{param}"); + /** Endpoint for {@code GET /data/serving/capabilities}. */ + public static final Endpoint GET_DATA_SERVING_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/capabilities"); + /** Endpoint for {@code GET /data/serving/health}. */ + public static final Endpoint GET_DATA_SERVING_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/health"); + /** Endpoint for {@code GET /data/serving/info}. */ + public static final Endpoint GET_DATA_SERVING_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/info"); + /** Endpoint for {@code GET /data/serving/runs}. */ + public static final Endpoint GET_DATA_SERVING_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs"); + /** Endpoint for {@code GET /data/serving/runs/{param}}. */ + public static final Endpoint GET_DATA_SERVING_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/runs/{param}"); + /** Endpoint for {@code GET /data/serving/serving/products}. */ + public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products"); + /** Endpoint for {@code GET /data/serving/serving/products/{param}}. */ + public static final Endpoint GET_DATA_SERVING_SERVING_PRODUCTS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/serving/serving/products/{param}"); + /** Endpoint for {@code GET /data/streams/capabilities}. */ + public static final Endpoint GET_DATA_STREAMS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/capabilities"); + /** Endpoint for {@code GET /data/streams/health}. */ + public static final Endpoint GET_DATA_STREAMS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/health"); + /** Endpoint for {@code GET /data/streams/info}. */ + public static final Endpoint GET_DATA_STREAMS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/info"); + /** Endpoint for {@code GET /data/streams/runs}. */ + public static final Endpoint GET_DATA_STREAMS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs"); + /** Endpoint for {@code GET /data/streams/runs/{param}}. */ + public static final Endpoint GET_DATA_STREAMS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/runs/{param}"); + /** Endpoint for {@code GET /data/streams/streams}. */ + public static final Endpoint GET_DATA_STREAMS_STREAMS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams"); + /** Endpoint for {@code GET /data/streams/streams/{param}}. */ + public static final Endpoint GET_DATA_STREAMS_STREAMS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/streams/streams/{param}"); + /** Endpoint for {@code GET /data/sync/capabilities}. */ + public static final Endpoint GET_DATA_SYNC_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/capabilities"); + /** Endpoint for {@code GET /data/sync/health}. */ + public static final Endpoint GET_DATA_SYNC_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/health"); + /** Endpoint for {@code GET /data/sync/info}. */ + public static final Endpoint GET_DATA_SYNC_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/info"); + /** Endpoint for {@code GET /data/sync/runs}. */ + public static final Endpoint GET_DATA_SYNC_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs"); + /** Endpoint for {@code GET /data/sync/runs/{param}}. */ + public static final Endpoint GET_DATA_SYNC_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/runs/{param}"); + /** Endpoint for {@code GET /data/sync/sync/jobs}. */ + public static final Endpoint GET_DATA_SYNC_SYNC_JOBS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs"); + /** Endpoint for {@code GET /data/sync/sync/jobs/{param}}. */ + public static final Endpoint GET_DATA_SYNC_SYNC_JOBS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/sync/sync/jobs/{param}"); + /** Endpoint for {@code GET /data/transformations/capabilities}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_CAPABILITIES = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/capabilities"); + /** Endpoint for {@code GET /data/transformations/health}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_HEALTH = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/health"); + /** Endpoint for {@code GET /data/transformations/info}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_INFO = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/info"); + /** Endpoint for {@code GET /data/transformations/runs}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs"); + /** Endpoint for {@code GET /data/transformations/runs/{param}}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_RUNS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/runs/{param}"); + /** Endpoint for {@code GET /data/transformations/transformations}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations"); + /** Endpoint for {@code GET /data/transformations/transformations/{param}}. */ + public static final Endpoint GET_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM = + new Endpoint(ApiService.DATA, HttpMethod.GET, "/data/transformations/transformations/{param}"); + /** Endpoint for {@code POST /data/aggregations/aggregations}. */ + public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations"); + /** Endpoint for {@code POST /data/aggregations/aggregations/{param}/executions}. */ + public static final Endpoint POST_DATA_AGGREGATIONS_AGGREGATIONS_PARAM_EXECUTIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/aggregations/{param}/executions"); + /** Endpoint for {@code POST /data/aggregations/runs}. */ + public static final Endpoint POST_DATA_AGGREGATIONS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/aggregations/runs"); + /** Endpoint for {@code POST /data/archival/archival/policies}. */ + public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/archival/policies"); + /** Endpoint for {@code POST /data/archival/archival/policies/{param}/executions}. */ + public static final Endpoint POST_DATA_ARCHIVAL_ARCHIVAL_POLICIES_PARAM_EXECUTIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/archival/policies/{param}/executions"); + /** Endpoint for {@code POST /data/archival/runs}. */ + public static final Endpoint POST_DATA_ARCHIVAL_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/archival/runs"); + /** Endpoint for {@code POST /data/catalog/runs}. */ + public static final Endpoint POST_DATA_CATALOG_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/catalog/runs"); + /** Endpoint for {@code POST /data/enrichment/enrichment/profiles}. */ + public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/enrichment/profiles"); + /** Endpoint for {@code POST /data/enrichment/enrichment/profiles/{param}/executions}. */ + public static final Endpoint POST_DATA_ENRICHMENT_ENRICHMENT_PROFILES_PARAM_EXECUTIONS = new Endpoint( + ApiService.DATA, HttpMethod.POST, "/data/enrichment/enrichment/profiles/{param}/executions"); + /** Endpoint for {@code POST /data/enrichment/runs}. */ + public static final Endpoint POST_DATA_ENRICHMENT_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/enrichment/runs"); + /** Endpoint for {@code POST /data/exports/exports}. */ + public static final Endpoint POST_DATA_EXPORTS_EXPORTS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports"); + /** Endpoint for {@code POST /data/exports/exports/{param}/executions}. */ + public static final Endpoint POST_DATA_EXPORTS_EXPORTS_PARAM_EXECUTIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/exports/{param}/executions"); + /** Endpoint for {@code POST /data/exports/runs}. */ + public static final Endpoint POST_DATA_EXPORTS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/exports/runs"); + /** Endpoint for {@code POST /data/ingest/datasets/ingest}. */ + public static final Endpoint POST_DATA_INGEST_DATASETS_INGEST = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/datasets/ingest"); + /** Endpoint for {@code POST /data/ingest/runs}. */ + public static final Endpoint POST_DATA_INGEST_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/ingest/runs"); + /** Endpoint for {@code POST /data/normalization/normalization/profiles}. */ + public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/normalization/normalization/profiles"); + /** Endpoint for {@code POST /data/normalization/normalization/profiles/{param}/executions}. */ + public static final Endpoint POST_DATA_NORMALIZATION_NORMALIZATION_PROFILES_PARAM_EXECUTIONS = new Endpoint( + ApiService.DATA, HttpMethod.POST, "/data/normalization/normalization/profiles/{param}/executions"); + /** Endpoint for {@code POST /data/normalization/runs}. */ + public static final Endpoint POST_DATA_NORMALIZATION_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/normalization/runs"); + /** Endpoint for {@code POST /data/pipelines/pipelines}. */ + public static final Endpoint POST_DATA_PIPELINES_PIPELINES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/pipelines"); + /** Endpoint for {@code POST /data/pipelines/runs}. */ + public static final Endpoint POST_DATA_PIPELINES_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/pipelines/runs"); + /** Endpoint for {@code POST /data/quality/quality/rulesets}. */ + public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets"); + /** Endpoint for {@code POST /data/quality/quality/rulesets/{param}/evaluations}. */ + public static final Endpoint POST_DATA_QUALITY_QUALITY_RULESETS_PARAM_EVALUATIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/quality/rulesets/{param}/evaluations"); + /** Endpoint for {@code POST /data/quality/runs}. */ + public static final Endpoint POST_DATA_QUALITY_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/quality/runs"); + /** Endpoint for {@code POST /data/query/query/federated}. */ + public static final Endpoint POST_DATA_QUERY_QUERY_FEDERATED = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/query/federated"); + /** Endpoint for {@code POST /data/query/runs}. */ + public static final Endpoint POST_DATA_QUERY_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/query/runs"); + /** Endpoint for {@code POST /data/schemas/runs}. */ + public static final Endpoint POST_DATA_SCHEMAS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/runs"); + /** Endpoint for {@code POST /data/schemas/schemas}. */ + public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas"); + /** Endpoint for {@code POST /data/schemas/schemas/resolve}. */ + public static final Endpoint POST_DATA_SCHEMAS_SCHEMAS_RESOLVE = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/schemas/schemas/resolve"); + /** Endpoint for {@code POST /data/serving/runs}. */ + public static final Endpoint POST_DATA_SERVING_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/runs"); + /** Endpoint for {@code POST /data/serving/serving/products}. */ + public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products"); + /** Endpoint for {@code POST /data/serving/serving/products/{param}/refreshes}. */ + public static final Endpoint POST_DATA_SERVING_SERVING_PRODUCTS_PARAM_REFRESHES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/serving/serving/products/{param}/refreshes"); + /** Endpoint for {@code POST /data/streams/runs}. */ + public static final Endpoint POST_DATA_STREAMS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/runs"); + /** Endpoint for {@code POST /data/streams/streams}. */ + public static final Endpoint POST_DATA_STREAMS_STREAMS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams"); + /** Endpoint for {@code POST /data/streams/streams/{param}/deliveries}. */ + public static final Endpoint POST_DATA_STREAMS_STREAMS_PARAM_DELIVERIES = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/streams/streams/{param}/deliveries"); + /** Endpoint for {@code POST /data/sync/runs}. */ + public static final Endpoint POST_DATA_SYNC_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/runs"); + /** Endpoint for {@code POST /data/sync/sync/jobs}. */ + public static final Endpoint POST_DATA_SYNC_SYNC_JOBS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs"); + /** Endpoint for {@code POST /data/sync/sync/jobs/{param}/executions}. */ + public static final Endpoint POST_DATA_SYNC_SYNC_JOBS_PARAM_EXECUTIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/sync/sync/jobs/{param}/executions"); + /** Endpoint for {@code POST /data/transformations/runs}. */ + public static final Endpoint POST_DATA_TRANSFORMATIONS_RUNS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/runs"); + /** Endpoint for {@code POST /data/transformations/transformations}. */ + public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS = + new Endpoint(ApiService.DATA, HttpMethod.POST, "/data/transformations/transformations"); + /** Endpoint for {@code POST /data/transformations/transformations/{param}/executions}. */ + public static final Endpoint POST_DATA_TRANSFORMATIONS_TRANSFORMATIONS_PARAM_EXECUTIONS = new Endpoint( + ApiService.DATA, HttpMethod.POST, "/data/transformations/transformations/{param}/executions"); + } - public static final class Events { - private Events() {} + public static final class Events { + private Events() {} - /** Endpoint for {@code GET /events}. */ - public static final Endpoint GET_EVENTS = - new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events"); - /** Endpoint for {@code GET /events/monitoring}. */ - public static final Endpoint GET_EVENTS_MONITORING = - new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/monitoring"); - /** Endpoint for {@code GET /events/{param}}. */ - public static final Endpoint GET_EVENTS_PARAM = - new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/{param}"); - /** Endpoint for {@code POST /events}. */ - public static final Endpoint POST_EVENTS = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events"); - /** Endpoint for {@code POST /events/analytics}. */ - public static final Endpoint POST_EVENTS_ANALYTICS = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics"); - /** Endpoint for {@code POST /events/analytics-v2}. */ - public static final Endpoint POST_EVENTS_ANALYTICS_V2 = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics-v2"); - /** Endpoint for {@code POST /events/benchmark/v1}. */ - public static final Endpoint POST_EVENTS_BENCHMARK_V1 = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v1"); - /** Endpoint for {@code POST /events/benchmark/v2}. */ - public static final Endpoint POST_EVENTS_BENCHMARK_V2 = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v2"); - /** Endpoint for {@code POST /events/bulk}. */ - public static final Endpoint POST_EVENTS_BULK = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/bulk"); - /** Endpoint for {@code POST /events/huggingface-billing}. */ - public static final Endpoint POST_EVENTS_HUGGINGFACE_BILLING = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/huggingface-billing"); - /** Endpoint for {@code POST /events/query}. */ - public static final Endpoint POST_EVENTS_QUERY = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/query"); - /** Endpoint for {@code POST /events/raw/reprocess/all}. */ - public static final Endpoint POST_EVENTS_RAW_REPROCESS_ALL = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/all"); - /** Endpoint for {@code POST /events/raw/reprocess/pending}. */ - public static final Endpoint POST_EVENTS_RAW_REPROCESS_PENDING = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/pending"); - /** Endpoint for {@code POST /events/reprocess}. */ - public static final Endpoint POST_EVENTS_REPROCESS = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess"); - /** Endpoint for {@code POST /events/reprocess/internal}. */ - public static final Endpoint POST_EVENTS_REPROCESS_INTERNAL = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess/internal"); - /** Endpoint for {@code POST /events/usage}. */ - public static final Endpoint POST_EVENTS_USAGE = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage"); - /** Endpoint for {@code POST /events/usage/meter}. */ - public static final Endpoint POST_EVENTS_USAGE_METER = - new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage/meter"); - } + /** Endpoint for {@code GET /events}. */ + public static final Endpoint GET_EVENTS = new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events"); + /** Endpoint for {@code GET /events/monitoring}. */ + public static final Endpoint GET_EVENTS_MONITORING = + new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/monitoring"); + /** Endpoint for {@code GET /events/{param}}. */ + public static final Endpoint GET_EVENTS_PARAM = + new Endpoint(ApiService.EVENTS, HttpMethod.GET, "/events/{param}"); + /** Endpoint for {@code POST /events}. */ + public static final Endpoint POST_EVENTS = new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events"); + /** Endpoint for {@code POST /events/analytics}. */ + public static final Endpoint POST_EVENTS_ANALYTICS = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics"); + /** Endpoint for {@code POST /events/analytics-v2}. */ + public static final Endpoint POST_EVENTS_ANALYTICS_V2 = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/analytics-v2"); + /** Endpoint for {@code POST /events/benchmark/v1}. */ + public static final Endpoint POST_EVENTS_BENCHMARK_V1 = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v1"); + /** Endpoint for {@code POST /events/benchmark/v2}. */ + public static final Endpoint POST_EVENTS_BENCHMARK_V2 = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/benchmark/v2"); + /** Endpoint for {@code POST /events/bulk}. */ + public static final Endpoint POST_EVENTS_BULK = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/bulk"); + /** Endpoint for {@code POST /events/huggingface-billing}. */ + public static final Endpoint POST_EVENTS_HUGGINGFACE_BILLING = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/huggingface-billing"); + /** Endpoint for {@code POST /events/query}. */ + public static final Endpoint POST_EVENTS_QUERY = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/query"); + /** Endpoint for {@code POST /events/raw/reprocess/all}. */ + public static final Endpoint POST_EVENTS_RAW_REPROCESS_ALL = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/all"); + /** Endpoint for {@code POST /events/raw/reprocess/pending}. */ + public static final Endpoint POST_EVENTS_RAW_REPROCESS_PENDING = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/raw/reprocess/pending"); + /** Endpoint for {@code POST /events/reprocess}. */ + public static final Endpoint POST_EVENTS_REPROCESS = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess"); + /** Endpoint for {@code POST /events/reprocess/internal}. */ + public static final Endpoint POST_EVENTS_REPROCESS_INTERNAL = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/reprocess/internal"); + /** Endpoint for {@code POST /events/usage}. */ + public static final Endpoint POST_EVENTS_USAGE = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage"); + /** Endpoint for {@code POST /events/usage/meter}. */ + public static final Endpoint POST_EVENTS_USAGE_METER = + new Endpoint(ApiService.EVENTS, HttpMethod.POST, "/events/usage/meter"); + } - public static final class Governance { - private Governance() {} + public static final class Governance { + private Governance() {} - /** Endpoint for {@code DELETE /policies/{param}}. */ - public static final Endpoint DELETE_POLICIES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/policies/{param}"); - /** Endpoint for {@code DELETE /roles/{param}}. */ - public static final Endpoint DELETE_ROLES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/roles/{param}"); - /** Endpoint for {@code GET /compliance/assessments}. */ - public static final Endpoint GET_COMPLIANCE_ASSESSMENTS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments"); - /** Endpoint for {@code GET /compliance/assessments/{param}}. */ - public static final Endpoint GET_COMPLIANCE_ASSESSMENTS_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments/{param}"); - /** Endpoint for {@code GET /compliance/frameworks}. */ - public static final Endpoint GET_COMPLIANCE_FRAMEWORKS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/frameworks"); - /** Endpoint for {@code GET /compliance/score}. */ - public static final Endpoint GET_COMPLIANCE_SCORE = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/score"); - /** Endpoint for {@code GET /compliance/violations}. */ - public static final Endpoint GET_COMPLIANCE_VIOLATIONS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/violations"); - /** Endpoint for {@code GET /permissions}. */ - public static final Endpoint GET_PERMISSIONS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions"); - /** Endpoint for {@code GET /permissions/{param}}. */ - public static final Endpoint GET_PERMISSIONS_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions/{param}"); - /** Endpoint for {@code GET /policies}. */ - public static final Endpoint GET_POLICIES = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies"); - /** Endpoint for {@code GET /policies/templates}. */ - public static final Endpoint GET_POLICIES_TEMPLATES = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/templates"); - /** Endpoint for {@code GET /policies/{param}}. */ - public static final Endpoint GET_POLICIES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}"); - /** Endpoint for {@code GET /policies/{param}/versions}. */ - public static final Endpoint GET_POLICIES_PARAM_VERSIONS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}/versions"); - /** Endpoint for {@code GET /roles}. */ - public static final Endpoint GET_ROLES = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles"); - /** Endpoint for {@code GET /roles/{param}}. */ - public static final Endpoint GET_ROLES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles/{param}"); - /** Endpoint for {@code POST /access/check}. */ - public static final Endpoint POST_ACCESS_CHECK = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/access/check"); - /** Endpoint for {@code POST /compliance/assessments}. */ - public static final Endpoint POST_COMPLIANCE_ASSESSMENTS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/assessments"); - /** Endpoint for {@code POST /compliance/violations/{param}/resolve}. */ - public static final Endpoint POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE = - new Endpoint( - ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/violations/{param}/resolve"); - /** Endpoint for {@code POST /permissions}. */ - public static final Endpoint POST_PERMISSIONS = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/permissions"); - /** Endpoint for {@code POST /policies}. */ - public static final Endpoint POST_POLICIES = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies"); - /** Endpoint for {@code POST /policies/from-template}. */ - public static final Endpoint POST_POLICIES_FROM_TEMPLATE = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/from-template"); - /** Endpoint for {@code POST /policies/validate}. */ - public static final Endpoint POST_POLICIES_VALIDATE = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/validate"); - /** Endpoint for {@code POST /roles}. */ - public static final Endpoint POST_ROLES = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/roles"); - /** Endpoint for {@code PUT /policies/{param}}. */ - public static final Endpoint PUT_POLICIES_PARAM = - new Endpoint(ApiService.GOVERNANCE, HttpMethod.PUT, "/policies/{param}"); - } + /** Endpoint for {@code DELETE /policies/{param}}. */ + public static final Endpoint DELETE_POLICIES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/policies/{param}"); + /** Endpoint for {@code DELETE /roles/{param}}. */ + public static final Endpoint DELETE_ROLES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.DELETE, "/roles/{param}"); + /** Endpoint for {@code GET /compliance/assessments}. */ + public static final Endpoint GET_COMPLIANCE_ASSESSMENTS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments"); + /** Endpoint for {@code GET /compliance/assessments/{param}}. */ + public static final Endpoint GET_COMPLIANCE_ASSESSMENTS_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/assessments/{param}"); + /** Endpoint for {@code GET /compliance/frameworks}. */ + public static final Endpoint GET_COMPLIANCE_FRAMEWORKS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/frameworks"); + /** Endpoint for {@code GET /compliance/score}. */ + public static final Endpoint GET_COMPLIANCE_SCORE = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/score"); + /** Endpoint for {@code GET /compliance/violations}. */ + public static final Endpoint GET_COMPLIANCE_VIOLATIONS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/compliance/violations"); + /** Endpoint for {@code GET /permissions}. */ + public static final Endpoint GET_PERMISSIONS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions"); + /** Endpoint for {@code GET /permissions/{param}}. */ + public static final Endpoint GET_PERMISSIONS_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/permissions/{param}"); + /** Endpoint for {@code GET /policies}. */ + public static final Endpoint GET_POLICIES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies"); + /** Endpoint for {@code GET /policies/templates}. */ + public static final Endpoint GET_POLICIES_TEMPLATES = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/templates"); + /** Endpoint for {@code GET /policies/{param}}. */ + public static final Endpoint GET_POLICIES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}"); + /** Endpoint for {@code GET /policies/{param}/versions}. */ + public static final Endpoint GET_POLICIES_PARAM_VERSIONS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/policies/{param}/versions"); + /** Endpoint for {@code GET /roles}. */ + public static final Endpoint GET_ROLES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles"); + /** Endpoint for {@code GET /roles/{param}}. */ + public static final Endpoint GET_ROLES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.GET, "/roles/{param}"); + /** Endpoint for {@code POST /access/check}. */ + public static final Endpoint POST_ACCESS_CHECK = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/access/check"); + /** Endpoint for {@code POST /compliance/assessments}. */ + public static final Endpoint POST_COMPLIANCE_ASSESSMENTS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/assessments"); + /** Endpoint for {@code POST /compliance/violations/{param}/resolve}. */ + public static final Endpoint POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/compliance/violations/{param}/resolve"); + /** Endpoint for {@code POST /permissions}. */ + public static final Endpoint POST_PERMISSIONS = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/permissions"); + /** Endpoint for {@code POST /policies}. */ + public static final Endpoint POST_POLICIES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies"); + /** Endpoint for {@code POST /policies/from-template}. */ + public static final Endpoint POST_POLICIES_FROM_TEMPLATE = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/from-template"); + /** Endpoint for {@code POST /policies/validate}. */ + public static final Endpoint POST_POLICIES_VALIDATE = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/policies/validate"); + /** Endpoint for {@code POST /roles}. */ + public static final Endpoint POST_ROLES = new Endpoint(ApiService.GOVERNANCE, HttpMethod.POST, "/roles"); + /** Endpoint for {@code PUT /policies/{param}}. */ + public static final Endpoint PUT_POLICIES_PARAM = + new Endpoint(ApiService.GOVERNANCE, HttpMethod.PUT, "/policies/{param}"); + } - public static final class Invocations { - private Invocations() {} + public static final class Invocations { + private Invocations() {} - /** Endpoint for {@code POST /invocations}. */ - public static final Endpoint POST_INVOCATIONS = - new Endpoint(ApiService.INVOCATIONS, HttpMethod.POST, "/invocations"); - } + /** Endpoint for {@code POST /invocations}. */ + public static final Endpoint POST_INVOCATIONS = + new Endpoint(ApiService.INVOCATIONS, HttpMethod.POST, "/invocations"); + } - public static final class Lineage { - private Lineage() {} + public static final class Lineage { + private Lineage() {} - /** Endpoint for {@code GET /lineage/edges}. */ - public static final Endpoint GET_LINEAGE_EDGES = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges"); - /** Endpoint for {@code GET /lineage/edges/{param}}. */ - public static final Endpoint GET_LINEAGE_EDGES_PARAM = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges/{param}"); - /** Endpoint for {@code GET /lineage/graph}. */ - public static final Endpoint GET_LINEAGE_GRAPH = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/graph"); - /** Endpoint for {@code GET /lineage/nodes}. */ - public static final Endpoint GET_LINEAGE_NODES = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes"); - /** Endpoint for {@code GET /lineage/nodes/{param}}. */ - public static final Endpoint GET_LINEAGE_NODES_PARAM = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}"); - /** Endpoint for {@code GET /lineage/nodes/{param}/trace}. */ - public static final Endpoint GET_LINEAGE_NODES_PARAM_TRACE = - new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}/trace"); - /** Endpoint for {@code POST /lineage/impact}. */ - public static final Endpoint POST_LINEAGE_IMPACT = - new Endpoint(ApiService.LINEAGE, HttpMethod.POST, "/lineage/impact"); - } + /** Endpoint for {@code GET /lineage/edges}. */ + public static final Endpoint GET_LINEAGE_EDGES = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges"); + /** Endpoint for {@code GET /lineage/edges/{param}}. */ + public static final Endpoint GET_LINEAGE_EDGES_PARAM = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/edges/{param}"); + /** Endpoint for {@code GET /lineage/graph}. */ + public static final Endpoint GET_LINEAGE_GRAPH = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/graph"); + /** Endpoint for {@code GET /lineage/nodes}. */ + public static final Endpoint GET_LINEAGE_NODES = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes"); + /** Endpoint for {@code GET /lineage/nodes/{param}}. */ + public static final Endpoint GET_LINEAGE_NODES_PARAM = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}"); + /** Endpoint for {@code GET /lineage/nodes/{param}/trace}. */ + public static final Endpoint GET_LINEAGE_NODES_PARAM_TRACE = + new Endpoint(ApiService.LINEAGE, HttpMethod.GET, "/lineage/nodes/{param}/trace"); + /** Endpoint for {@code POST /lineage/impact}. */ + public static final Endpoint POST_LINEAGE_IMPACT = + new Endpoint(ApiService.LINEAGE, HttpMethod.POST, "/lineage/impact"); + } - public static final class Observability { - private Observability() {} + public static final class Observability { + private Observability() {} - /** Endpoint for {@code DELETE /observability/alerts/rules/{param}}. */ - public static final Endpoint DELETE_OBSERVABILITY_ALERTS_RULES_PARAM = - new Endpoint( - ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/rules/{param}"); - /** Endpoint for {@code DELETE /observability/alerts/{param}}. */ - public static final Endpoint DELETE_OBSERVABILITY_ALERTS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/{param}"); - /** Endpoint for {@code DELETE /observability/dashboards/{param}}. */ - public static final Endpoint DELETE_OBSERVABILITY_DASHBOARDS_PARAM = - new Endpoint( - ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/dashboards/{param}"); - /** Endpoint for {@code GET /observability/alerts}. */ - public static final Endpoint GET_OBSERVABILITY_ALERTS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts"); - /** Endpoint for {@code GET /observability/alerts/incidents}. */ - public static final Endpoint GET_OBSERVABILITY_ALERTS_INCIDENTS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/incidents"); - /** Endpoint for {@code GET /observability/alerts/rules}. */ - public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules"); - /** Endpoint for {@code GET /observability/alerts/rules/{param}}. */ - public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES_PARAM = - new Endpoint( - ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules/{param}"); - /** Endpoint for {@code GET /observability/dashboards}. */ - public static final Endpoint GET_OBSERVABILITY_DASHBOARDS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards"); - /** Endpoint for {@code GET /observability/dashboards/{param}}. */ - public static final Endpoint GET_OBSERVABILITY_DASHBOARDS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards/{param}"); - /** Endpoint for {@code GET /observability/events/stats}. */ - public static final Endpoint GET_OBSERVABILITY_EVENTS_STATS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/events/stats"); - /** Endpoint for {@code GET /observability/metrics}. */ - public static final Endpoint GET_OBSERVABILITY_METRICS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics"); - /** Endpoint for {@code GET /observability/metrics/list}. */ - public static final Endpoint GET_OBSERVABILITY_METRICS_LIST = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics/list"); - /** Endpoint for {@code GET /observability/traces}. */ - public static final Endpoint GET_OBSERVABILITY_TRACES = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces"); - /** Endpoint for {@code GET /observability/traces/{param}}. */ - public static final Endpoint GET_OBSERVABILITY_TRACES_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces/{param}"); - /** Endpoint for {@code POST /observability/alerts}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts"); - /** Endpoint for {@code POST /observability/alerts/rules}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/rules"); - /** Endpoint for {@code POST /observability/alerts/rules/{param}/toggle}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE = - new Endpoint( - ApiService.OBSERVABILITY, - HttpMethod.POST, - "/observability/alerts/rules/{param}/toggle"); - /** Endpoint for {@code POST /observability/alerts/{param}/disable}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_DISABLE = - new Endpoint( - ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/disable"); - /** Endpoint for {@code POST /observability/alerts/{param}/enable}. */ - public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_ENABLE = - new Endpoint( - ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/enable"); - /** Endpoint for {@code POST /observability/dashboards}. */ - public static final Endpoint POST_OBSERVABILITY_DASHBOARDS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards"); - /** Endpoint for {@code POST /observability/dashboards/{param}/share}. */ - public static final Endpoint POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE = - new Endpoint( - ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards/{param}/share"); - /** Endpoint for {@code POST /observability/events}. */ - public static final Endpoint POST_OBSERVABILITY_EVENTS = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events"); - /** Endpoint for {@code POST /observability/events/batch}. */ - public static final Endpoint POST_OBSERVABILITY_EVENTS_BATCH = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events/batch"); - /** Endpoint for {@code POST /observability/logs/ingest}. */ - public static final Endpoint POST_OBSERVABILITY_LOGS_INGEST = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/ingest"); - /** Endpoint for {@code POST /observability/logs/query}. */ - public static final Endpoint POST_OBSERVABILITY_LOGS_QUERY = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/query"); - /** Endpoint for {@code POST /observability/metrics/ingest}. */ - public static final Endpoint POST_OBSERVABILITY_METRICS_INGEST = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/metrics/ingest"); - /** Endpoint for {@code POST /observability/traces/query}. */ - public static final Endpoint POST_OBSERVABILITY_TRACES_QUERY = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/traces/query"); - /** Endpoint for {@code PUT /observability/alerts/rules/{param}}. */ - public static final Endpoint PUT_OBSERVABILITY_ALERTS_RULES_PARAM = - new Endpoint( - ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/rules/{param}"); - /** Endpoint for {@code PUT /observability/alerts/{param}}. */ - public static final Endpoint PUT_OBSERVABILITY_ALERTS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/{param}"); - /** Endpoint for {@code PUT /observability/dashboards/{param}}. */ - public static final Endpoint PUT_OBSERVABILITY_DASHBOARDS_PARAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/dashboards/{param}"); - /** Endpoint for {@code STREAM /observability/logs/stream}. */ - public static final Endpoint STREAM_OBSERVABILITY_LOGS_STREAM = - new Endpoint(ApiService.OBSERVABILITY, HttpMethod.STREAM, "/observability/logs/stream"); - } + /** Endpoint for {@code DELETE /observability/alerts/rules/{param}}. */ + public static final Endpoint DELETE_OBSERVABILITY_ALERTS_RULES_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code DELETE /observability/alerts/{param}}. */ + public static final Endpoint DELETE_OBSERVABILITY_ALERTS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/alerts/{param}"); + /** Endpoint for {@code DELETE /observability/dashboards/{param}}. */ + public static final Endpoint DELETE_OBSERVABILITY_DASHBOARDS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.DELETE, "/observability/dashboards/{param}"); + /** Endpoint for {@code GET /observability/alerts}. */ + public static final Endpoint GET_OBSERVABILITY_ALERTS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts"); + /** Endpoint for {@code GET /observability/alerts/incidents}. */ + public static final Endpoint GET_OBSERVABILITY_ALERTS_INCIDENTS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/incidents"); + /** Endpoint for {@code GET /observability/alerts/rules}. */ + public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules"); + /** Endpoint for {@code GET /observability/alerts/rules/{param}}. */ + public static final Endpoint GET_OBSERVABILITY_ALERTS_RULES_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code GET /observability/dashboards}. */ + public static final Endpoint GET_OBSERVABILITY_DASHBOARDS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards"); + /** Endpoint for {@code GET /observability/dashboards/{param}}. */ + public static final Endpoint GET_OBSERVABILITY_DASHBOARDS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/dashboards/{param}"); + /** Endpoint for {@code GET /observability/events/stats}. */ + public static final Endpoint GET_OBSERVABILITY_EVENTS_STATS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/events/stats"); + /** Endpoint for {@code GET /observability/metrics}. */ + public static final Endpoint GET_OBSERVABILITY_METRICS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics"); + /** Endpoint for {@code GET /observability/metrics/list}. */ + public static final Endpoint GET_OBSERVABILITY_METRICS_LIST = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/metrics/list"); + /** Endpoint for {@code GET /observability/traces}. */ + public static final Endpoint GET_OBSERVABILITY_TRACES = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces"); + /** Endpoint for {@code GET /observability/traces/{param}}. */ + public static final Endpoint GET_OBSERVABILITY_TRACES_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.GET, "/observability/traces/{param}"); + /** Endpoint for {@code POST /observability/alerts}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts"); + /** Endpoint for {@code POST /observability/alerts/rules}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/rules"); + /** Endpoint for {@code POST /observability/alerts/rules/{param}/toggle}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/rules/{param}/toggle"); + /** Endpoint for {@code POST /observability/alerts/{param}/disable}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_DISABLE = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/disable"); + /** Endpoint for {@code POST /observability/alerts/{param}/enable}. */ + public static final Endpoint POST_OBSERVABILITY_ALERTS_PARAM_ENABLE = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/alerts/{param}/enable"); + /** Endpoint for {@code POST /observability/dashboards}. */ + public static final Endpoint POST_OBSERVABILITY_DASHBOARDS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards"); + /** Endpoint for {@code POST /observability/dashboards/{param}/share}. */ + public static final Endpoint POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/dashboards/{param}/share"); + /** Endpoint for {@code POST /observability/events}. */ + public static final Endpoint POST_OBSERVABILITY_EVENTS = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events"); + /** Endpoint for {@code POST /observability/events/batch}. */ + public static final Endpoint POST_OBSERVABILITY_EVENTS_BATCH = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/events/batch"); + /** Endpoint for {@code POST /observability/logs/ingest}. */ + public static final Endpoint POST_OBSERVABILITY_LOGS_INGEST = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/ingest"); + /** Endpoint for {@code POST /observability/logs/query}. */ + public static final Endpoint POST_OBSERVABILITY_LOGS_QUERY = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/logs/query"); + /** Endpoint for {@code POST /observability/metrics/ingest}. */ + public static final Endpoint POST_OBSERVABILITY_METRICS_INGEST = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/metrics/ingest"); + /** Endpoint for {@code POST /observability/traces/query}. */ + public static final Endpoint POST_OBSERVABILITY_TRACES_QUERY = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.POST, "/observability/traces/query"); + /** Endpoint for {@code PUT /observability/alerts/rules/{param}}. */ + public static final Endpoint PUT_OBSERVABILITY_ALERTS_RULES_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/rules/{param}"); + /** Endpoint for {@code PUT /observability/alerts/{param}}. */ + public static final Endpoint PUT_OBSERVABILITY_ALERTS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/alerts/{param}"); + /** Endpoint for {@code PUT /observability/dashboards/{param}}. */ + public static final Endpoint PUT_OBSERVABILITY_DASHBOARDS_PARAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.PUT, "/observability/dashboards/{param}"); + /** Endpoint for {@code STREAM /observability/logs/stream}. */ + public static final Endpoint STREAM_OBSERVABILITY_LOGS_STREAM = + new Endpoint(ApiService.OBSERVABILITY, HttpMethod.STREAM, "/observability/logs/stream"); + } - public static final class Ontology { - private Ontology() {} + public static final class Ontology { + private Ontology() {} - /** Endpoint for {@code DELETE /ontology/objects/object-types/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/object-types/{param}"); - /** Endpoint for {@code DELETE /ontology/objects/objects/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/objects/{param}"); - /** Endpoint for {@code DELETE /ontology/reasoning/rules/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_REASONING_RULES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/reasoning/rules/{param}"); - /** Endpoint for {@code DELETE /ontology/relationships/relationship-types/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM = - new Endpoint( - ApiService.ONTOLOGY, - HttpMethod.DELETE, - "/ontology/relationships/relationship-types/{param}"); - /** Endpoint for {@code DELETE /ontology/relationships/relationships/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = - new Endpoint( - ApiService.ONTOLOGY, - HttpMethod.DELETE, - "/ontology/relationships/relationships/{param}"); - /** Endpoint for {@code DELETE /ontology/rollouts/rollouts/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollouts/rollouts/{param}"); - /** Endpoint for {@code DELETE /ontology/rollups/rollups/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollups/rollups/{param}"); - /** Endpoint for {@code DELETE /ontology/schemas/schemas/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/schemas/schemas/{param}"); - /** Endpoint for {@code DELETE /ontology/validation/rules/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_VALIDATION_RULES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/validation/rules/{param}"); - /** Endpoint for {@code DELETE /ontology/versions/versions/{param}}. */ - public static final Endpoint DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/versions/versions/{param}"); - /** Endpoint for {@code GET /ontology/engine/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/capabilities"); - /** Endpoint for {@code GET /ontology/engine/health}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/health"); - /** Endpoint for {@code GET /ontology/engine/info}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/info"); - /** Endpoint for {@code GET /ontology/engine/runs}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs"); - /** Endpoint for {@code GET /ontology/engine/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs/{param}"); - /** Endpoint for {@code GET /ontology/events/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/capabilities"); - /** Endpoint for {@code GET /ontology/events/events}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events"); - /** Endpoint for {@code GET /ontology/events/events/checkpoints/{param}}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/checkpoints/{param}"); - /** Endpoint for {@code GET /ontology/events/events/{param}}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/{param}"); - /** Endpoint for {@code GET /ontology/events/health}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/health"); - /** Endpoint for {@code GET /ontology/events/info}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/info"); - /** Endpoint for {@code GET /ontology/events/runs}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs"); - /** Endpoint for {@code GET /ontology/events/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs/{param}"); - /** Endpoint for {@code GET /ontology/extract/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/capabilities"); - /** Endpoint for {@code GET /ontology/extract/health}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/health"); - /** Endpoint for {@code GET /ontology/extract/info}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/info"); - /** Endpoint for {@code GET /ontology/extract/runs}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs"); - /** Endpoint for {@code GET /ontology/extract/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs/{param}"); - /** Endpoint for {@code GET /ontology/graph/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/capabilities"); - /** Endpoint for {@code GET /ontology/graph/entities/{param}}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}"); - /** Endpoint for {@code GET /ontology/graph/entities/{param}/provenance}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}/provenance"); - /** Endpoint for {@code GET /ontology/graph/health}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/health"); - /** Endpoint for {@code GET /ontology/graph/info}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/info"); - /** Endpoint for {@code GET /ontology/graph/relationships/{param}}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/relationships/{param}"); - /** Endpoint for {@code GET /ontology/graph/runs}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs"); - /** Endpoint for {@code GET /ontology/graph/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs/{param}"); - /** Endpoint for {@code GET /ontology/objects/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/capabilities"); - /** Endpoint for {@code GET /ontology/objects/health}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/health"); - /** Endpoint for {@code GET /ontology/objects/info}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/info"); - /** Endpoint for {@code GET /ontology/objects/object-types}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types"); - /** Endpoint for {@code GET /ontology/objects/object-types/{param}}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types/{param}"); - /** Endpoint for {@code GET /ontology/objects/objects}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects"); - /** Endpoint for {@code GET /ontology/objects/objects/{param}}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects/{param}"); - /** Endpoint for {@code GET /ontology/objects/runs}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs"); - /** Endpoint for {@code GET /ontology/objects/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs/{param}"); - /** Endpoint for {@code GET /ontology/reasoning/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/capabilities"); - /** Endpoint for {@code GET /ontology/reasoning/health}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/health"); - /** Endpoint for {@code GET /ontology/reasoning/info}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/info"); - /** Endpoint for {@code GET /ontology/reasoning/rules}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_RULES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/rules"); - /** Endpoint for {@code GET /ontology/reasoning/runs}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs"); - /** Endpoint for {@code GET /ontology/reasoning/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_REASONING_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs/{param}"); - /** Endpoint for {@code GET /ontology/relationships/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/capabilities"); - /** Endpoint for {@code GET /ontology/relationships/health}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/health"); - /** Endpoint for {@code GET /ontology/relationships/info}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/info"); - /** Endpoint for {@code GET /ontology/relationships/relationship-types}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationship-types"); - /** Endpoint for {@code GET /ontology/relationships/relationships}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships"); - /** Endpoint for {@code GET /ontology/relationships/relationships/{param}}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships/{param}"); - /** Endpoint for {@code GET /ontology/relationships/runs}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs"); - /** Endpoint for {@code GET /ontology/relationships/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs/{param}"); - /** Endpoint for {@code GET /ontology/rollouts/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/capabilities"); - /** Endpoint for {@code GET /ontology/rollouts/health}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/health"); - /** Endpoint for {@code GET /ontology/rollouts/info}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/info"); - /** Endpoint for {@code GET /ontology/rollouts/rollouts}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts"); - /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}"); - /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}/status}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}/status"); - /** Endpoint for {@code GET /ontology/rollouts/runs}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs"); - /** Endpoint for {@code GET /ontology/rollouts/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs/{param}"); - /** Endpoint for {@code GET /ontology/rollups/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/capabilities"); - /** Endpoint for {@code GET /ontology/rollups/health}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/health"); - /** Endpoint for {@code GET /ontology/rollups/info}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/info"); - /** Endpoint for {@code GET /ontology/rollups/rollup-results/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollup-results/{param}"); - /** Endpoint for {@code GET /ontology/rollups/rollups}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups"); - /** Endpoint for {@code GET /ontology/rollups/rollups/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}"); - /** Endpoint for {@code GET /ontology/rollups/rollups/{param}/result}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}/result"); - /** Endpoint for {@code GET /ontology/rollups/runs}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs"); - /** Endpoint for {@code GET /ontology/rollups/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs/{param}"); - /** Endpoint for {@code GET /ontology/schemas/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/capabilities"); - /** Endpoint for {@code GET /ontology/schemas/health}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/health"); - /** Endpoint for {@code GET /ontology/schemas/info}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/info"); - /** Endpoint for {@code GET /ontology/schemas/runs}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs"); - /** Endpoint for {@code GET /ontology/schemas/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs/{param}"); - /** Endpoint for {@code GET /ontology/schemas/schemas}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas"); - /** Endpoint for {@code GET /ontology/schemas/schemas/{param}}. */ - public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas/{param}"); - /** Endpoint for {@code GET /ontology/transformations/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/capabilities"); - /** Endpoint for {@code GET /ontology/transformations/health}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/health"); - /** Endpoint for {@code GET /ontology/transformations/info}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/info"); - /** Endpoint for {@code GET /ontology/transformations/runs}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs"); - /** Endpoint for {@code GET /ontology/transformations/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs/{param}"); - /** Endpoint for {@code GET /ontology/validation/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/capabilities"); - /** Endpoint for {@code GET /ontology/validation/health}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/health"); - /** Endpoint for {@code GET /ontology/validation/info}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/info"); - /** Endpoint for {@code GET /ontology/validation/rules}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules"); - /** Endpoint for {@code GET /ontology/validation/rules/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules/{param}"); - /** Endpoint for {@code GET /ontology/validation/runs}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs"); - /** Endpoint for {@code GET /ontology/validation/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs/{param}"); - /** Endpoint for {@code GET /ontology/versions/capabilities}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_CAPABILITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/capabilities"); - /** Endpoint for {@code GET /ontology/versions/health}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_HEALTH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/health"); - /** Endpoint for {@code GET /ontology/versions/info}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_INFO = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/info"); - /** Endpoint for {@code GET /ontology/versions/release-bundles}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles"); - /** Endpoint for {@code GET /ontology/versions/release-bundles/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles/{param}"); - /** Endpoint for {@code GET /ontology/versions/runs}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs"); - /** Endpoint for {@code GET /ontology/versions/runs/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs/{param}"); - /** Endpoint for {@code GET /ontology/versions/versions/{param}}. */ - public static final Endpoint GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/versions/{param}"); - /** Endpoint for {@code POST /ontology/engine/ontologies/compare-versions}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/compare-versions"); - /** Endpoint for {@code POST /ontology/engine/ontologies/export}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export"); - /** Endpoint for {@code POST /ontology/engine/ontologies/export-shacl}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export-shacl"); - /** Endpoint for {@code POST /ontology/engine/ontologies/generate}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/generate"); - /** Endpoint for {@code POST /ontology/engine/ontologies/infer-classes}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-classes"); - /** Endpoint for {@code POST /ontology/engine/ontologies/infer-properties}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-properties"); - /** Endpoint for {@code POST /ontology/engine/ontologies/validate}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/validate"); - /** Endpoint for {@code POST /ontology/engine/runs}. */ - public static final Endpoint POST_ONTOLOGY_ENGINE_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/runs"); - /** Endpoint for {@code POST /ontology/events/events}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events"); - /** Endpoint for {@code POST /ontology/events/events/checkpoints}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/checkpoints"); - /** Endpoint for {@code POST /ontology/events/events/leases/acknowledge}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acknowledge"); - /** Endpoint for {@code POST /ontology/events/events/leases/acquire}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acquire"); - /** Endpoint for {@code POST /ontology/events/runs}. */ - public static final Endpoint POST_ONTOLOGY_EVENTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/runs"); - /** Endpoint for {@code POST /ontology/extract/extract/analyze}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/analyze"); - /** Endpoint for {@code POST /ontology/extract/extract/architecture}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/architecture"); - /** Endpoint for {@code POST /ontology/extract/extract/coreferences}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/coreferences"); - /** Endpoint for {@code POST /ontology/extract/extract/entities}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/entities"); - /** Endpoint for {@code POST /ontology/extract/extract/events}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/events"); - /** Endpoint for {@code POST /ontology/extract/extract/relations}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/relations"); - /** Endpoint for {@code POST /ontology/extract/extract/triplets}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/triplets"); - /** Endpoint for {@code POST /ontology/extract/runs}. */ - public static final Endpoint POST_ONTOLOGY_EXTRACT_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/runs"); - /** Endpoint for {@code POST /ontology/graph/graph/analyze}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/analyze"); - /** Endpoint for {@code POST /ontology/graph/graph/build}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BUILD = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/build"); - /** Endpoint for {@code POST /ontology/graph/graph/bulk-read}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/bulk-read"); - /** Endpoint for {@code POST /ontology/graph/graph/neighborhood}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/neighborhood"); - /** Endpoint for {@code POST /ontology/graph/graph/path}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_PATH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/path"); - /** Endpoint for {@code POST /ontology/graph/graph/query}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_QUERY = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/query"); - /** Endpoint for {@code POST /ontology/graph/runs}. */ - public static final Endpoint POST_ONTOLOGY_GRAPH_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/runs"); - /** Endpoint for {@code POST /ontology/objects/runs}. */ - public static final Endpoint POST_ONTOLOGY_OBJECTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/objects/runs"); - /** Endpoint for {@code POST /ontology/reasoning/explain}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_EXPLAIN = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/explain"); - /** Endpoint for {@code POST /ontology/reasoning/facts}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_FACTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts"); - /** Endpoint for {@code POST /ontology/reasoning/facts/load-graph}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts/load-graph"); - /** Endpoint for {@code POST /ontology/reasoning/reason/backward}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_REASON_BACKWARD = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/backward"); - /** Endpoint for {@code POST /ontology/reasoning/reason/forward}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_REASON_FORWARD = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/forward"); - /** Endpoint for {@code POST /ontology/reasoning/rules}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_RULES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/rules"); - /** Endpoint for {@code POST /ontology/reasoning/runs}. */ - public static final Endpoint POST_ONTOLOGY_REASONING_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/runs"); - /** Endpoint for {@code POST /ontology/relationships/runs}. */ - public static final Endpoint POST_ONTOLOGY_RELATIONSHIPS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/relationships/runs"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/pause}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/pause"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/resume}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/resume"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/rollback}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/rollback"); - /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/start}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/start"); - /** Endpoint for {@code POST /ontology/rollouts/runs}. */ - public static final Endpoint POST_ONTOLOGY_ROLLOUTS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/runs"); - /** Endpoint for {@code POST /ontology/rollups/rollups}. */ - public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups"); - /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/execute}. */ - public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/execute"); - /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/preview}. */ - public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/preview"); - /** Endpoint for {@code POST /ontology/rollups/runs}. */ - public static final Endpoint POST_ONTOLOGY_ROLLUPS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/runs"); - /** Endpoint for {@code POST /ontology/schemas/runs}. */ - public static final Endpoint POST_ONTOLOGY_SCHEMAS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/runs"); - /** Endpoint for {@code POST /ontology/schemas/schemas}. */ - public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas"); - /** Endpoint for {@code POST /ontology/schemas/schemas/validate}. */ - public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas/validate"); - /** Endpoint for {@code POST /ontology/transformations/runs}. */ - public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/runs"); - /** Endpoint for {@code POST /ontology/transformations/transformations}. */ - public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/transformations"); - /** Endpoint for {@code POST /ontology/validation/payloads/validate}. */ - public static final Endpoint POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/payloads/validate"); - /** Endpoint for {@code POST /ontology/validation/rules}. */ - public static final Endpoint POST_ONTOLOGY_VALIDATION_RULES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/rules"); - /** Endpoint for {@code POST /ontology/validation/runs}. */ - public static final Endpoint POST_ONTOLOGY_VALIDATION_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/runs"); - /** Endpoint for {@code POST /ontology/versions/audit/verify}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/audit/verify"); - /** Endpoint for {@code POST /ontology/versions/release-bundles}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/release-bundles"); - /** Endpoint for {@code POST /ontology/versions/runs}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_RUNS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/runs"); - /** Endpoint for {@code POST /ontology/versions/versions}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions"); - /** Endpoint for {@code POST /ontology/versions/versions/compare}. */ - public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions/compare"); - /** Endpoint for {@code PUT /ontology/graph/entities/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/entities/{param}"); - /** Endpoint for {@code PUT /ontology/graph/relationships/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/relationships/{param}"); - /** Endpoint for {@code PUT /ontology/objects/object-types/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/object-types/{param}"); - /** Endpoint for {@code PUT /ontology/objects/objects/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/objects/{param}"); - /** Endpoint for {@code PUT /ontology/reasoning/rules/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_REASONING_RULES_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/reasoning/rules/{param}"); - /** Endpoint for {@code PUT /ontology/relationships/relationships/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = - new Endpoint( - ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/relationships/relationships/{param}"); - /** Endpoint for {@code PUT /ontology/rollouts/rollouts/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollouts/rollouts/{param}"); - /** Endpoint for {@code PUT /ontology/rollups/rollups/{param}}. */ - public static final Endpoint PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = - new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollups/rollups/{param}"); - } + /** Endpoint for {@code DELETE /ontology/objects/object-types/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code DELETE /ontology/objects/objects/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code DELETE /ontology/reasoning/rules/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_REASONING_RULES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/reasoning/rules/{param}"); + /** Endpoint for {@code DELETE /ontology/relationships/relationship-types/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM = new Endpoint( + ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/relationships/relationship-types/{param}"); + /** Endpoint for {@code DELETE /ontology/relationships/relationships/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code DELETE /ontology/rollouts/rollouts/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code DELETE /ontology/rollups/rollups/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/rollups/rollups/{param}"); + /** Endpoint for {@code DELETE /ontology/schemas/schemas/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/schemas/schemas/{param}"); + /** Endpoint for {@code DELETE /ontology/validation/rules/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_VALIDATION_RULES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/validation/rules/{param}"); + /** Endpoint for {@code DELETE /ontology/versions/versions/{param}}. */ + public static final Endpoint DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.DELETE, "/ontology/versions/versions/{param}"); + /** Endpoint for {@code GET /ontology/engine/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/capabilities"); + /** Endpoint for {@code GET /ontology/engine/health}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/health"); + /** Endpoint for {@code GET /ontology/engine/info}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/info"); + /** Endpoint for {@code GET /ontology/engine/runs}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs"); + /** Endpoint for {@code GET /ontology/engine/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ENGINE_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/engine/runs/{param}"); + /** Endpoint for {@code GET /ontology/events/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/capabilities"); + /** Endpoint for {@code GET /ontology/events/events}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events"); + /** Endpoint for {@code GET /ontology/events/events/checkpoints/{param}}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/checkpoints/{param}"); + /** Endpoint for {@code GET /ontology/events/events/{param}}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_EVENTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/events/{param}"); + /** Endpoint for {@code GET /ontology/events/health}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/health"); + /** Endpoint for {@code GET /ontology/events/info}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/info"); + /** Endpoint for {@code GET /ontology/events/runs}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs"); + /** Endpoint for {@code GET /ontology/events/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_EVENTS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/events/runs/{param}"); + /** Endpoint for {@code GET /ontology/extract/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/capabilities"); + /** Endpoint for {@code GET /ontology/extract/health}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/health"); + /** Endpoint for {@code GET /ontology/extract/info}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/info"); + /** Endpoint for {@code GET /ontology/extract/runs}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs"); + /** Endpoint for {@code GET /ontology/extract/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_EXTRACT_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/extract/runs/{param}"); + /** Endpoint for {@code GET /ontology/graph/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/capabilities"); + /** Endpoint for {@code GET /ontology/graph/entities/{param}}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}"); + /** Endpoint for {@code GET /ontology/graph/entities/{param}/provenance}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/entities/{param}/provenance"); + /** Endpoint for {@code GET /ontology/graph/health}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/health"); + /** Endpoint for {@code GET /ontology/graph/info}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/info"); + /** Endpoint for {@code GET /ontology/graph/relationships/{param}}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/relationships/{param}"); + /** Endpoint for {@code GET /ontology/graph/runs}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs"); + /** Endpoint for {@code GET /ontology/graph/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_GRAPH_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/graph/runs/{param}"); + /** Endpoint for {@code GET /ontology/objects/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/capabilities"); + /** Endpoint for {@code GET /ontology/objects/health}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/health"); + /** Endpoint for {@code GET /ontology/objects/info}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/info"); + /** Endpoint for {@code GET /ontology/objects/object-types}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types"); + /** Endpoint for {@code GET /ontology/objects/object-types/{param}}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code GET /ontology/objects/objects}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects"); + /** Endpoint for {@code GET /ontology/objects/objects/{param}}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code GET /ontology/objects/runs}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs"); + /** Endpoint for {@code GET /ontology/objects/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_OBJECTS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/objects/runs/{param}"); + /** Endpoint for {@code GET /ontology/reasoning/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/capabilities"); + /** Endpoint for {@code GET /ontology/reasoning/health}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/health"); + /** Endpoint for {@code GET /ontology/reasoning/info}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/info"); + /** Endpoint for {@code GET /ontology/reasoning/rules}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_RULES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/rules"); + /** Endpoint for {@code GET /ontology/reasoning/runs}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs"); + /** Endpoint for {@code GET /ontology/reasoning/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_REASONING_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/reasoning/runs/{param}"); + /** Endpoint for {@code GET /ontology/relationships/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/capabilities"); + /** Endpoint for {@code GET /ontology/relationships/health}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/health"); + /** Endpoint for {@code GET /ontology/relationships/info}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/info"); + /** Endpoint for {@code GET /ontology/relationships/relationship-types}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationship-types"); + /** Endpoint for {@code GET /ontology/relationships/relationships}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships"); + /** Endpoint for {@code GET /ontology/relationships/relationships/{param}}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code GET /ontology/relationships/runs}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs"); + /** Endpoint for {@code GET /ontology/relationships/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/relationships/runs/{param}"); + /** Endpoint for {@code GET /ontology/rollouts/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/capabilities"); + /** Endpoint for {@code GET /ontology/rollouts/health}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/health"); + /** Endpoint for {@code GET /ontology/rollouts/info}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/info"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code GET /ontology/rollouts/rollouts/{param}/status}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/rollouts/{param}/status"); + /** Endpoint for {@code GET /ontology/rollouts/runs}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs"); + /** Endpoint for {@code GET /ontology/rollouts/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollouts/runs/{param}"); + /** Endpoint for {@code GET /ontology/rollups/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/capabilities"); + /** Endpoint for {@code GET /ontology/rollups/health}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/health"); + /** Endpoint for {@code GET /ontology/rollups/info}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/info"); + /** Endpoint for {@code GET /ontology/rollups/rollup-results/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollup-results/{param}"); + /** Endpoint for {@code GET /ontology/rollups/rollups}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups"); + /** Endpoint for {@code GET /ontology/rollups/rollups/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}"); + /** Endpoint for {@code GET /ontology/rollups/rollups/{param}/result}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/rollups/{param}/result"); + /** Endpoint for {@code GET /ontology/rollups/runs}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs"); + /** Endpoint for {@code GET /ontology/rollups/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_ROLLUPS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/rollups/runs/{param}"); + /** Endpoint for {@code GET /ontology/schemas/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/capabilities"); + /** Endpoint for {@code GET /ontology/schemas/health}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/health"); + /** Endpoint for {@code GET /ontology/schemas/info}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/info"); + /** Endpoint for {@code GET /ontology/schemas/runs}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs"); + /** Endpoint for {@code GET /ontology/schemas/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/runs/{param}"); + /** Endpoint for {@code GET /ontology/schemas/schemas}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas"); + /** Endpoint for {@code GET /ontology/schemas/schemas/{param}}. */ + public static final Endpoint GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/schemas/schemas/{param}"); + /** Endpoint for {@code GET /ontology/transformations/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/capabilities"); + /** Endpoint for {@code GET /ontology/transformations/health}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/health"); + /** Endpoint for {@code GET /ontology/transformations/info}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/info"); + /** Endpoint for {@code GET /ontology/transformations/runs}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs"); + /** Endpoint for {@code GET /ontology/transformations/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/transformations/runs/{param}"); + /** Endpoint for {@code GET /ontology/validation/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/capabilities"); + /** Endpoint for {@code GET /ontology/validation/health}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/health"); + /** Endpoint for {@code GET /ontology/validation/info}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/info"); + /** Endpoint for {@code GET /ontology/validation/rules}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules"); + /** Endpoint for {@code GET /ontology/validation/rules/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_RULES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/rules/{param}"); + /** Endpoint for {@code GET /ontology/validation/runs}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs"); + /** Endpoint for {@code GET /ontology/validation/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VALIDATION_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/validation/runs/{param}"); + /** Endpoint for {@code GET /ontology/versions/capabilities}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_CAPABILITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/capabilities"); + /** Endpoint for {@code GET /ontology/versions/health}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_HEALTH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/health"); + /** Endpoint for {@code GET /ontology/versions/info}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_INFO = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/info"); + /** Endpoint for {@code GET /ontology/versions/release-bundles}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles"); + /** Endpoint for {@code GET /ontology/versions/release-bundles/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/release-bundles/{param}"); + /** Endpoint for {@code GET /ontology/versions/runs}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs"); + /** Endpoint for {@code GET /ontology/versions/runs/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_RUNS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/runs/{param}"); + /** Endpoint for {@code GET /ontology/versions/versions/{param}}. */ + public static final Endpoint GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.GET, "/ontology/versions/versions/{param}"); + /** Endpoint for {@code POST /ontology/engine/ontologies/compare-versions}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/compare-versions"); + /** Endpoint for {@code POST /ontology/engine/ontologies/export}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export"); + /** Endpoint for {@code POST /ontology/engine/ontologies/export-shacl}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/export-shacl"); + /** Endpoint for {@code POST /ontology/engine/ontologies/generate}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/generate"); + /** Endpoint for {@code POST /ontology/engine/ontologies/infer-classes}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-classes"); + /** Endpoint for {@code POST /ontology/engine/ontologies/infer-properties}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/infer-properties"); + /** Endpoint for {@code POST /ontology/engine/ontologies/validate}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/ontologies/validate"); + /** Endpoint for {@code POST /ontology/engine/runs}. */ + public static final Endpoint POST_ONTOLOGY_ENGINE_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/engine/runs"); + /** Endpoint for {@code POST /ontology/events/events}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events"); + /** Endpoint for {@code POST /ontology/events/events/checkpoints}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/checkpoints"); + /** Endpoint for {@code POST /ontology/events/events/leases/acknowledge}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acknowledge"); + /** Endpoint for {@code POST /ontology/events/events/leases/acquire}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/events/leases/acquire"); + /** Endpoint for {@code POST /ontology/events/runs}. */ + public static final Endpoint POST_ONTOLOGY_EVENTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/events/runs"); + /** Endpoint for {@code POST /ontology/extract/extract/analyze}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/analyze"); + /** Endpoint for {@code POST /ontology/extract/extract/architecture}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/architecture"); + /** Endpoint for {@code POST /ontology/extract/extract/coreferences}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/coreferences"); + /** Endpoint for {@code POST /ontology/extract/extract/entities}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/entities"); + /** Endpoint for {@code POST /ontology/extract/extract/events}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/events"); + /** Endpoint for {@code POST /ontology/extract/extract/relations}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/relations"); + /** Endpoint for {@code POST /ontology/extract/extract/triplets}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/extract/triplets"); + /** Endpoint for {@code POST /ontology/extract/runs}. */ + public static final Endpoint POST_ONTOLOGY_EXTRACT_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/extract/runs"); + /** Endpoint for {@code POST /ontology/graph/graph/analyze}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/analyze"); + /** Endpoint for {@code POST /ontology/graph/graph/build}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BUILD = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/build"); + /** Endpoint for {@code POST /ontology/graph/graph/bulk-read}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/bulk-read"); + /** Endpoint for {@code POST /ontology/graph/graph/neighborhood}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/neighborhood"); + /** Endpoint for {@code POST /ontology/graph/graph/path}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_PATH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/path"); + /** Endpoint for {@code POST /ontology/graph/graph/query}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_GRAPH_QUERY = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/graph/query"); + /** Endpoint for {@code POST /ontology/graph/runs}. */ + public static final Endpoint POST_ONTOLOGY_GRAPH_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/graph/runs"); + /** Endpoint for {@code POST /ontology/objects/runs}. */ + public static final Endpoint POST_ONTOLOGY_OBJECTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/objects/runs"); + /** Endpoint for {@code POST /ontology/reasoning/explain}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_EXPLAIN = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/explain"); + /** Endpoint for {@code POST /ontology/reasoning/facts}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_FACTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts"); + /** Endpoint for {@code POST /ontology/reasoning/facts/load-graph}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/facts/load-graph"); + /** Endpoint for {@code POST /ontology/reasoning/reason/backward}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_REASON_BACKWARD = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/backward"); + /** Endpoint for {@code POST /ontology/reasoning/reason/forward}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_REASON_FORWARD = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/reason/forward"); + /** Endpoint for {@code POST /ontology/reasoning/rules}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_RULES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/rules"); + /** Endpoint for {@code POST /ontology/reasoning/runs}. */ + public static final Endpoint POST_ONTOLOGY_REASONING_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/reasoning/runs"); + /** Endpoint for {@code POST /ontology/relationships/runs}. */ + public static final Endpoint POST_ONTOLOGY_RELATIONSHIPS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/relationships/runs"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/pause}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/pause"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/resume}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/resume"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/rollback}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/rollback"); + /** Endpoint for {@code POST /ontology/rollouts/rollouts/{param}/start}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/rollouts/{param}/start"); + /** Endpoint for {@code POST /ontology/rollouts/runs}. */ + public static final Endpoint POST_ONTOLOGY_ROLLOUTS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollouts/runs"); + /** Endpoint for {@code POST /ontology/rollups/rollups}. */ + public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups"); + /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/execute}. */ + public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/execute"); + /** Endpoint for {@code POST /ontology/rollups/rollups/{param}/preview}. */ + public static final Endpoint POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/rollups/{param}/preview"); + /** Endpoint for {@code POST /ontology/rollups/runs}. */ + public static final Endpoint POST_ONTOLOGY_ROLLUPS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/rollups/runs"); + /** Endpoint for {@code POST /ontology/schemas/runs}. */ + public static final Endpoint POST_ONTOLOGY_SCHEMAS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/runs"); + /** Endpoint for {@code POST /ontology/schemas/schemas}. */ + public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas"); + /** Endpoint for {@code POST /ontology/schemas/schemas/validate}. */ + public static final Endpoint POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/schemas/schemas/validate"); + /** Endpoint for {@code POST /ontology/transformations/runs}. */ + public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/runs"); + /** Endpoint for {@code POST /ontology/transformations/transformations}. */ + public static final Endpoint POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/transformations/transformations"); + /** Endpoint for {@code POST /ontology/validation/payloads/validate}. */ + public static final Endpoint POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/payloads/validate"); + /** Endpoint for {@code POST /ontology/validation/rules}. */ + public static final Endpoint POST_ONTOLOGY_VALIDATION_RULES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/rules"); + /** Endpoint for {@code POST /ontology/validation/runs}. */ + public static final Endpoint POST_ONTOLOGY_VALIDATION_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/validation/runs"); + /** Endpoint for {@code POST /ontology/versions/audit/verify}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/audit/verify"); + /** Endpoint for {@code POST /ontology/versions/release-bundles}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/release-bundles"); + /** Endpoint for {@code POST /ontology/versions/runs}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_RUNS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/runs"); + /** Endpoint for {@code POST /ontology/versions/versions}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions"); + /** Endpoint for {@code POST /ontology/versions/versions/compare}. */ + public static final Endpoint POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.POST, "/ontology/versions/versions/compare"); + /** Endpoint for {@code PUT /ontology/graph/entities/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/entities/{param}"); + /** Endpoint for {@code PUT /ontology/graph/relationships/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/graph/relationships/{param}"); + /** Endpoint for {@code PUT /ontology/objects/object-types/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/object-types/{param}"); + /** Endpoint for {@code PUT /ontology/objects/objects/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/objects/objects/{param}"); + /** Endpoint for {@code PUT /ontology/reasoning/rules/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_REASONING_RULES_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/reasoning/rules/{param}"); + /** Endpoint for {@code PUT /ontology/relationships/relationships/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/relationships/relationships/{param}"); + /** Endpoint for {@code PUT /ontology/rollouts/rollouts/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollouts/rollouts/{param}"); + /** Endpoint for {@code PUT /ontology/rollups/rollups/{param}}. */ + public static final Endpoint PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM = + new Endpoint(ApiService.ONTOLOGY, HttpMethod.PUT, "/ontology/rollups/rollups/{param}"); + } - public static final class Pipelines { - private Pipelines() {} + public static final class Pipelines { + private Pipelines() {} - /** Endpoint for {@code GET /data/pipelines/capabilities}. */ - public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/capabilities"); - /** Endpoint for {@code GET /data/pipelines/health}. */ - public static final Endpoint GET_DATA_PIPELINES_HEALTH = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/health"); - /** Endpoint for {@code GET /data/pipelines/info}. */ - public static final Endpoint GET_DATA_PIPELINES_INFO = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/info"); - /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs"); - /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); - /** Endpoint for {@code GET /data/pipelines/pipelines}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINES = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines"); - /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ - public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); - /** Endpoint for {@code GET /data/pipelines/runs}. */ - public static final Endpoint GET_DATA_PIPELINES_RUNS = - new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/runs"); - /** Endpoint for {@code POST /data/pipelines/pipelines}. */ - public static final Endpoint POST_DATA_PIPELINES_PIPELINES = - new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/pipelines"); - /** Endpoint for {@code POST /data/pipelines/runs}. */ - public static final Endpoint POST_DATA_PIPELINES_RUNS = - new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/runs"); - /** Endpoint for {@code STREAM /data/pipelines/pipeline-runs/{param}}. */ - public static final Endpoint STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM = - new Endpoint( - ApiService.PIPELINES, HttpMethod.STREAM, "/data/pipelines/pipeline-runs/{param}"); - } + /** Endpoint for {@code GET /data/pipelines/capabilities}. */ + public static final Endpoint GET_DATA_PIPELINES_CAPABILITIES = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/capabilities"); + /** Endpoint for {@code GET /data/pipelines/health}. */ + public static final Endpoint GET_DATA_PIPELINES_HEALTH = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/health"); + /** Endpoint for {@code GET /data/pipelines/info}. */ + public static final Endpoint GET_DATA_PIPELINES_INFO = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/info"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs"); + /** Endpoint for {@code GET /data/pipelines/pipeline-runs/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipeline-runs/{param}"); + /** Endpoint for {@code GET /data/pipelines/pipelines}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINES = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines"); + /** Endpoint for {@code GET /data/pipelines/pipelines/{param}}. */ + public static final Endpoint GET_DATA_PIPELINES_PIPELINES_PARAM = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/pipelines/{param}"); + /** Endpoint for {@code GET /data/pipelines/runs}. */ + public static final Endpoint GET_DATA_PIPELINES_RUNS = + new Endpoint(ApiService.PIPELINES, HttpMethod.GET, "/data/pipelines/runs"); + /** Endpoint for {@code POST /data/pipelines/pipelines}. */ + public static final Endpoint POST_DATA_PIPELINES_PIPELINES = + new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/pipelines"); + /** Endpoint for {@code POST /data/pipelines/runs}. */ + public static final Endpoint POST_DATA_PIPELINES_RUNS = + new Endpoint(ApiService.PIPELINES, HttpMethod.POST, "/data/pipelines/runs"); + /** Endpoint for {@code STREAM /data/pipelines/pipeline-runs/{param}}. */ + public static final Endpoint STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM = + new Endpoint(ApiService.PIPELINES, HttpMethod.STREAM, "/data/pipelines/pipeline-runs/{param}"); + } - public static final class Providers { - private Providers() {} + public static final class Providers { + private Providers() {} - /** Endpoint for {@code GET /providers/{param}}. */ - public static final Endpoint GET_PROVIDERS_PARAM = - new Endpoint(ApiService.PROVIDERS, HttpMethod.GET, "/providers/{param}"); - } + /** Endpoint for {@code GET /providers/{param}}. */ + public static final Endpoint GET_PROVIDERS_PARAM = + new Endpoint(ApiService.PROVIDERS, HttpMethod.GET, "/providers/{param}"); + } - public static final class React { - private React() {} - } + public static final class React { + private React() {} + } - public static final class Sandbox { - private Sandbox() {} + public static final class Sandbox { + private Sandbox() {} - /** Endpoint for {@code GET /sandbox/languages}. */ - public static final Endpoint GET_SANDBOX_LANGUAGES = - new Endpoint(ApiService.SANDBOX, HttpMethod.GET, "/sandbox/languages"); - /** Endpoint for {@code POST /sandbox/self-test}. */ - public static final Endpoint POST_SANDBOX_SELF_TEST = - new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/self-test"); - /** Endpoint for {@code POST /sandbox/submit}. */ - public static final Endpoint POST_SANDBOX_SUBMIT = - new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/submit"); - } + /** Endpoint for {@code GET /sandbox/languages}. */ + public static final Endpoint GET_SANDBOX_LANGUAGES = + new Endpoint(ApiService.SANDBOX, HttpMethod.GET, "/sandbox/languages"); + /** Endpoint for {@code POST /sandbox/self-test}. */ + public static final Endpoint POST_SANDBOX_SELF_TEST = + new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/self-test"); + /** Endpoint for {@code POST /sandbox/submit}. */ + public static final Endpoint POST_SANDBOX_SUBMIT = + new Endpoint(ApiService.SANDBOX, HttpMethod.POST, "/sandbox/submit"); + } - public static final class Schedules { - private Schedules() {} + public static final class Schedules { + private Schedules() {} - /** Endpoint for {@code DELETE /workflows/schedules/{param}}. */ - public static final Endpoint DELETE_WORKFLOWS_SCHEDULES_PARAM = - new Endpoint(ApiService.SCHEDULES, HttpMethod.DELETE, "/workflows/schedules/{param}"); - /** Endpoint for {@code GET /workflows/schedules}. */ - public static final Endpoint GET_WORKFLOWS_SCHEDULES = - new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules"); - /** Endpoint for {@code GET /workflows/schedules/{param}}. */ - public static final Endpoint GET_WORKFLOWS_SCHEDULES_PARAM = - new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules/{param}"); - /** Endpoint for {@code PATCH /workflows/schedules/{param}}. */ - public static final Endpoint PATCH_WORKFLOWS_SCHEDULES_PARAM = - new Endpoint(ApiService.SCHEDULES, HttpMethod.PATCH, "/workflows/schedules/{param}"); - /** Endpoint for {@code POST /workflows/cron/parse}. */ - public static final Endpoint POST_WORKFLOWS_CRON_PARSE = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/parse"); - /** Endpoint for {@code POST /workflows/cron/validate}. */ - public static final Endpoint POST_WORKFLOWS_CRON_VALIDATE = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/validate"); - /** Endpoint for {@code POST /workflows/schedules}. */ - public static final Endpoint POST_WORKFLOWS_SCHEDULES = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules"); - /** Endpoint for {@code POST /workflows/schedules/{param}/pause}. */ - public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/pause"); - /** Endpoint for {@code POST /workflows/schedules/{param}/resume}. */ - public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_RESUME = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/resume"); - /** Endpoint for {@code POST /workflows/schedules/{param}/trigger}. */ - public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER = - new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/trigger"); - } + /** Endpoint for {@code DELETE /workflows/schedules/{param}}. */ + public static final Endpoint DELETE_WORKFLOWS_SCHEDULES_PARAM = + new Endpoint(ApiService.SCHEDULES, HttpMethod.DELETE, "/workflows/schedules/{param}"); + /** Endpoint for {@code GET /workflows/schedules}. */ + public static final Endpoint GET_WORKFLOWS_SCHEDULES = + new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules"); + /** Endpoint for {@code GET /workflows/schedules/{param}}. */ + public static final Endpoint GET_WORKFLOWS_SCHEDULES_PARAM = + new Endpoint(ApiService.SCHEDULES, HttpMethod.GET, "/workflows/schedules/{param}"); + /** Endpoint for {@code PATCH /workflows/schedules/{param}}. */ + public static final Endpoint PATCH_WORKFLOWS_SCHEDULES_PARAM = + new Endpoint(ApiService.SCHEDULES, HttpMethod.PATCH, "/workflows/schedules/{param}"); + /** Endpoint for {@code POST /workflows/cron/parse}. */ + public static final Endpoint POST_WORKFLOWS_CRON_PARSE = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/parse"); + /** Endpoint for {@code POST /workflows/cron/validate}. */ + public static final Endpoint POST_WORKFLOWS_CRON_VALIDATE = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/cron/validate"); + /** Endpoint for {@code POST /workflows/schedules}. */ + public static final Endpoint POST_WORKFLOWS_SCHEDULES = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules"); + /** Endpoint for {@code POST /workflows/schedules/{param}/pause}. */ + public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/pause"); + /** Endpoint for {@code POST /workflows/schedules/{param}/resume}. */ + public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_RESUME = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/resume"); + /** Endpoint for {@code POST /workflows/schedules/{param}/trigger}. */ + public static final Endpoint POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER = + new Endpoint(ApiService.SCHEDULES, HttpMethod.POST, "/workflows/schedules/{param}/trigger"); + } - public static final class Webhooks { - private Webhooks() {} + public static final class Webhooks { + private Webhooks() {} - /** Endpoint for {@code DELETE /webhooks/{param}}. */ - public static final Endpoint DELETE_WEBHOOKS_PARAM = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.DELETE, "/webhooks/{param}"); - /** Endpoint for {@code GET /webhooks}. */ - public static final Endpoint GET_WEBHOOKS = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks"); - /** Endpoint for {@code GET /webhooks/deliveries}. */ - public static final Endpoint GET_WEBHOOKS_DELIVERIES = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries"); - /** Endpoint for {@code GET /webhooks/deliveries/{param}}. */ - public static final Endpoint GET_WEBHOOKS_DELIVERIES_PARAM = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries/{param}"); - /** Endpoint for {@code GET /webhooks/stats}. */ - public static final Endpoint GET_WEBHOOKS_STATS = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/stats"); - /** Endpoint for {@code GET /webhooks/{param}}. */ - public static final Endpoint GET_WEBHOOKS_PARAM = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/{param}"); - /** Endpoint for {@code POST /webhooks}. */ - public static final Endpoint POST_WEBHOOKS = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks"); - /** Endpoint for {@code POST /webhooks/deliveries/{param}/retry}. */ - public static final Endpoint POST_WEBHOOKS_DELIVERIES_PARAM_RETRY = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/deliveries/{param}/retry"); - /** Endpoint for {@code POST /webhooks/{param}/rotate-secret}. */ - public static final Endpoint POST_WEBHOOKS_PARAM_ROTATE_SECRET = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/{param}/rotate-secret"); - /** Endpoint for {@code PUT /webhooks/{param}}. */ - public static final Endpoint PUT_WEBHOOKS_PARAM = - new Endpoint(ApiService.WEBHOOKS, HttpMethod.PUT, "/webhooks/{param}"); - } + /** Endpoint for {@code DELETE /webhooks/{param}}. */ + public static final Endpoint DELETE_WEBHOOKS_PARAM = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.DELETE, "/webhooks/{param}"); + /** Endpoint for {@code GET /webhooks}. */ + public static final Endpoint GET_WEBHOOKS = new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks"); + /** Endpoint for {@code GET /webhooks/deliveries}. */ + public static final Endpoint GET_WEBHOOKS_DELIVERIES = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries"); + /** Endpoint for {@code GET /webhooks/deliveries/{param}}. */ + public static final Endpoint GET_WEBHOOKS_DELIVERIES_PARAM = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/deliveries/{param}"); + /** Endpoint for {@code GET /webhooks/stats}. */ + public static final Endpoint GET_WEBHOOKS_STATS = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/stats"); + /** Endpoint for {@code GET /webhooks/{param}}. */ + public static final Endpoint GET_WEBHOOKS_PARAM = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.GET, "/webhooks/{param}"); + /** Endpoint for {@code POST /webhooks}. */ + public static final Endpoint POST_WEBHOOKS = new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks"); + /** Endpoint for {@code POST /webhooks/deliveries/{param}/retry}. */ + public static final Endpoint POST_WEBHOOKS_DELIVERIES_PARAM_RETRY = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/deliveries/{param}/retry"); + /** Endpoint for {@code POST /webhooks/{param}/rotate-secret}. */ + public static final Endpoint POST_WEBHOOKS_PARAM_ROTATE_SECRET = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.POST, "/webhooks/{param}/rotate-secret"); + /** Endpoint for {@code PUT /webhooks/{param}}. */ + public static final Endpoint PUT_WEBHOOKS_PARAM = + new Endpoint(ApiService.WEBHOOKS, HttpMethod.PUT, "/webhooks/{param}"); + } - public static final class WebhookEndpoints { - private WebhookEndpoints() {} + public static final class WebhookEndpoints { + private WebhookEndpoints() {} - /** Endpoint for {@code DELETE /webhook-endpoints/{param}}. */ - public static final Endpoint DELETE_WEBHOOK_ENDPOINTS_PARAM = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.DELETE, "/webhook-endpoints/{param}"); - /** Endpoint for {@code GET /webhook-endpoints}. */ - public static final Endpoint GET_WEBHOOK_ENDPOINTS = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints"); - /** Endpoint for {@code GET /webhook-endpoints/{param}}. */ - public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}"); - /** Endpoint for {@code GET /webhook-endpoints/{param}/deliveries}. */ - public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES = - new Endpoint( - ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}/deliveries"); - /** Endpoint for {@code PATCH /webhook-endpoints/{param}}. */ - public static final Endpoint PATCH_WEBHOOK_ENDPOINTS_PARAM = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.PATCH, "/webhook-endpoints/{param}"); - /** Endpoint for {@code POST /webhook-endpoints}. */ - public static final Endpoint POST_WEBHOOK_ENDPOINTS = - new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.POST, "/webhook-endpoints"); - /** Endpoint for {@code POST /webhook-endpoints/{param}/rotate-secret}. */ - public static final Endpoint POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET = - new Endpoint( - ApiService.WEBHOOK_ENDPOINTS, - HttpMethod.POST, - "/webhook-endpoints/{param}/rotate-secret"); - } + /** Endpoint for {@code DELETE /webhook-endpoints/{param}}. */ + public static final Endpoint DELETE_WEBHOOK_ENDPOINTS_PARAM = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.DELETE, "/webhook-endpoints/{param}"); + /** Endpoint for {@code GET /webhook-endpoints}. */ + public static final Endpoint GET_WEBHOOK_ENDPOINTS = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints"); + /** Endpoint for {@code GET /webhook-endpoints/{param}}. */ + public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}"); + /** Endpoint for {@code GET /webhook-endpoints/{param}/deliveries}. */ + public static final Endpoint GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.GET, "/webhook-endpoints/{param}/deliveries"); + /** Endpoint for {@code PATCH /webhook-endpoints/{param}}. */ + public static final Endpoint PATCH_WEBHOOK_ENDPOINTS_PARAM = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.PATCH, "/webhook-endpoints/{param}"); + /** Endpoint for {@code POST /webhook-endpoints}. */ + public static final Endpoint POST_WEBHOOK_ENDPOINTS = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.POST, "/webhook-endpoints"); + /** Endpoint for {@code POST /webhook-endpoints/{param}/rotate-secret}. */ + public static final Endpoint POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET = + new Endpoint(ApiService.WEBHOOK_ENDPOINTS, HttpMethod.POST, "/webhook-endpoints/{param}/rotate-secret"); + } - public static final class Workflows { - private Workflows() {} + public static final class Workflows { + private Workflows() {} - /** Endpoint for {@code DELETE /workflows/{param}}. */ - public static final Endpoint DELETE_WORKFLOWS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.DELETE, "/workflows/{param}"); - /** Endpoint for {@code GET /workflows}. */ - public static final Endpoint GET_WORKFLOWS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows"); - /** Endpoint for {@code GET /workflows/approvals}. */ - public static final Endpoint GET_WORKFLOWS_APPROVALS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals"); - /** Endpoint for {@code GET /workflows/approvals/{param}}. */ - public static final Endpoint GET_WORKFLOWS_APPROVALS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals/{param}"); - /** Endpoint for {@code GET /workflows/executions}. */ - public static final Endpoint GET_WORKFLOWS_EXECUTIONS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions"); - /** Endpoint for {@code GET /workflows/executions/{param}}. */ - public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}"); - /** Endpoint for {@code GET /workflows/executions/{param}/tasks}. */ - public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}/tasks"); - /** Endpoint for {@code GET /workflows/runs/{param}/steps}. */ - public static final Endpoint GET_WORKFLOWS_RUNS_PARAM_STEPS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/runs/{param}/steps"); - /** Endpoint for {@code GET /workflows/tasks/{param}}. */ - public static final Endpoint GET_WORKFLOWS_TASKS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/tasks/{param}"); - /** Endpoint for {@code GET /workflows/templates}. */ - public static final Endpoint GET_WORKFLOWS_TEMPLATES = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates"); - /** Endpoint for {@code GET /workflows/templates/{param}}. */ - public static final Endpoint GET_WORKFLOWS_TEMPLATES_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates/{param}"); - /** Endpoint for {@code GET /workflows/{param}}. */ - public static final Endpoint GET_WORKFLOWS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}"); - /** Endpoint for {@code GET /workflows/{param}/{param}}. */ - public static final Endpoint GET_WORKFLOWS_PARAM_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}"); - /** Endpoint for {@code GET /workflows/{param}/{param}/summary}. */ - public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_SUMMARY = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/summary"); - /** Endpoint for {@code GET /workflows/{param}/{param}/timeline}. */ - public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_TIMELINE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/timeline"); - /** Endpoint for {@code PATCH /workflows/{param}}. */ - public static final Endpoint PATCH_WORKFLOWS_PARAM = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.PATCH, "/workflows/{param}"); - /** Endpoint for {@code POST /workflows}. */ - public static final Endpoint POST_WORKFLOWS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows"); - /** Endpoint for {@code POST /workflows/approvals/{param}/approve}. */ - public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_APPROVE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/approve"); - /** Endpoint for {@code POST /workflows/approvals/{param}/reject}. */ - public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_REJECT = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/reject"); - /** Endpoint for {@code POST /workflows/batch}. */ - public static final Endpoint POST_WORKFLOWS_BATCH = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/batch"); - /** Endpoint for {@code POST /workflows/executions}. */ - public static final Endpoint POST_WORKFLOWS_EXECUTIONS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/executions"); - /** Endpoint for {@code POST /workflows/search}. */ - public static final Endpoint POST_WORKFLOWS_SEARCH = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/search"); - /** Endpoint for {@code POST /workflows/tasks/{param}/cancel}. */ - public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_CANCEL = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/cancel"); - /** Endpoint for {@code POST /workflows/tasks/{param}/retry}. */ - public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_RETRY = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/retry"); - /** Endpoint for {@code POST /workflows/templates}. */ - public static final Endpoint POST_WORKFLOWS_TEMPLATES = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates"); - /** Endpoint for {@code POST /workflows/templates/{param}/instantiate}. */ - public static final Endpoint POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE = - new Endpoint( - ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates/{param}/instantiate"); - /** Endpoint for {@code POST /workflows/{param}/archive}. */ - public static final Endpoint POST_WORKFLOWS_PARAM_ARCHIVE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/archive"); - /** Endpoint for {@code POST /workflows/{param}/publish}. */ - public static final Endpoint POST_WORKFLOWS_PARAM_PUBLISH = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/publish"); - /** Endpoint for {@code POST /workflows/{param}/restore}. */ - public static final Endpoint POST_WORKFLOWS_PARAM_RESTORE = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/restore"); - /** Endpoint for {@code POST /workflows/{param}/versions}. */ - public static final Endpoint POST_WORKFLOWS_PARAM_VERSIONS = - new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/versions"); - } + /** Endpoint for {@code DELETE /workflows/{param}}. */ + public static final Endpoint DELETE_WORKFLOWS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.DELETE, "/workflows/{param}"); + /** Endpoint for {@code GET /workflows}. */ + public static final Endpoint GET_WORKFLOWS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows"); + /** Endpoint for {@code GET /workflows/approvals}. */ + public static final Endpoint GET_WORKFLOWS_APPROVALS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals"); + /** Endpoint for {@code GET /workflows/approvals/{param}}. */ + public static final Endpoint GET_WORKFLOWS_APPROVALS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/approvals/{param}"); + /** Endpoint for {@code GET /workflows/executions}. */ + public static final Endpoint GET_WORKFLOWS_EXECUTIONS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions"); + /** Endpoint for {@code GET /workflows/executions/{param}}. */ + public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}"); + /** Endpoint for {@code GET /workflows/executions/{param}/tasks}. */ + public static final Endpoint GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/executions/{param}/tasks"); + /** Endpoint for {@code GET /workflows/runs/{param}/steps}. */ + public static final Endpoint GET_WORKFLOWS_RUNS_PARAM_STEPS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/runs/{param}/steps"); + /** Endpoint for {@code GET /workflows/tasks/{param}}. */ + public static final Endpoint GET_WORKFLOWS_TASKS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/tasks/{param}"); + /** Endpoint for {@code GET /workflows/templates}. */ + public static final Endpoint GET_WORKFLOWS_TEMPLATES = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates"); + /** Endpoint for {@code GET /workflows/templates/{param}}. */ + public static final Endpoint GET_WORKFLOWS_TEMPLATES_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/templates/{param}"); + /** Endpoint for {@code GET /workflows/{param}}. */ + public static final Endpoint GET_WORKFLOWS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}"); + /** Endpoint for {@code GET /workflows/{param}/{param}}. */ + public static final Endpoint GET_WORKFLOWS_PARAM_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}"); + /** Endpoint for {@code GET /workflows/{param}/{param}/summary}. */ + public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_SUMMARY = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/summary"); + /** Endpoint for {@code GET /workflows/{param}/{param}/timeline}. */ + public static final Endpoint GET_WORKFLOWS_PARAM_PARAM_TIMELINE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.GET, "/workflows/{param}/{param}/timeline"); + /** Endpoint for {@code PATCH /workflows/{param}}. */ + public static final Endpoint PATCH_WORKFLOWS_PARAM = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.PATCH, "/workflows/{param}"); + /** Endpoint for {@code POST /workflows}. */ + public static final Endpoint POST_WORKFLOWS = new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows"); + /** Endpoint for {@code POST /workflows/approvals/{param}/approve}. */ + public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_APPROVE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/approve"); + /** Endpoint for {@code POST /workflows/approvals/{param}/reject}. */ + public static final Endpoint POST_WORKFLOWS_APPROVALS_PARAM_REJECT = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/approvals/{param}/reject"); + /** Endpoint for {@code POST /workflows/batch}. */ + public static final Endpoint POST_WORKFLOWS_BATCH = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/batch"); + /** Endpoint for {@code POST /workflows/executions}. */ + public static final Endpoint POST_WORKFLOWS_EXECUTIONS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/executions"); + /** Endpoint for {@code POST /workflows/search}. */ + public static final Endpoint POST_WORKFLOWS_SEARCH = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/search"); + /** Endpoint for {@code POST /workflows/tasks/{param}/cancel}. */ + public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_CANCEL = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/cancel"); + /** Endpoint for {@code POST /workflows/tasks/{param}/retry}. */ + public static final Endpoint POST_WORKFLOWS_TASKS_PARAM_RETRY = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/tasks/{param}/retry"); + /** Endpoint for {@code POST /workflows/templates}. */ + public static final Endpoint POST_WORKFLOWS_TEMPLATES = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates"); + /** Endpoint for {@code POST /workflows/templates/{param}/instantiate}. */ + public static final Endpoint POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/templates/{param}/instantiate"); + /** Endpoint for {@code POST /workflows/{param}/archive}. */ + public static final Endpoint POST_WORKFLOWS_PARAM_ARCHIVE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/archive"); + /** Endpoint for {@code POST /workflows/{param}/publish}. */ + public static final Endpoint POST_WORKFLOWS_PARAM_PUBLISH = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/publish"); + /** Endpoint for {@code POST /workflows/{param}/restore}. */ + public static final Endpoint POST_WORKFLOWS_PARAM_RESTORE = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/restore"); + /** Endpoint for {@code POST /workflows/{param}/versions}. */ + public static final Endpoint POST_WORKFLOWS_PARAM_VERSIONS = + new Endpoint(ApiService.WORKFLOWS, HttpMethod.POST, "/workflows/{param}/versions"); + } } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsBenchmarkClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsBenchmarkClient.java index 608f9d2..6eb5645 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/EventsBenchmarkClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsBenchmarkClient.java @@ -23,7 +23,8 @@ public final class EventsBenchmarkClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/benchmark/v1") - public @Nullable T createV1(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createV1(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V1, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class EventsBenchmarkClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createV1(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createV1(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V1, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class EventsBenchmarkClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createV1(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createV1(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createV1(QueryParams.empty(), body, responseType); } /** @@ -60,7 +63,8 @@ public final class EventsBenchmarkClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createV1(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createV1(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createV1(QueryParams.empty(), body, responseType); } @@ -75,7 +79,8 @@ public final class EventsBenchmarkClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/benchmark/v2") - public @Nullable T createV2(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createV2(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V2, List.of(), query, body, responseType); } /** @@ -88,7 +93,8 @@ public final class EventsBenchmarkClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createV2(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createV2(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_BENCHMARK_V2, List.of(), query, body, responseType); } /** @@ -100,7 +106,8 @@ public final class EventsBenchmarkClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createV2(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createV2(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createV2(QueryParams.empty(), body, responseType); } /** @@ -112,8 +119,8 @@ public final class EventsBenchmarkClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createV2(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createV2(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createV2(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java index 09f0693..540089c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsClient.java @@ -62,7 +62,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS, List.of(), query, null, responseType); } /** @@ -98,7 +99,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|GET|/events/monitoring") - public @Nullable T getMonitoring(QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T getMonitoring(QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS_MONITORING, List.of(), query, null, responseType); } /** @@ -110,7 +112,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getMonitoring(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getMonitoring(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS_MONITORING, List.of(), query, null, responseType); } /** @@ -147,7 +150,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|GET|/events/{param}") - public @Nullable T get(String id, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String id, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS_PARAM, List.of(id), query, null, responseType); } /** @@ -160,7 +164,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String id, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String id, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.GET_EVENTS_PARAM, List.of(id), query, null, responseType); } /** @@ -199,7 +204,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS, List.of(), query, body, responseType); } /** @@ -212,7 +218,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS, List.of(), query, body, responseType); } /** @@ -224,7 +231,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -236,7 +244,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -251,7 +260,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/analytics") - public @Nullable T analytics(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T analytics(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_ANALYTICS, List.of(), query, body, responseType); } /** @@ -264,7 +274,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analytics(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T analytics(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_ANALYTICS, List.of(), query, body, responseType); } /** @@ -276,7 +287,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analytics(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T analytics(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return analytics(QueryParams.empty(), body, responseType); } /** @@ -288,7 +300,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analytics(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T analytics(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return analytics(QueryParams.empty(), body, responseType); } @@ -303,7 +316,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/analytics-v2") - public @Nullable T createAnalyticsV2(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createAnalyticsV2(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_ANALYTICS_V2, List.of(), query, body, responseType); } /** @@ -316,7 +330,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAnalyticsV2(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createAnalyticsV2(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_ANALYTICS_V2, List.of(), query, body, responseType); } /** @@ -328,7 +343,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAnalyticsV2(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createAnalyticsV2(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createAnalyticsV2(QueryParams.empty(), body, responseType); } /** @@ -340,7 +356,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAnalyticsV2(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createAnalyticsV2(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createAnalyticsV2(QueryParams.empty(), body, responseType); } @@ -355,7 +372,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/bulk") - public @Nullable T bulk(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T bulk(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_BULK, List.of(), query, body, responseType); } /** @@ -368,7 +386,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T bulk(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T bulk(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_BULK, List.of(), query, body, responseType); } /** @@ -380,7 +399,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T bulk(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T bulk(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return bulk(QueryParams.empty(), body, responseType); } /** @@ -392,7 +412,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T bulk(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T bulk(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return bulk(QueryParams.empty(), body, responseType); } @@ -407,7 +428,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/huggingface-billing") - public @Nullable T createHuggingfaceBilling(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createHuggingfaceBilling(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_HUGGINGFACE_BILLING, List.of(), query, body, responseType); } /** @@ -420,7 +442,9 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createHuggingfaceBilling(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createHuggingfaceBilling( + QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_HUGGINGFACE_BILLING, List.of(), query, body, responseType); } /** @@ -432,7 +456,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createHuggingfaceBilling(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createHuggingfaceBilling(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createHuggingfaceBilling(QueryParams.empty(), body, responseType); } /** @@ -444,7 +469,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createHuggingfaceBilling(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createHuggingfaceBilling(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createHuggingfaceBilling(QueryParams.empty(), body, responseType); } @@ -459,7 +485,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/query") - public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_QUERY, List.of(), query, body, responseType); } /** @@ -472,7 +499,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_QUERY, List.of(), query, body, responseType); } /** @@ -484,7 +512,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T query(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return query(QueryParams.empty(), body, responseType); } /** @@ -496,7 +525,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return query(QueryParams.empty(), body, responseType); } @@ -511,7 +541,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/reprocess") - public @Nullable T reprocess(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T reprocess(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_REPROCESS, List.of(), query, body, responseType); } /** @@ -524,7 +555,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T reprocess(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T reprocess(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_REPROCESS, List.of(), query, body, responseType); } /** @@ -536,7 +568,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T reprocess(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T reprocess(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return reprocess(QueryParams.empty(), body, responseType); } /** @@ -548,7 +581,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T reprocess(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T reprocess(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return reprocess(QueryParams.empty(), body, responseType); } @@ -563,7 +597,8 @@ public EventsUsageClient usage() { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/usage") - public @Nullable T usage(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T usage(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_USAGE, List.of(), query, body, responseType); } /** @@ -576,7 +611,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T usage(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T usage(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_USAGE, List.of(), query, body, responseType); } /** @@ -588,7 +624,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T usage(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T usage(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return usage(QueryParams.empty(), body, responseType); } /** @@ -600,8 +637,8 @@ public EventsUsageClient usage() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T usage(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T usage(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return usage(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsRawClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsRawClient.java index cecf4c7..f5ecf19 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/EventsRawClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsRawClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for events/raw. Generated by scripts/generate_endpoints.py. */ public final class EventsRawClient extends ServiceClient { EventsRawClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class EventsRawClient extends ServiceClient { public EventsRawReprocessClient reprocess() { return new EventsRawReprocessClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsRawReprocessClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsRawReprocessClient.java index 0e3698d..43bb259 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/EventsRawReprocessClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsRawReprocessClient.java @@ -23,7 +23,8 @@ public final class EventsRawReprocessClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/raw/reprocess/all") - public @Nullable T createAll(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createAll(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_ALL, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class EventsRawReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAll(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createAll(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_ALL, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class EventsRawReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAll(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createAll(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createAll(QueryParams.empty(), body, responseType); } /** @@ -60,7 +63,8 @@ public final class EventsRawReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createAll(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createAll(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createAll(QueryParams.empty(), body, responseType); } @@ -75,7 +79,8 @@ public final class EventsRawReprocessClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/raw/reprocess/pending") - public @Nullable T createPending(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createPending(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_PENDING, List.of(), query, body, responseType); } /** @@ -88,7 +93,8 @@ public final class EventsRawReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPending(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createPending(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_RAW_REPROCESS_PENDING, List.of(), query, body, responseType); } /** @@ -100,7 +106,8 @@ public final class EventsRawReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPending(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createPending(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createPending(QueryParams.empty(), body, responseType); } /** @@ -112,8 +119,8 @@ public final class EventsRawReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPending(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createPending(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createPending(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsReprocessClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsReprocessClient.java index 4d7ce22..fe1d835 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/EventsReprocessClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsReprocessClient.java @@ -23,7 +23,8 @@ public final class EventsReprocessClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/reprocess/internal") - public @Nullable T createInternal(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createInternal(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_REPROCESS_INTERNAL, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class EventsReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createInternal(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createInternal(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_REPROCESS_INTERNAL, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class EventsReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createInternal(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createInternal(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createInternal(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class EventsReprocessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createInternal(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createInternal(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createInternal(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/EventsUsageClient.java b/services/src/main/java/dev/frontal/sdk/resources/EventsUsageClient.java index 7853f2b..dfca8fc 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/EventsUsageClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/EventsUsageClient.java @@ -23,7 +23,8 @@ public final class EventsUsageClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("events|POST|/events/usage/meter") - public @Nullable T createMeter(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createMeter(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_USAGE_METER, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class EventsUsageClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createMeter(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createMeter(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Events.POST_EVENTS_USAGE_METER, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class EventsUsageClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createMeter(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createMeter(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createMeter(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class EventsUsageClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createMeter(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createMeter(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createMeter(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceAccessClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceAccessClient.java index 5e8f204..aafe217 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernanceAccessClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceAccessClient.java @@ -23,7 +23,8 @@ public final class GovernanceAccessClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|POST|/access/check") - public @Nullable T check(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T check(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_ACCESS_CHECK, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class GovernanceAccessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T check(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T check(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_ACCESS_CHECK, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class GovernanceAccessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T check(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T check(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return check(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class GovernanceAccessClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T check(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T check(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return check(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java index dd5590a..df9742f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for governance. Generated by scripts/generate_endpoints.py. */ public final class GovernanceClient extends ServiceClient { GovernanceClient(ApiClient client) { @@ -46,5 +40,4 @@ public GovernancePoliciesClient policies() { public GovernanceRolesClient roles() { return new GovernanceRolesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceAssessmentsClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceAssessmentsClient.java index ceb51f0..a02a692 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceAssessmentsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceAssessmentsClient.java @@ -34,7 +34,8 @@ public final class GovernanceComplianceAssessmentsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS, List.of(), query, null, responseType); } /** @@ -71,8 +72,14 @@ public final class GovernanceComplianceAssessmentsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|GET|/compliance/assessments/{param}") - public @Nullable T get(String assessmentId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, List.of(assessmentId), query, null, responseType); + public @Nullable T get(String assessmentId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, + List.of(assessmentId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /compliance/assessments/{param}} using a generic response type. @@ -84,8 +91,14 @@ public final class GovernanceComplianceAssessmentsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String assessmentId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, List.of(assessmentId), query, null, responseType); + public @Nullable T get(String assessmentId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.GET_COMPLIANCE_ASSESSMENTS_PARAM, + List.of(assessmentId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /compliance/assessments/{param}} without query parameters. @@ -108,7 +121,8 @@ public final class GovernanceComplianceAssessmentsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String assessmentId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String assessmentId, TypeReference responseType) + throws IOException, InterruptedException { return get(assessmentId, QueryParams.empty(), responseType); } @@ -123,7 +137,8 @@ public final class GovernanceComplianceAssessmentsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|POST|/compliance/assessments") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_COMPLIANCE_ASSESSMENTS, List.of(), query, body, responseType); } /** @@ -136,7 +151,8 @@ public final class GovernanceComplianceAssessmentsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_COMPLIANCE_ASSESSMENTS, List.of(), query, body, responseType); } /** @@ -148,7 +164,8 @@ public final class GovernanceComplianceAssessmentsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +177,8 @@ public final class GovernanceComplianceAssessmentsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceClient.java index 789cb6e..5939886 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public GovernanceComplianceViolationsClient violations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getScore(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getScore(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_COMPLIANCE_SCORE, List.of(), query, null, responseType); } /** @@ -80,5 +80,4 @@ public GovernanceComplianceViolationsClient violations() { public @Nullable T getScore(TypeReference responseType) throws IOException, InterruptedException { return getScore(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceFrameworksClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceFrameworksClient.java index 555ef58..dea66ce 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceFrameworksClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceFrameworksClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class GovernanceComplianceFrameworksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_COMPLIANCE_FRAMEWORKS, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class GovernanceComplianceFrameworksClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceViolationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceViolationsClient.java index d552379..49747bf 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceViolationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceComplianceViolationsClient.java @@ -34,7 +34,8 @@ public final class GovernanceComplianceViolationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_COMPLIANCE_VIOLATIONS, List.of(), query, null, responseType); } /** @@ -72,8 +73,15 @@ public final class GovernanceComplianceViolationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|POST|/compliance/violations/{param}/resolve") - public @Nullable T resolve(String violationId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, List.of(violationId), query, body, responseType); + public @Nullable T resolve( + String violationId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, + List.of(violationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /compliance/violations/{param}/resolve} using a generic response type. @@ -86,8 +94,15 @@ public final class GovernanceComplianceViolationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resolve(String violationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, List.of(violationId), query, body, responseType); + public @Nullable T resolve( + String violationId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Governance.POST_COMPLIANCE_VIOLATIONS_PARAM_RESOLVE, + List.of(violationId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /compliance/violations/{param}/resolve} without query parameters. @@ -99,7 +114,8 @@ public final class GovernanceComplianceViolationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resolve(String violationId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T resolve(String violationId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return resolve(violationId, QueryParams.empty(), body, responseType); } /** @@ -112,8 +128,8 @@ public final class GovernanceComplianceViolationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resolve(String violationId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T resolve(String violationId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return resolve(violationId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernancePermissionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernancePermissionsClient.java index c002f20..58e1480 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernancePermissionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernancePermissionsClient.java @@ -34,7 +34,8 @@ public final class GovernancePermissionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_PERMISSIONS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class GovernancePermissionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|GET|/permissions/{param}") - public @Nullable T get(String permissionId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String permissionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_PERMISSIONS_PARAM, List.of(permissionId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class GovernancePermissionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String permissionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String permissionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_PERMISSIONS_PARAM, List.of(permissionId), query, null, responseType); } /** @@ -108,7 +111,8 @@ public final class GovernancePermissionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String permissionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String permissionId, TypeReference responseType) + throws IOException, InterruptedException { return get(permissionId, QueryParams.empty(), responseType); } @@ -123,7 +127,8 @@ public final class GovernancePermissionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|POST|/permissions") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_PERMISSIONS, List.of(), query, body, responseType); } /** @@ -136,7 +141,8 @@ public final class GovernancePermissionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_PERMISSIONS, List.of(), query, body, responseType); } /** @@ -148,7 +154,8 @@ public final class GovernancePermissionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +167,8 @@ public final class GovernancePermissionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesClient.java index bed6f80..fee2f8e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesClient.java @@ -37,7 +37,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|DELETE|/policies/{param}") - public @Nullable T delete(String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String policyId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.DELETE_POLICIES_PARAM, List.of(policyId), query, null, responseType); } /** @@ -50,7 +51,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String policyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String policyId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.DELETE_POLICIES_PARAM, List.of(policyId), query, null, responseType); } /** @@ -74,7 +76,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String policyId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String policyId, TypeReference responseType) + throws IOException, InterruptedException { return delete(policyId, QueryParams.empty(), responseType); } @@ -100,7 +103,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_POLICIES, List.of(), query, null, responseType); } /** @@ -137,7 +141,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|GET|/policies/{param}") - public @Nullable T get(String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String policyId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_POLICIES_PARAM, List.of(policyId), query, null, responseType); } /** @@ -150,7 +155,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String policyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String policyId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_POLICIES_PARAM, List.of(policyId), query, null, responseType); } /** @@ -174,7 +180,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String policyId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String policyId, TypeReference responseType) + throws IOException, InterruptedException { return get(policyId, QueryParams.empty(), responseType); } @@ -189,7 +196,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|POST|/policies") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_POLICIES, List.of(), query, body, responseType); } /** @@ -202,7 +210,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_POLICIES, List.of(), query, body, responseType); } /** @@ -214,7 +223,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -226,7 +236,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -241,7 +252,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|POST|/policies/from-template") - public @Nullable T createFromTemplate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createFromTemplate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_POLICIES_FROM_TEMPLATE, List.of(), query, body, responseType); } /** @@ -254,7 +266,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createFromTemplate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createFromTemplate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_POLICIES_FROM_TEMPLATE, List.of(), query, body, responseType); } /** @@ -266,7 +279,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createFromTemplate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createFromTemplate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createFromTemplate(QueryParams.empty(), body, responseType); } /** @@ -278,7 +292,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createFromTemplate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createFromTemplate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createFromTemplate(QueryParams.empty(), body, responseType); } @@ -293,7 +308,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|POST|/policies/validate") - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_POLICIES_VALIDATE, List.of(), query, body, responseType); } /** @@ -306,7 +322,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_POLICIES_VALIDATE, List.of(), query, body, responseType); } /** @@ -318,7 +335,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } /** @@ -330,7 +348,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } @@ -346,7 +365,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|PUT|/policies/{param}") - public @Nullable T update(String policyId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String policyId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.PUT_POLICIES_PARAM, List.of(policyId), query, body, responseType); } /** @@ -360,7 +380,9 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update( + String policyId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.PUT_POLICIES_PARAM, List.of(policyId), query, body, responseType); } /** @@ -373,7 +395,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String policyId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String policyId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(policyId, QueryParams.empty(), body, responseType); } /** @@ -386,8 +409,8 @@ public GovernancePoliciesVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String policyId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String policyId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(policyId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesTemplatesClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesTemplatesClient.java index 09b3ecf..6fe5ac8 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesTemplatesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesTemplatesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class GovernancePoliciesTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_POLICIES_TEMPLATES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class GovernancePoliciesTemplatesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesVersionsClient.java index 4174858..c33df3a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesVersionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernancePoliciesVersionsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,7 +22,8 @@ public final class GovernancePoliciesVersionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|GET|/policies/{param}/versions") - public @Nullable T list(String policyId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T list(String policyId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_POLICIES_PARAM_VERSIONS, List.of(policyId), query, null, responseType); } /** @@ -36,7 +36,8 @@ public final class GovernancePoliciesVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String policyId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String policyId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_POLICIES_PARAM_VERSIONS, List.of(policyId), query, null, responseType); } /** @@ -60,8 +61,8 @@ public final class GovernancePoliciesVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String policyId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String policyId, TypeReference responseType) + throws IOException, InterruptedException { return list(policyId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/GovernanceRolesClient.java b/services/src/main/java/dev/frontal/sdk/resources/GovernanceRolesClient.java index 5729d41..7746ed4 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/GovernanceRolesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/GovernanceRolesClient.java @@ -23,7 +23,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|DELETE|/roles/{param}") - public @Nullable T delete(String roleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String roleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.DELETE_ROLES_PARAM, List.of(roleId), query, null, responseType); } /** @@ -36,7 +37,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String roleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String roleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.DELETE_ROLES_PARAM, List.of(roleId), query, null, responseType); } /** @@ -60,7 +62,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String roleId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String roleId, TypeReference responseType) + throws IOException, InterruptedException { return delete(roleId, QueryParams.empty(), responseType); } @@ -86,7 +89,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_ROLES, List.of(), query, null, responseType); } /** @@ -123,7 +127,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|GET|/roles/{param}") - public @Nullable T get(String roleId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String roleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_ROLES_PARAM, List.of(roleId), query, null, responseType); } /** @@ -136,7 +141,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String roleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String roleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.GET_ROLES_PARAM, List.of(roleId), query, null, responseType); } /** @@ -175,7 +181,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("governance|POST|/roles") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_ROLES, List.of(), query, body, responseType); } /** @@ -188,7 +195,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Governance.POST_ROLES, List.of(), query, body, responseType); } /** @@ -200,7 +208,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -212,8 +221,8 @@ public final class GovernanceRolesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java index 38505d7..26dc8f7 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/InvocationsClient.java @@ -23,7 +23,8 @@ public final class InvocationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("invocations|POST|/invocations") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Invocations.POST_INVOCATIONS, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class InvocationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Invocations.POST_INVOCATIONS, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class InvocationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class InvocationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java b/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java index 06fd9f2..42964c2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/LineageClient.java @@ -48,7 +48,8 @@ public LineageNodesClient nodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getGraph(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getGraph(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_GRAPH, List.of(), query, null, responseType); } /** @@ -85,7 +86,8 @@ public LineageNodesClient nodes() { * @throws InterruptedException if the operation fails */ @SdkOperation("lineage|POST|/lineage/impact") - public @Nullable T createImpact(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createImpact(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.POST_LINEAGE_IMPACT, List.of(), query, body, responseType); } /** @@ -98,7 +100,8 @@ public LineageNodesClient nodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createImpact(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createImpact(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.POST_LINEAGE_IMPACT, List.of(), query, body, responseType); } /** @@ -110,7 +113,8 @@ public LineageNodesClient nodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createImpact(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createImpact(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createImpact(QueryParams.empty(), body, responseType); } /** @@ -122,8 +126,8 @@ public LineageNodesClient nodes() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createImpact(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createImpact(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createImpact(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/LineageEdgesClient.java b/services/src/main/java/dev/frontal/sdk/resources/LineageEdgesClient.java index 297d9c1..86748c6 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/LineageEdgesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/LineageEdgesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class LineageEdgesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_EDGES, List.of(), query, null, responseType); } /** @@ -71,7 +71,8 @@ public final class LineageEdgesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("lineage|GET|/lineage/edges/{param}") - public @Nullable T get(String edgeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String edgeId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_EDGES_PARAM, List.of(edgeId), query, null, responseType); } /** @@ -84,7 +85,8 @@ public final class LineageEdgesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String edgeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String edgeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_EDGES_PARAM, List.of(edgeId), query, null, responseType); } /** @@ -111,5 +113,4 @@ public final class LineageEdgesClient extends ServiceClient { public @Nullable T get(String edgeId, TypeReference responseType) throws IOException, InterruptedException { return get(edgeId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/LineageNodesClient.java b/services/src/main/java/dev/frontal/sdk/resources/LineageNodesClient.java index 5143143..b8c1f8f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/LineageNodesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/LineageNodesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class LineageNodesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_NODES, List.of(), query, null, responseType); } /** @@ -71,7 +71,8 @@ public final class LineageNodesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("lineage|GET|/lineage/nodes/{param}") - public @Nullable T get(String nodeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String nodeId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM, List.of(nodeId), query, null, responseType); } /** @@ -84,7 +85,8 @@ public final class LineageNodesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String nodeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String nodeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM, List.of(nodeId), query, null, responseType); } /** @@ -123,7 +125,8 @@ public final class LineageNodesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("lineage|GET|/lineage/nodes/{param}/trace") - public @Nullable T getTrace(String nodeId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T getTrace(String nodeId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM_TRACE, List.of(nodeId), query, null, responseType); } /** @@ -136,7 +139,8 @@ public final class LineageNodesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getTrace(String nodeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getTrace(String nodeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Lineage.GET_LINEAGE_NODES_PARAM_TRACE, List.of(nodeId), query, null, responseType); } /** @@ -160,8 +164,8 @@ public final class LineageNodesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getTrace(String nodeId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getTrace(String nodeId, TypeReference responseType) + throws IOException, InterruptedException { return getTrace(nodeId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsClient.java index a0a89fc..153948f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsClient.java @@ -37,8 +37,10 @@ public ObservabilityAlertsRulesClient rules() { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|DELETE|/observability/alerts/{param}") - public @Nullable T delete(String alertId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, null, responseType); + public @Nullable T delete(String alertId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, null, responseType); } /** * Calls the contract route {@code DELETE /observability/alerts/{param}} using a generic response type. @@ -50,8 +52,10 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String alertId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, null, responseType); + public @Nullable T delete(String alertId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, null, responseType); } /** * Calls the contract route {@code DELETE /observability/alerts/{param}} without query parameters. @@ -74,7 +78,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String alertId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String alertId, TypeReference responseType) + throws IOException, InterruptedException { return delete(alertId, QueryParams.empty(), responseType); } @@ -100,7 +105,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS, List.of(), query, null, responseType); } /** @@ -137,7 +143,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/alerts") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS, List.of(), query, body, responseType); } /** @@ -150,7 +157,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS, List.of(), query, body, responseType); } /** @@ -162,7 +170,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -174,7 +183,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -190,8 +200,14 @@ public ObservabilityAlertsRulesClient rules() { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/alerts/{param}/disable") - public @Nullable T disable(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, List.of(alertId), query, body, responseType); + public @Nullable T disable(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, + List.of(alertId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /observability/alerts/{param}/disable} using a generic response type. @@ -204,8 +220,15 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, List.of(alertId), query, body, responseType); + public @Nullable T disable( + String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_DISABLE, + List.of(alertId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /observability/alerts/{param}/disable} without query parameters. @@ -217,7 +240,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(String alertId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T disable(String alertId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return disable(alertId, QueryParams.empty(), body, responseType); } /** @@ -230,7 +254,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T disable(String alertId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T disable(String alertId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return disable(alertId, QueryParams.empty(), body, responseType); } @@ -246,8 +271,14 @@ public ObservabilityAlertsRulesClient rules() { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/alerts/{param}/enable") - public @Nullable T enable(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, List.of(alertId), query, body, responseType); + public @Nullable T enable(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, + List.of(alertId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /observability/alerts/{param}/enable} using a generic response type. @@ -260,8 +291,15 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T enable(String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, List.of(alertId), query, body, responseType); + public @Nullable T enable( + String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_PARAM_ENABLE, + List.of(alertId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /observability/alerts/{param}/enable} without query parameters. @@ -273,7 +311,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T enable(String alertId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T enable(String alertId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return enable(alertId, QueryParams.empty(), body, responseType); } /** @@ -286,7 +325,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T enable(String alertId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T enable(String alertId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return enable(alertId, QueryParams.empty(), body, responseType); } @@ -302,8 +342,10 @@ public ObservabilityAlertsRulesClient rules() { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|PUT|/observability/alerts/{param}") - public @Nullable T update(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, body, responseType); + public @Nullable T update(String alertId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, body, responseType); } /** * Calls the contract route {@code PUT /observability/alerts/{param}} using a generic response type. @@ -316,8 +358,11 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, body, responseType); + public @Nullable T update( + String alertId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_PARAM, List.of(alertId), query, body, responseType); } /** * Calls the contract route {@code PUT /observability/alerts/{param}} without query parameters. @@ -329,7 +374,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String alertId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String alertId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(alertId, QueryParams.empty(), body, responseType); } /** @@ -342,8 +388,8 @@ public ObservabilityAlertsRulesClient rules() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String alertId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String alertId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(alertId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsIncidentsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsIncidentsClient.java index 19b5694..c83f70e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsIncidentsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsIncidentsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,7 +22,8 @@ public final class ObservabilityAlertsIncidentsClient extends ServiceClient { */ @SdkOperation("observability|GET|/observability/alerts/incidents") public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); + return request( + Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /observability/alerts/incidents} using a generic response type. @@ -34,8 +34,10 @@ public final class ObservabilityAlertsIncidentsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_ALERTS_INCIDENTS, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /observability/alerts/incidents} without query parameters. @@ -59,5 +61,4 @@ public final class ObservabilityAlertsIncidentsClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsRulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsRulesClient.java index 81e2f87..c1ec788 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsRulesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityAlertsRulesClient.java @@ -23,8 +23,14 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|DELETE|/observability/alerts/rules/{param}") - public @Nullable T delete(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T delete(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /observability/alerts/rules/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /observability/alerts/rules/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String ruleId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String ruleId, TypeReference responseType) + throws IOException, InterruptedException { return delete(ruleId, QueryParams.empty(), responseType); } @@ -86,7 +99,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES, List.of(), query, null, responseType); } /** @@ -123,8 +137,14 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|GET|/observability/alerts/rules/{param}") - public @Nullable T get(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T get(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /observability/alerts/rules/{param}} using a generic response type. @@ -136,8 +156,14 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T get(String ruleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /observability/alerts/rules/{param}} without query parameters. @@ -175,7 +201,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/alerts/rules") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES, List.of(), query, body, responseType); } /** @@ -188,7 +215,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES, List.of(), query, body, responseType); } /** @@ -200,7 +228,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -212,7 +241,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -228,8 +258,14 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/alerts/rules/{param}/toggle") - public @Nullable T toggle(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, List.of(ruleId), query, body, responseType); + public @Nullable T toggle(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, + List.of(ruleId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle} using a generic response type. @@ -242,8 +278,15 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T toggle(String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, List.of(ruleId), query, body, responseType); + public @Nullable T toggle( + String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_ALERTS_RULES_PARAM_TOGGLE, + List.of(ruleId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /observability/alerts/rules/{param}/toggle} without query parameters. @@ -255,7 +298,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T toggle(String ruleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T toggle(String ruleId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return toggle(ruleId, QueryParams.empty(), body, responseType); } /** @@ -268,7 +312,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T toggle(String ruleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T toggle(String ruleId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return toggle(ruleId, QueryParams.empty(), body, responseType); } @@ -284,8 +329,14 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|PUT|/observability/alerts/rules/{param}") - public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, body, responseType); + public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /observability/alerts/rules/{param}} using a generic response type. @@ -298,8 +349,15 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, List.of(ruleId), query, body, responseType); + public @Nullable T update( + String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_ALERTS_RULES_PARAM, + List.of(ruleId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /observability/alerts/rules/{param}} without query parameters. @@ -311,7 +369,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String ruleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String ruleId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(ruleId, QueryParams.empty(), body, responseType); } /** @@ -324,8 +383,8 @@ public final class ObservabilityAlertsRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String ruleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String ruleId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(ruleId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java index 057fa31..37908d0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for observability. Generated by scripts/generate_endpoints.py. */ public final class ObservabilityClient extends ServiceClient { ObservabilityClient(ApiClient client) { @@ -53,5 +47,4 @@ public ObservabilityMetricsClient metrics() { public ObservabilityTracesClient traces() { return new ObservabilityTracesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityDashboardsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityDashboardsClient.java index c6db9bf..f1b0a93 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityDashboardsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityDashboardsClient.java @@ -23,8 +23,14 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|DELETE|/observability/dashboards/{param}") - public @Nullable T delete(String dashboardId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, null, responseType); + public @Nullable T delete(String dashboardId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(dashboardId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /observability/dashboards/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String dashboardId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, null, responseType); + public @Nullable T delete(String dashboardId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.DELETE_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(dashboardId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /observability/dashboards/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String dashboardId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String dashboardId, TypeReference responseType) + throws IOException, InterruptedException { return delete(dashboardId, QueryParams.empty(), responseType); } @@ -86,7 +99,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS, List.of(), query, null, responseType); } /** @@ -123,8 +137,14 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|GET|/observability/dashboards/{param}") - public @Nullable T get(String dashboardId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, null, responseType); + public @Nullable T get(String dashboardId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(dashboardId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /observability/dashboards/{param}} using a generic response type. @@ -136,8 +156,14 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String dashboardId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, null, responseType); + public @Nullable T get(String dashboardId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(dashboardId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /observability/dashboards/{param}} without query parameters. @@ -160,7 +186,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String dashboardId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String dashboardId, TypeReference responseType) + throws IOException, InterruptedException { return get(dashboardId, QueryParams.empty(), responseType); } @@ -175,7 +202,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/dashboards") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS, List.of(), query, body, responseType); } /** @@ -188,7 +216,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS, List.of(), query, body, responseType); } /** @@ -200,7 +229,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -212,7 +242,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -228,8 +259,14 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/dashboards/{param}/share") - public @Nullable T share(String dashboardId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, List.of(dashboardId), query, body, responseType); + public @Nullable T share(String dashboardId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, + List.of(dashboardId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /observability/dashboards/{param}/share} using a generic response type. @@ -242,8 +279,15 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T share(String dashboardId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, List.of(dashboardId), query, body, responseType); + public @Nullable T share( + String dashboardId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.POST_OBSERVABILITY_DASHBOARDS_PARAM_SHARE, + List.of(dashboardId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /observability/dashboards/{param}/share} without query parameters. @@ -255,7 +299,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T share(String dashboardId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T share(String dashboardId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return share(dashboardId, QueryParams.empty(), body, responseType); } /** @@ -268,7 +313,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T share(String dashboardId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T share(String dashboardId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return share(dashboardId, QueryParams.empty(), body, responseType); } @@ -284,8 +330,14 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|PUT|/observability/dashboards/{param}") - public @Nullable T update(String dashboardId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, body, responseType); + public @Nullable T update(String dashboardId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(dashboardId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /observability/dashboards/{param}} using a generic response type. @@ -298,8 +350,15 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String dashboardId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, List.of(dashboardId), query, body, responseType); + public @Nullable T update( + String dashboardId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.PUT_OBSERVABILITY_DASHBOARDS_PARAM, + List.of(dashboardId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /observability/dashboards/{param}} without query parameters. @@ -311,7 +370,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String dashboardId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String dashboardId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(dashboardId, QueryParams.empty(), body, responseType); } /** @@ -324,8 +384,8 @@ public final class ObservabilityDashboardsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String dashboardId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String dashboardId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(dashboardId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsClient.java index 278871a..10e2f23 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsClient.java @@ -30,7 +30,8 @@ public ObservabilityEventsStatsClient stats() { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/events") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS, List.of(), query, body, responseType); } /** @@ -43,7 +44,8 @@ public ObservabilityEventsStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS, List.of(), query, body, responseType); } /** @@ -55,7 +57,8 @@ public ObservabilityEventsStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -67,7 +70,8 @@ public ObservabilityEventsStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -82,7 +86,8 @@ public ObservabilityEventsStatsClient stats() { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/events/batch") - public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS_BATCH, List.of(), query, body, responseType); } /** @@ -95,7 +100,8 @@ public ObservabilityEventsStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_EVENTS_BATCH, List.of(), query, body, responseType); } /** @@ -107,7 +113,8 @@ public ObservabilityEventsStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T batch(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return batch(QueryParams.empty(), body, responseType); } /** @@ -119,8 +126,8 @@ public ObservabilityEventsStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return batch(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsStatsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsStatsClient.java index a6b7ae7..8624741 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsStatsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityEventsStatsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class ObservabilityEventsStatsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.GET_OBSERVABILITY_EVENTS_STATS, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class ObservabilityEventsStatsClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityLogsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityLogsClient.java index c88ab93..7905292 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityLogsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityLogsClient.java @@ -4,8 +4,8 @@ import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; -import org.jspecify.annotations.Nullable; import java.util.concurrent.Flow; +import org.jspecify.annotations.Nullable; /** Contract operations for observability/logs. Generated by scripts/generate_endpoints.py. */ public final class ObservabilityLogsClient extends ServiceClient { @@ -24,7 +24,8 @@ public final class ObservabilityLogsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/logs/ingest") - public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_INGEST, List.of(), query, body, responseType); } /** @@ -37,7 +38,8 @@ public final class ObservabilityLogsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_INGEST, List.of(), query, body, responseType); } /** @@ -49,7 +51,8 @@ public final class ObservabilityLogsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T ingest(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return ingest(QueryParams.empty(), body, responseType); } /** @@ -61,7 +64,8 @@ public final class ObservabilityLogsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return ingest(QueryParams.empty(), body, responseType); } @@ -76,7 +80,8 @@ public final class ObservabilityLogsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/logs/query") - public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_QUERY, List.of(), query, body, responseType); } /** @@ -89,7 +94,8 @@ public final class ObservabilityLogsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_LOGS_QUERY, List.of(), query, body, responseType); } /** @@ -101,7 +107,8 @@ public final class ObservabilityLogsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T query(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return query(QueryParams.empty(), body, responseType); } /** @@ -113,7 +120,8 @@ public final class ObservabilityLogsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return query(QueryParams.empty(), body, responseType); } @@ -152,5 +160,4 @@ public Flow.Publisher stream() { public SseEventIterator streamBlocking() throws IOException, InterruptedException { return streamBlocking(QueryParams.empty()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityMetricsClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityMetricsClient.java index 3120fbc..dc9d377 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityMetricsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityMetricsClient.java @@ -34,7 +34,8 @@ public final class ObservabilityMetricsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS, List.of(), query, null, responseType); } /** @@ -82,7 +83,8 @@ public final class ObservabilityMetricsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getList(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getList(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.GET_OBSERVABILITY_METRICS_LIST, List.of(), query, null, responseType); } /** @@ -119,7 +121,8 @@ public final class ObservabilityMetricsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/metrics/ingest") - public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_METRICS_INGEST, List.of(), query, body, responseType); } /** @@ -132,7 +135,8 @@ public final class ObservabilityMetricsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T ingest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_METRICS_INGEST, List.of(), query, body, responseType); } /** @@ -144,7 +148,8 @@ public final class ObservabilityMetricsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T ingest(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return ingest(QueryParams.empty(), body, responseType); } /** @@ -156,8 +161,8 @@ public final class ObservabilityMetricsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T ingest(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return ingest(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityTracesClient.java b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityTracesClient.java index e5f1844..823d2b7 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ObservabilityTracesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ObservabilityTracesClient.java @@ -34,7 +34,8 @@ public final class ObservabilityTracesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class ObservabilityTracesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|GET|/observability/traces/{param}") - public @Nullable T get(String traceId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(traceId), query, null, responseType); + public @Nullable T get(String traceId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(traceId), query, null, responseType); } /** * Calls the contract route {@code GET /observability/traces/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class ObservabilityTracesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String traceId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(traceId), query, null, responseType); + public @Nullable T get(String traceId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Observability.GET_OBSERVABILITY_TRACES_PARAM, List.of(traceId), query, null, responseType); } /** * Calls the contract route {@code GET /observability/traces/{param}} without query parameters. @@ -123,7 +128,8 @@ public final class ObservabilityTracesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("observability|POST|/observability/traces/query") - public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_TRACES_QUERY, List.of(), query, body, responseType); } /** @@ -136,7 +142,8 @@ public final class ObservabilityTracesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Observability.POST_OBSERVABILITY_TRACES_QUERY, List.of(), query, body, responseType); } /** @@ -148,7 +155,8 @@ public final class ObservabilityTracesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T query(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return query(QueryParams.empty(), body, responseType); } /** @@ -160,8 +168,8 @@ public final class ObservabilityTracesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return query(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java index 656028b..aa6c70f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for ontology. Generated by scripts/generate_endpoints.py. */ public final class OntologyClient extends ServiceClient { OntologyClient(ApiClient client) { @@ -102,5 +96,4 @@ public OntologyValidationClient validation() { public OntologyVersionsClient versions() { return new OntologyVersionsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineCapabilitiesClient.java index cdab54d..b7f647e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyEngineCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyEngineCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineClient.java index bd646dd..48df359 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public OntologyEngineRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public OntologyEngineRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public OntologyEngineRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesClient.java index b6d871e..cfdc299 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesClient.java @@ -44,7 +44,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/engine/ontologies/export") - public @Nullable T export(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T export(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT, List.of(), query, body, responseType); } /** @@ -57,7 +58,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T export(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T export(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT, List.of(), query, body, responseType); } /** @@ -69,7 +71,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T export(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T export(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return export(QueryParams.empty(), body, responseType); } /** @@ -81,7 +84,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T export(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T export(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return export(QueryParams.empty(), body, responseType); } @@ -96,8 +100,10 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/engine/ontologies/export-shacl") - public @Nullable T createExportShacl(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); + public @Nullable T createExportShacl(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl} using a generic response type. @@ -109,8 +115,10 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createExportShacl(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); + public @Nullable T createExportShacl(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_EXPORT_SHACL, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/export-shacl} without query parameters. @@ -121,7 +129,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createExportShacl(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createExportShacl(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createExportShacl(QueryParams.empty(), body, responseType); } /** @@ -133,7 +142,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createExportShacl(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createExportShacl(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createExportShacl(QueryParams.empty(), body, responseType); } @@ -148,8 +158,10 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/engine/ontologies/generate") - public @Nullable T generate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); + public @Nullable T generate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/generate} using a generic response type. @@ -161,8 +173,10 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T generate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); + public @Nullable T generate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_GENERATE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/generate} without query parameters. @@ -173,7 +187,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T generate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T generate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return generate(QueryParams.empty(), body, responseType); } /** @@ -185,7 +200,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T generate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T generate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return generate(QueryParams.empty(), body, responseType); } @@ -200,8 +216,10 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/engine/ontologies/validate") - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/validate} using a generic response type. @@ -213,8 +231,10 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_VALIDATE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/validate} without query parameters. @@ -225,7 +245,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } /** @@ -237,8 +258,8 @@ public OntologyEngineOntologiesInferPropertiesClient inferProperties() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesCompareVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesCompareVersionsClient.java index cd3b317..7337636 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesCompareVersionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesCompareVersionsClient.java @@ -23,8 +23,14 @@ public final class OntologyEngineOntologiesCompareVersionsClient extends Service * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/engine/ontologies/compare-versions") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, + List.of(), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyEngineOntologiesCompareVersionsClient extends Service * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_COMPARE_VERSIONS, + List.of(), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/compare-versions} without query parameters. @@ -48,7 +60,8 @@ public final class OntologyEngineOntologiesCompareVersionsClient extends Service * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +73,8 @@ public final class OntologyEngineOntologiesCompareVersionsClient extends Service * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferClassesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferClassesClient.java index 5cd1117..1f8f0ce 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferClassesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferClassesClient.java @@ -23,8 +23,10 @@ public final class OntologyEngineOntologiesInferClassesClient extends ServiceCli * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/engine/ontologies/infer-classes") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyEngineOntologiesInferClassesClient extends ServiceCli * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_CLASSES, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/infer-classes} without query parameters. @@ -48,7 +52,8 @@ public final class OntologyEngineOntologiesInferClassesClient extends ServiceCli * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +65,8 @@ public final class OntologyEngineOntologiesInferClassesClient extends ServiceCli * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferPropertiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferPropertiesClient.java index cc30680..25e9694 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferPropertiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineOntologiesInferPropertiesClient.java @@ -23,8 +23,14 @@ public final class OntologyEngineOntologiesInferPropertiesClient extends Service * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/engine/ontologies/infer-properties") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, + List.of(), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyEngineOntologiesInferPropertiesClient extends Service * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ENGINE_ONTOLOGIES_INFER_PROPERTIES, + List.of(), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/engine/ontologies/infer-properties} without query parameters. @@ -48,7 +60,8 @@ public final class OntologyEngineOntologiesInferPropertiesClient extends Service * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +73,8 @@ public final class OntologyEngineOntologiesInferPropertiesClient extends Service * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineRunsClient.java index d3e69ac..f03e870 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEngineRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyEngineRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyEngineRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/engine/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyEngineRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ENGINE_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyEngineRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/engine/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyEngineRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ENGINE_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyEngineRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyEngineRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsCapabilitiesClient.java index 804f15b..02a53a2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyEventsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyEventsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsClient.java index 75b165f..d47a4db 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public OntologyEventsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public OntologyEventsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public OntologyEventsRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsCheckpointsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsCheckpointsClient.java index 8e369e1..58f13a8 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsCheckpointsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsCheckpointsClient.java @@ -23,8 +23,14 @@ public final class OntologyEventsEventsCheckpointsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/events/events/checkpoints/{param}") - public @Nullable T get(String consumer, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, List.of(consumer), query, null, responseType); + public @Nullable T get(String consumer, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, + List.of(consumer), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyEventsEventsCheckpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String consumer, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, List.of(consumer), query, null, responseType); + public @Nullable T get(String consumer, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS_PARAM, + List.of(consumer), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/events/events/checkpoints/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class OntologyEventsEventsCheckpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String consumer, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String consumer, TypeReference responseType) + throws IOException, InterruptedException { return get(consumer, QueryParams.empty(), responseType); } @@ -75,8 +88,10 @@ public final class OntologyEventsEventsCheckpointsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/events/events/checkpoints") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/events/events/checkpoints} using a generic response type. @@ -88,8 +103,10 @@ public final class OntologyEventsEventsCheckpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_CHECKPOINTS, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/events/events/checkpoints} without query parameters. @@ -100,7 +117,8 @@ public final class OntologyEventsEventsCheckpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -112,8 +130,8 @@ public final class OntologyEventsEventsCheckpointsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsClient.java index 24eb2d4..1f397ef 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsClient.java @@ -48,7 +48,8 @@ public OntologyEventsEventsLeasesClient leases() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS, List.of(), query, null, responseType); } /** @@ -85,8 +86,10 @@ public OntologyEventsEventsLeasesClient leases() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/events/events/{param}") - public @Nullable T get(String eventId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); + public @Nullable T get(String eventId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/events/events/{param}} using a generic response type. @@ -98,8 +101,10 @@ public OntologyEventsEventsLeasesClient leases() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String eventId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); + public @Nullable T get(String eventId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_EVENTS_EVENTS_PARAM, List.of(eventId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/events/events/{param}} without query parameters. @@ -137,7 +142,8 @@ public OntologyEventsEventsLeasesClient leases() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/events/events") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS, List.of(), query, body, responseType); } /** @@ -150,7 +156,8 @@ public OntologyEventsEventsLeasesClient leases() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS, List.of(), query, body, responseType); } /** @@ -162,7 +169,8 @@ public OntologyEventsEventsLeasesClient leases() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -174,8 +182,8 @@ public OntologyEventsEventsLeasesClient leases() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsLeasesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsLeasesClient.java index e15324b..6e0e6cf 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsLeasesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsEventsLeasesClient.java @@ -23,8 +23,14 @@ public final class OntologyEventsEventsLeasesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/events/events/leases/acknowledge") - public @Nullable T acknowledge(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, List.of(), query, body, responseType); + public @Nullable T acknowledge(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, + List.of(), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyEventsEventsLeasesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T acknowledge(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, List.of(), query, body, responseType); + public @Nullable T acknowledge(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACKNOWLEDGE, + List.of(), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/events/events/leases/acknowledge} without query parameters. @@ -48,7 +60,8 @@ public final class OntologyEventsEventsLeasesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T acknowledge(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T acknowledge(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return acknowledge(QueryParams.empty(), body, responseType); } /** @@ -60,7 +73,8 @@ public final class OntologyEventsEventsLeasesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T acknowledge(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T acknowledge(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return acknowledge(QueryParams.empty(), body, responseType); } @@ -75,8 +89,10 @@ public final class OntologyEventsEventsLeasesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/events/events/leases/acquire") - public @Nullable T acquire(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); + public @Nullable T acquire(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/events/events/leases/acquire} using a generic response type. @@ -88,8 +104,10 @@ public final class OntologyEventsEventsLeasesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T acquire(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); + public @Nullable T acquire(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EVENTS_EVENTS_LEASES_ACQUIRE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/events/events/leases/acquire} without query parameters. @@ -100,7 +118,8 @@ public final class OntologyEventsEventsLeasesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T acquire(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T acquire(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return acquire(QueryParams.empty(), body, responseType); } /** @@ -112,8 +131,8 @@ public final class OntologyEventsEventsLeasesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T acquire(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T acquire(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return acquire(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsRunsClient.java index 6cb813c..544e9fe 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyEventsRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyEventsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyEventsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/events/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyEventsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EVENTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyEventsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/events/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyEventsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EVENTS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyEventsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyEventsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractCapabilitiesClient.java index 624e2ad..1449d90 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyExtractCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyExtractCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractClient.java index 96c63b1..0970501 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public OntologyExtractRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public OntologyExtractRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public OntologyExtractRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractClient.java index 09eeea4..af22e61 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractClient.java @@ -58,7 +58,8 @@ public OntologyExtractExtractTripletsClient triplets() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/extract/extract/analyze") - public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE, List.of(), query, body, responseType); } /** @@ -71,7 +72,8 @@ public OntologyExtractExtractTripletsClient triplets() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ANALYZE, List.of(), query, body, responseType); } /** @@ -83,7 +85,8 @@ public OntologyExtractExtractTripletsClient triplets() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analyze(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T analyze(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return analyze(QueryParams.empty(), body, responseType); } /** @@ -95,7 +98,8 @@ public OntologyExtractExtractTripletsClient triplets() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analyze(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T analyze(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return analyze(QueryParams.empty(), body, responseType); } @@ -110,8 +114,10 @@ public OntologyExtractExtractTripletsClient triplets() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/extract/extract/architecture") - public @Nullable T createArchitecture(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); + public @Nullable T createArchitecture(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/extract/extract/architecture} using a generic response type. @@ -123,8 +129,10 @@ public OntologyExtractExtractTripletsClient triplets() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createArchitecture(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); + public @Nullable T createArchitecture(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ARCHITECTURE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/extract/extract/architecture} without query parameters. @@ -135,7 +143,8 @@ public OntologyExtractExtractTripletsClient triplets() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createArchitecture(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createArchitecture(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createArchitecture(QueryParams.empty(), body, responseType); } /** @@ -147,8 +156,8 @@ public OntologyExtractExtractTripletsClient triplets() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createArchitecture(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createArchitecture(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createArchitecture(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractCoreferencesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractCoreferencesClient.java index e95875a..aec97ce 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractCoreferencesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractCoreferencesClient.java @@ -23,8 +23,10 @@ public final class OntologyExtractExtractCoreferencesClient extends ServiceClien * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/extract/extract/coreferences") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/extract/extract/coreferences} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyExtractExtractCoreferencesClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_COREFERENCES, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/extract/extract/coreferences} without query parameters. @@ -48,7 +52,8 @@ public final class OntologyExtractExtractCoreferencesClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +65,8 @@ public final class OntologyExtractExtractCoreferencesClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEntitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEntitiesClient.java index 853fe92..b2a31bf 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEntitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEntitiesClient.java @@ -23,7 +23,8 @@ public final class OntologyExtractExtractEntitiesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/extract/extract/entities") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class OntologyExtractExtractEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_ENTITIES, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class OntologyExtractExtractEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class OntologyExtractExtractEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEventsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEventsClient.java index 13dbb90..6160f7d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEventsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractEventsClient.java @@ -23,7 +23,8 @@ public final class OntologyExtractExtractEventsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/extract/extract/events") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class OntologyExtractExtractEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_EVENTS, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class OntologyExtractExtractEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class OntologyExtractExtractEventsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractRelationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractRelationsClient.java index fecfee8..578bbfb 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractRelationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractRelationsClient.java @@ -23,8 +23,10 @@ public final class OntologyExtractExtractRelationsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/extract/extract/relations") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/extract/extract/relations} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyExtractExtractRelationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_RELATIONS, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/extract/extract/relations} without query parameters. @@ -48,7 +52,8 @@ public final class OntologyExtractExtractRelationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +65,8 @@ public final class OntologyExtractExtractRelationsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractTripletsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractTripletsClient.java index 8a86963..b7355ac 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractTripletsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractExtractTripletsClient.java @@ -23,7 +23,8 @@ public final class OntologyExtractExtractTripletsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/extract/extract/triplets") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class OntologyExtractExtractTripletsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_EXTRACT_TRIPLETS, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class OntologyExtractExtractTripletsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class OntologyExtractExtractTripletsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractRunsClient.java index f9c2cea..a51ad15 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyExtractRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyExtractRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyExtractRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/extract/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyExtractRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_EXTRACT_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyExtractRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/extract/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyExtractRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_EXTRACT_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyExtractRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyExtractRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphCapabilitiesClient.java index 3edd36a..65c3146 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyGraphCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyGraphCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphClient.java index a72d6d4..cefb6d0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -69,7 +68,8 @@ public OntologyGraphRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_HEALTH, List.of(), query, null, responseType); } /** @@ -117,7 +117,8 @@ public OntologyGraphRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_INFO, List.of(), query, null, responseType); } /** @@ -142,5 +143,4 @@ public OntologyGraphRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphEntitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphEntitiesClient.java index b457853..61f66b3 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphEntitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphEntitiesClient.java @@ -23,8 +23,10 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/graph/entities/{param}") - public @Nullable T get(String entityId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); + public @Nullable T get(String entityId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/graph/entities/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String entityId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); + public @Nullable T get(String entityId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/graph/entities/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String entityId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String entityId, TypeReference responseType) + throws IOException, InterruptedException { return get(entityId, QueryParams.empty(), responseType); } @@ -75,8 +80,14 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/graph/entities/{param}/provenance") - public @Nullable T getProvenance(String entityId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, List.of(entityId), query, null, responseType); + public @Nullable T getProvenance(String entityId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, + List.of(entityId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance} using a generic response type. @@ -88,8 +99,14 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getProvenance(String entityId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, List.of(entityId), query, null, responseType); + public @Nullable T getProvenance(String entityId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_ENTITIES_PARAM_PROVENANCE, + List.of(entityId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/graph/entities/{param}/provenance} without query parameters. @@ -100,7 +117,8 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getProvenance(String entityId, Class responseType) throws IOException, InterruptedException { + public @Nullable T getProvenance(String entityId, Class responseType) + throws IOException, InterruptedException { return getProvenance(entityId, QueryParams.empty(), responseType); } /** @@ -112,7 +130,8 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getProvenance(String entityId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getProvenance(String entityId, TypeReference responseType) + throws IOException, InterruptedException { return getProvenance(entityId, QueryParams.empty(), responseType); } @@ -128,8 +147,10 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|PUT|/ontology/graph/entities/{param}") - public @Nullable T update(String entityId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); + public @Nullable T update(String entityId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/graph/entities/{param}} using a generic response type. @@ -142,8 +163,11 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String entityId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); + public @Nullable T update( + String entityId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_ENTITIES_PARAM, List.of(entityId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/graph/entities/{param}} without query parameters. @@ -155,7 +179,8 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String entityId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String entityId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(entityId, QueryParams.empty(), body, responseType); } /** @@ -168,8 +193,8 @@ public final class OntologyGraphEntitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String entityId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String entityId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(entityId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphGraphClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphGraphClient.java index e18786d..5a0ca4e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphGraphClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphGraphClient.java @@ -23,7 +23,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/graph/graph/analyze") - public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T analyze(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_ANALYZE, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analyze(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T analyze(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return analyze(QueryParams.empty(), body, responseType); } /** @@ -60,7 +63,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T analyze(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T analyze(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return analyze(QueryParams.empty(), body, responseType); } @@ -75,7 +79,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/graph/graph/build") - public @Nullable T createBuild(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createBuild(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BUILD, List.of(), query, body, responseType); } /** @@ -88,7 +93,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBuild(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createBuild(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BUILD, List.of(), query, body, responseType); } /** @@ -100,7 +106,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBuild(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createBuild(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createBuild(QueryParams.empty(), body, responseType); } /** @@ -112,7 +119,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBuild(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createBuild(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createBuild(QueryParams.empty(), body, responseType); } @@ -127,7 +135,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/graph/graph/bulk-read") - public @Nullable T createBulkRead(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createBulkRead(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ, List.of(), query, body, responseType); } /** @@ -140,7 +149,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBulkRead(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createBulkRead(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_BULK_READ, List.of(), query, body, responseType); } /** @@ -152,7 +162,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBulkRead(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createBulkRead(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createBulkRead(QueryParams.empty(), body, responseType); } /** @@ -164,7 +175,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBulkRead(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createBulkRead(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createBulkRead(QueryParams.empty(), body, responseType); } @@ -179,7 +191,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/graph/graph/neighborhood") - public @Nullable T createNeighborhood(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createNeighborhood(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD, List.of(), query, body, responseType); } /** @@ -192,7 +205,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createNeighborhood(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createNeighborhood(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_NEIGHBORHOOD, List.of(), query, body, responseType); } /** @@ -204,7 +218,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createNeighborhood(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createNeighborhood(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createNeighborhood(QueryParams.empty(), body, responseType); } /** @@ -216,7 +231,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createNeighborhood(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createNeighborhood(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createNeighborhood(QueryParams.empty(), body, responseType); } @@ -231,7 +247,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/graph/graph/path") - public @Nullable T createPath(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createPath(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_PATH, List.of(), query, body, responseType); } /** @@ -244,7 +261,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPath(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createPath(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_PATH, List.of(), query, body, responseType); } /** @@ -256,7 +274,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPath(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createPath(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createPath(QueryParams.empty(), body, responseType); } /** @@ -268,7 +287,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createPath(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createPath(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createPath(QueryParams.empty(), body, responseType); } @@ -283,7 +303,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/graph/graph/query") - public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T query(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_QUERY, List.of(), query, body, responseType); } /** @@ -296,7 +317,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T query(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_GRAPH_QUERY, List.of(), query, body, responseType); } /** @@ -308,7 +330,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T query(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return query(QueryParams.empty(), body, responseType); } /** @@ -320,8 +343,8 @@ public final class OntologyGraphGraphClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T query(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return query(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRelationshipsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRelationshipsClient.java index f29d243..10a5676 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRelationshipsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRelationshipsClient.java @@ -23,8 +23,14 @@ public final class OntologyGraphRelationshipsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/graph/relationships/{param}") - public @Nullable T get(String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + public @Nullable T get(String relationshipId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/graph/relationships/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyGraphRelationshipsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String relationshipId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + public @Nullable T get(String relationshipId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/graph/relationships/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class OntologyGraphRelationshipsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String relationshipId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String relationshipId, TypeReference responseType) + throws IOException, InterruptedException { return get(relationshipId, QueryParams.empty(), responseType); } @@ -76,8 +89,15 @@ public final class OntologyGraphRelationshipsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|PUT|/ontology/graph/relationships/{param}") - public @Nullable T update(String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, List.of(relationshipId), query, body, responseType); + public @Nullable T update( + String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /ontology/graph/relationships/{param}} using a generic response type. @@ -90,8 +110,15 @@ public final class OntologyGraphRelationshipsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, List.of(relationshipId), query, body, responseType); + public @Nullable T update( + String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_GRAPH_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /ontology/graph/relationships/{param}} without query parameters. @@ -103,7 +130,8 @@ public final class OntologyGraphRelationshipsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String relationshipId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String relationshipId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(relationshipId, QueryParams.empty(), body, responseType); } /** @@ -116,8 +144,8 @@ public final class OntologyGraphRelationshipsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String relationshipId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String relationshipId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(relationshipId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRunsClient.java index 6c148d2..07eab79 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyGraphRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyGraphRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyGraphRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/graph/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyGraphRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_GRAPH_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyGraphRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/graph/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyGraphRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_GRAPH_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyGraphRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyGraphRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsCapabilitiesClient.java index 738eeff..b16d764 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyObjectsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyObjectsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsClient.java index b248d5a..67dcdb2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -62,7 +61,8 @@ public OntologyObjectsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_HEALTH, List.of(), query, null, responseType); } /** @@ -110,7 +110,8 @@ public OntologyObjectsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_INFO, List.of(), query, null, responseType); } /** @@ -135,5 +136,4 @@ public OntologyObjectsRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectTypesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectTypesClient.java index 516d267..56f555c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectTypesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectTypesClient.java @@ -23,8 +23,14 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/objects/object-types/{param}") - public @Nullable T delete(String objectTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, null, responseType); + public @Nullable T delete(String objectTypeId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String objectTypeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, null, responseType); + public @Nullable T delete(String objectTypeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/objects/object-types/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String objectTypeId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String objectTypeId, TypeReference responseType) + throws IOException, InterruptedException { return delete(objectTypeId, QueryParams.empty(), responseType); } @@ -86,7 +99,8 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES, List.of(), query, null, responseType); } /** @@ -123,8 +137,14 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/objects/object-types/{param}") - public @Nullable T get(String objectTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, null, responseType); + public @Nullable T get(String objectTypeId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/objects/object-types/{param}} using a generic response type. @@ -136,8 +156,14 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String objectTypeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, null, responseType); + public @Nullable T get(String objectTypeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/objects/object-types/{param}} without query parameters. @@ -160,7 +186,8 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String objectTypeId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String objectTypeId, TypeReference responseType) + throws IOException, InterruptedException { return get(objectTypeId, QueryParams.empty(), responseType); } @@ -176,8 +203,15 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|PUT|/ontology/objects/object-types/{param}") - public @Nullable T update(String objectTypeId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, body, responseType); + public @Nullable T update( + String objectTypeId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /ontology/objects/object-types/{param}} using a generic response type. @@ -190,8 +224,15 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String objectTypeId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, List.of(objectTypeId), query, body, responseType); + public @Nullable T update( + String objectTypeId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECT_TYPES_PARAM, + List.of(objectTypeId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /ontology/objects/object-types/{param}} without query parameters. @@ -203,7 +244,8 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String objectTypeId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String objectTypeId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(objectTypeId, QueryParams.empty(), body, responseType); } /** @@ -216,8 +258,8 @@ public final class OntologyObjectsObjectTypesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String objectTypeId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String objectTypeId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(objectTypeId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectsClient.java index cce3e70..df307af 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsObjectsClient.java @@ -23,8 +23,10 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/objects/objects/{param}") - public @Nullable T delete(String objectId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + public @Nullable T delete(String objectId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/objects/objects/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String objectId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + public @Nullable T delete(String objectId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/objects/objects/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String objectId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String objectId, TypeReference responseType) + throws IOException, InterruptedException { return delete(objectId, QueryParams.empty(), responseType); } @@ -86,7 +91,8 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS, List.of(), query, null, responseType); } /** @@ -123,8 +129,10 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/objects/objects/{param}") - public @Nullable T get(String objectId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + public @Nullable T get(String objectId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/objects/objects/{param}} using a generic response type. @@ -136,8 +144,10 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String objectId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); + public @Nullable T get(String objectId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/objects/objects/{param}} without query parameters. @@ -160,7 +170,8 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String objectId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String objectId, TypeReference responseType) + throws IOException, InterruptedException { return get(objectId, QueryParams.empty(), responseType); } @@ -176,8 +187,10 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|PUT|/ontology/objects/objects/{param}") - public @Nullable T update(String objectId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); + public @Nullable T update(String objectId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/objects/objects/{param}} using a generic response type. @@ -190,8 +203,11 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String objectId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); + public @Nullable T update( + String objectId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_OBJECTS_OBJECTS_PARAM, List.of(objectId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/objects/objects/{param}} without query parameters. @@ -203,7 +219,8 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String objectId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String objectId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(objectId, QueryParams.empty(), body, responseType); } /** @@ -216,8 +233,8 @@ public final class OntologyObjectsObjectsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String objectId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String objectId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(objectId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsRunsClient.java index 38ea56b..94e4f5a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyObjectsRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyObjectsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyObjectsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/objects/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyObjectsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_OBJECTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyObjectsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/objects/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_OBJECTS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyObjectsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_OBJECTS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyObjectsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyObjectsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningCapabilitiesClient.java index a6a0e18..d17c1c2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyReasoningCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyReasoningCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningClient.java index 13ffa21..a999742 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningClient.java @@ -69,7 +69,8 @@ public OntologyReasoningRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_HEALTH, List.of(), query, null, responseType); } /** @@ -117,7 +118,8 @@ public OntologyReasoningRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_INFO, List.of(), query, null, responseType); } /** @@ -154,7 +156,8 @@ public OntologyReasoningRunsClient runs() { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/reasoning/explain") - public @Nullable T createExplain(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createExplain(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_EXPLAIN, List.of(), query, body, responseType); } /** @@ -167,7 +170,8 @@ public OntologyReasoningRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createExplain(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createExplain(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_EXPLAIN, List.of(), query, body, responseType); } /** @@ -179,7 +183,8 @@ public OntologyReasoningRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createExplain(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createExplain(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createExplain(QueryParams.empty(), body, responseType); } /** @@ -191,8 +196,8 @@ public OntologyReasoningRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createExplain(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createExplain(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createExplain(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningFactsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningFactsClient.java index 4e37dc8..47950a6 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningFactsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningFactsClient.java @@ -23,7 +23,8 @@ public final class OntologyReasoningFactsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/reasoning/facts") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class OntologyReasoningFactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class OntologyReasoningFactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,7 +63,8 @@ public final class OntologyReasoningFactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -75,8 +79,10 @@ public final class OntologyReasoningFactsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/reasoning/facts/load-graph") - public @Nullable T createLoadGraph(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); + public @Nullable T createLoadGraph(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph} using a generic response type. @@ -88,8 +94,10 @@ public final class OntologyReasoningFactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createLoadGraph(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); + public @Nullable T createLoadGraph(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_REASONING_FACTS_LOAD_GRAPH, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/reasoning/facts/load-graph} without query parameters. @@ -100,7 +108,8 @@ public final class OntologyReasoningFactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createLoadGraph(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createLoadGraph(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createLoadGraph(QueryParams.empty(), body, responseType); } /** @@ -112,8 +121,8 @@ public final class OntologyReasoningFactsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createLoadGraph(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createLoadGraph(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createLoadGraph(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningReasonClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningReasonClient.java index 92a80ef..25ce8bf 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningReasonClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningReasonClient.java @@ -23,8 +23,10 @@ public final class OntologyReasoningReasonClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/reasoning/reason/backward") - public @Nullable T createBackward(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); + public @Nullable T createBackward(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/reasoning/reason/backward} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyReasoningReasonClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBackward(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); + public @Nullable T createBackward(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_BACKWARD, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/reasoning/reason/backward} without query parameters. @@ -48,7 +52,8 @@ public final class OntologyReasoningReasonClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBackward(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createBackward(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createBackward(QueryParams.empty(), body, responseType); } /** @@ -60,7 +65,8 @@ public final class OntologyReasoningReasonClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createBackward(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createBackward(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createBackward(QueryParams.empty(), body, responseType); } @@ -75,7 +81,8 @@ public final class OntologyReasoningReasonClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/reasoning/reason/forward") - public @Nullable T createForward(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createForward(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_FORWARD, List.of(), query, body, responseType); } /** @@ -88,7 +95,8 @@ public final class OntologyReasoningReasonClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createForward(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createForward(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_REASON_FORWARD, List.of(), query, body, responseType); } /** @@ -100,7 +108,8 @@ public final class OntologyReasoningReasonClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createForward(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createForward(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createForward(QueryParams.empty(), body, responseType); } /** @@ -112,8 +121,8 @@ public final class OntologyReasoningReasonClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createForward(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createForward(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createForward(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRulesClient.java index 6967609..dd316f6 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRulesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRulesClient.java @@ -23,8 +23,10 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/reasoning/rules/{param}") - public @Nullable T delete(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T delete(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/reasoning/rules/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String ruleId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String ruleId, TypeReference responseType) + throws IOException, InterruptedException { return delete(ruleId, QueryParams.empty(), responseType); } @@ -86,7 +91,8 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RULES, List.of(), query, null, responseType); } /** @@ -123,7 +129,8 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/reasoning/rules") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RULES, List.of(), query, body, responseType); } /** @@ -136,7 +143,8 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RULES, List.of(), query, body, responseType); } /** @@ -148,7 +156,8 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,7 +169,8 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -176,8 +186,10 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|PUT|/ontology/reasoning/rules/{param}") - public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); + public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}} using a generic response type. @@ -190,8 +202,11 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); + public @Nullable T update( + String ruleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_REASONING_RULES_PARAM, List.of(ruleId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/reasoning/rules/{param}} without query parameters. @@ -203,7 +218,8 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String ruleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String ruleId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(ruleId, QueryParams.empty(), body, responseType); } /** @@ -216,8 +232,8 @@ public final class OntologyReasoningRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String ruleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String ruleId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(ruleId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRunsClient.java index c16f29f..dd9aa16 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyReasoningRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyReasoningRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyReasoningRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/reasoning/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyReasoningRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_REASONING_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyReasoningRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/reasoning/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyReasoningRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_REASONING_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyReasoningRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyReasoningRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsCapabilitiesClient.java index 16104b0..e1043c4 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,7 +22,8 @@ public final class OntologyRelationshipsCapabilitiesClient extends ServiceClient */ @SdkOperation("ontology|GET|/ontology/relationships/capabilities") public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/relationships/capabilities} using a generic response type. @@ -34,8 +34,10 @@ public final class OntologyRelationshipsCapabilitiesClient extends ServiceClient * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_CAPABILITIES, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/relationships/capabilities} without query parameters. @@ -59,5 +61,4 @@ public final class OntologyRelationshipsCapabilitiesClient extends ServiceClient public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsClient.java index c452185..a9c1d7f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -62,7 +61,8 @@ public OntologyRelationshipsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_HEALTH, List.of(), query, null, responseType); } /** @@ -110,7 +110,8 @@ public OntologyRelationshipsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_INFO, List.of(), query, null, responseType); } /** @@ -135,5 +136,4 @@ public OntologyRelationshipsRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipTypesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipTypesClient.java index 6a9f0a9..a0e7a22 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipTypesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipTypesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class OntologyRelationshipsRelationshipTypesClient extends ServiceC * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/relationships/relationship-types/{param}") - public @Nullable T delete(String relationshipTypeId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, List.of(relationshipTypeId), query, null, responseType); + public @Nullable T delete(String relationshipTypeId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, + List.of(relationshipTypeId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}} using a generic response type. @@ -36,8 +41,14 @@ public final class OntologyRelationshipsRelationshipTypesClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String relationshipTypeId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, List.of(relationshipTypeId), query, null, responseType); + public @Nullable T delete(String relationshipTypeId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES_PARAM, + List.of(relationshipTypeId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/relationships/relationship-types/{param}} without query parameters. @@ -48,7 +59,8 @@ public final class OntologyRelationshipsRelationshipTypesClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String relationshipTypeId, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String relationshipTypeId, Class responseType) + throws IOException, InterruptedException { return delete(relationshipTypeId, QueryParams.empty(), responseType); } /** @@ -60,7 +72,8 @@ public final class OntologyRelationshipsRelationshipTypesClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String relationshipTypeId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String relationshipTypeId, TypeReference responseType) + throws IOException, InterruptedException { return delete(relationshipTypeId, QueryParams.empty(), responseType); } @@ -75,7 +88,8 @@ public final class OntologyRelationshipsRelationshipTypesClient extends ServiceC */ @SdkOperation("ontology|GET|/ontology/relationships/relationship-types") public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/relationships/relationship-types} using a generic response type. @@ -86,8 +100,10 @@ public final class OntologyRelationshipsRelationshipTypesClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIP_TYPES, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/relationships/relationship-types} without query parameters. @@ -111,5 +127,4 @@ public final class OntologyRelationshipsRelationshipTypesClient extends ServiceC public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipsClient.java index 74a50ae..6e92ba3 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRelationshipsClient.java @@ -23,8 +23,14 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/relationships/relationships/{param}") - public @Nullable T delete(String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + public @Nullable T delete(String relationshipId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String relationshipId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + public @Nullable T delete(String relationshipId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/relationships/relationships/{param}} without query parameters. @@ -48,7 +60,8 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String relationshipId, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String relationshipId, Class responseType) + throws IOException, InterruptedException { return delete(relationshipId, QueryParams.empty(), responseType); } /** @@ -60,7 +73,8 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String relationshipId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String relationshipId, TypeReference responseType) + throws IOException, InterruptedException { return delete(relationshipId, QueryParams.empty(), responseType); } @@ -75,7 +89,8 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien */ @SdkOperation("ontology|GET|/ontology/relationships/relationships") public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/relationships/relationships} using a generic response type. @@ -86,8 +101,10 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/relationships/relationships} without query parameters. @@ -123,8 +140,14 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/relationships/relationships/{param}") - public @Nullable T get(String relationshipId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + public @Nullable T get(String relationshipId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/relationships/relationships/{param}} using a generic response type. @@ -136,8 +159,14 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String relationshipId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, null, responseType); + public @Nullable T get(String relationshipId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/relationships/relationships/{param}} without query parameters. @@ -160,7 +189,8 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String relationshipId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String relationshipId, TypeReference responseType) + throws IOException, InterruptedException { return get(relationshipId, QueryParams.empty(), responseType); } @@ -176,8 +206,15 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|PUT|/ontology/relationships/relationships/{param}") - public @Nullable T update(String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, body, responseType); + public @Nullable T update( + String relationshipId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}} using a generic response type. @@ -190,8 +227,15 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, List.of(relationshipId), query, body, responseType); + public @Nullable T update( + String relationshipId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_RELATIONSHIPS_RELATIONSHIPS_PARAM, + List.of(relationshipId), + query, + body, + responseType); } /** * Calls the contract route {@code PUT /ontology/relationships/relationships/{param}} without query parameters. @@ -203,7 +247,8 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String relationshipId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String relationshipId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(relationshipId, QueryParams.empty(), body, responseType); } /** @@ -216,8 +261,8 @@ public final class OntologyRelationshipsRelationshipsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String relationshipId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String relationshipId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(relationshipId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRunsClient.java index 845ba30..f02803f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRelationshipsRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyRelationshipsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class OntologyRelationshipsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/relationships/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/relationships/runs/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class OntologyRelationshipsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_RELATIONSHIPS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/relationships/runs/{param}} without query parameters. @@ -123,7 +128,8 @@ public final class OntologyRelationshipsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/relationships/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +142,8 @@ public final class OntologyRelationshipsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_RELATIONSHIPS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +155,8 @@ public final class OntologyRelationshipsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +168,8 @@ public final class OntologyRelationshipsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsCapabilitiesClient.java index 7777b42..bbee0dd 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyRolloutsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyRolloutsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsClient.java index 9661172..0f48466 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public OntologyRolloutsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public OntologyRolloutsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public OntologyRolloutsRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRolloutsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRolloutsClient.java index 9c35102..398d337 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRolloutsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRolloutsClient.java @@ -23,8 +23,14 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/rollouts/rollouts/{param}") - public @Nullable T delete(String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + public @Nullable T delete(String rolloutId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, + List.of(rolloutId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String rolloutId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + public @Nullable T delete(String rolloutId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, + List.of(rolloutId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/rollouts/rollouts/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String rolloutId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String rolloutId, TypeReference responseType) + throws IOException, InterruptedException { return delete(rolloutId, QueryParams.empty(), responseType); } @@ -86,7 +99,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, null, responseType); } /** @@ -123,8 +137,10 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/rollouts/rollouts/{param}") - public @Nullable T get(String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + public @Nullable T get(String rolloutId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}} using a generic response type. @@ -136,8 +152,10 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String rolloutId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); + public @Nullable T get(String rolloutId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}} without query parameters. @@ -160,7 +178,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String rolloutId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String rolloutId, TypeReference responseType) + throws IOException, InterruptedException { return get(rolloutId, QueryParams.empty(), responseType); } @@ -175,8 +194,14 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/rollouts/rollouts/{param}/status") - public @Nullable T status(String rolloutId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, List.of(rolloutId), query, null, responseType); + public @Nullable T status(String rolloutId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, + List.of(rolloutId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status} using a generic response type. @@ -188,8 +213,14 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T status(String rolloutId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, List.of(rolloutId), query, null, responseType); + public @Nullable T status(String rolloutId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_STATUS, + List.of(rolloutId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/rollouts/rollouts/{param}/status} without query parameters. @@ -212,7 +243,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T status(String rolloutId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T status(String rolloutId, TypeReference responseType) + throws IOException, InterruptedException { return status(rolloutId, QueryParams.empty(), responseType); } @@ -227,7 +259,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollouts/rollouts") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, body, responseType); } /** @@ -240,7 +273,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS, List.of(), query, body, responseType); } /** @@ -252,7 +286,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -264,7 +299,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -280,8 +316,14 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/pause") - public @Nullable T pause(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, List.of(rolloutId), query, body, responseType); + public @Nullable T pause(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, + List.of(rolloutId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause} using a generic response type. @@ -294,8 +336,15 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, List.of(rolloutId), query, body, responseType); + public @Nullable T pause( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_PAUSE, + List.of(rolloutId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/pause} without query parameters. @@ -307,7 +356,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T pause(String rolloutId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return pause(rolloutId, QueryParams.empty(), body, responseType); } /** @@ -320,7 +370,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T pause(String rolloutId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return pause(rolloutId, QueryParams.empty(), body, responseType); } @@ -336,8 +387,14 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/resume") - public @Nullable T resume(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, List.of(rolloutId), query, body, responseType); + public @Nullable T resume(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, + List.of(rolloutId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume} using a generic response type. @@ -350,8 +407,15 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, List.of(rolloutId), query, body, responseType); + public @Nullable T resume( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_RESUME, + List.of(rolloutId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/resume} without query parameters. @@ -363,7 +427,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T resume(String rolloutId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return resume(rolloutId, QueryParams.empty(), body, responseType); } /** @@ -376,7 +441,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T resume(String rolloutId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return resume(rolloutId, QueryParams.empty(), body, responseType); } @@ -392,8 +458,14 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/rollback") - public @Nullable T rollback(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, List.of(rolloutId), query, body, responseType); + public @Nullable T rollback(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, + List.of(rolloutId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback} using a generic response type. @@ -406,8 +478,15 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rollback(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, List.of(rolloutId), query, body, responseType); + public @Nullable T rollback( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_ROLLBACK, + List.of(rolloutId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/rollback} without query parameters. @@ -419,7 +498,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rollback(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T rollback(String rolloutId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return rollback(rolloutId, QueryParams.empty(), body, responseType); } /** @@ -432,7 +512,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rollback(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T rollback(String rolloutId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return rollback(rolloutId, QueryParams.empty(), body, responseType); } @@ -448,8 +529,15 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollouts/rollouts/{param}/start") - public @Nullable T createStart(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, List.of(rolloutId), query, body, responseType); + public @Nullable T createStart( + String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, + List.of(rolloutId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start} using a generic response type. @@ -462,8 +550,15 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createStart(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, List.of(rolloutId), query, body, responseType); + public @Nullable T createStart( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM_START, + List.of(rolloutId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollouts/rollouts/{param}/start} without query parameters. @@ -475,7 +570,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createStart(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createStart(String rolloutId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createStart(rolloutId, QueryParams.empty(), body, responseType); } /** @@ -488,7 +584,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createStart(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createStart(String rolloutId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createStart(rolloutId, QueryParams.empty(), body, responseType); } @@ -504,8 +601,10 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|PUT|/ontology/rollouts/rollouts/{param}") - public @Nullable T update(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); + public @Nullable T update(String rolloutId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}} using a generic response type. @@ -518,8 +617,11 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); + public @Nullable T update( + String rolloutId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_ROLLOUTS_ROLLOUTS_PARAM, List.of(rolloutId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/rollouts/rollouts/{param}} without query parameters. @@ -531,7 +633,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String rolloutId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String rolloutId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(rolloutId, QueryParams.empty(), body, responseType); } /** @@ -544,8 +647,8 @@ public final class OntologyRolloutsRolloutsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String rolloutId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String rolloutId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(rolloutId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRunsClient.java index 993ff35..8f71bfc 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRolloutsRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyRolloutsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyRolloutsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/rollouts/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyRolloutsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLOUTS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyRolloutsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollouts/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyRolloutsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLOUTS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyRolloutsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyRolloutsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsCapabilitiesClient.java index 994d9b0..7b4eb02 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyRollupsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyRollupsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsClient.java index 5e17a94..f5b6b2e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -62,7 +61,8 @@ public OntologyRollupsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_HEALTH, List.of(), query, null, responseType); } /** @@ -110,7 +110,8 @@ public OntologyRollupsRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_INFO, List.of(), query, null, responseType); } /** @@ -135,5 +136,4 @@ public OntologyRollupsRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupResultsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupResultsClient.java index b707603..f45d0cc 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupResultsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupResultsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class OntologyRollupsRollupResultsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/rollups/rollup-results/{param}") - public @Nullable T get(String executionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, List.of(executionId), query, null, responseType); + public @Nullable T get(String executionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, + List.of(executionId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}} using a generic response type. @@ -36,8 +41,14 @@ public final class OntologyRollupsRollupResultsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String executionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, List.of(executionId), query, null, responseType); + public @Nullable T get(String executionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUP_RESULTS_PARAM, + List.of(executionId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/rollups/rollup-results/{param}} without query parameters. @@ -60,8 +71,8 @@ public final class OntologyRollupsRollupResultsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String executionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String executionId, TypeReference responseType) + throws IOException, InterruptedException { return get(executionId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupsClient.java index 75a8b7a..372053d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRollupsClient.java @@ -23,8 +23,10 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/rollups/rollups/{param}") - public @Nullable T delete(String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + public @Nullable T delete(String rollupId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String rollupId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + public @Nullable T delete(String rollupId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/rollups/rollups/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String rollupId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String rollupId, TypeReference responseType) + throws IOException, InterruptedException { return delete(rollupId, QueryParams.empty(), responseType); } @@ -86,7 +91,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, null, responseType); } /** @@ -123,8 +129,10 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/rollups/rollups/{param}") - public @Nullable T get(String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + public @Nullable T get(String rollupId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/rollups/rollups/{param}} using a generic response type. @@ -136,8 +144,10 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String rollupId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); + public @Nullable T get(String rollupId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/rollups/rollups/{param}} without query parameters. @@ -160,7 +170,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String rollupId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String rollupId, TypeReference responseType) + throws IOException, InterruptedException { return get(rollupId, QueryParams.empty(), responseType); } @@ -175,8 +186,14 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/rollups/rollups/{param}/result") - public @Nullable T getResult(String rollupId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, List.of(rollupId), query, null, responseType); + public @Nullable T getResult(String rollupId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, + List.of(rollupId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result} using a generic response type. @@ -188,8 +205,14 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getResult(String rollupId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, List.of(rollupId), query, null, responseType); + public @Nullable T getResult(String rollupId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_RESULT, + List.of(rollupId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/rollups/rollups/{param}/result} without query parameters. @@ -212,7 +235,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getResult(String rollupId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getResult(String rollupId, TypeReference responseType) + throws IOException, InterruptedException { return getResult(rollupId, QueryParams.empty(), responseType); } @@ -227,7 +251,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollups/rollups") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, body, responseType); } /** @@ -240,7 +265,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS, List.of(), query, body, responseType); } /** @@ -252,7 +278,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -264,7 +291,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -280,8 +308,14 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollups/rollups/{param}/execute") - public @Nullable T execute(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, List.of(rollupId), query, body, responseType); + public @Nullable T execute(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, + List.of(rollupId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute} using a generic response type. @@ -294,8 +328,15 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T execute(String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, List.of(rollupId), query, body, responseType); + public @Nullable T execute( + String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_EXECUTE, + List.of(rollupId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/execute} without query parameters. @@ -307,7 +348,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T execute(String rollupId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T execute(String rollupId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return execute(rollupId, QueryParams.empty(), body, responseType); } /** @@ -320,7 +362,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T execute(String rollupId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T execute(String rollupId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return execute(rollupId, QueryParams.empty(), body, responseType); } @@ -336,8 +379,14 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollups/rollups/{param}/preview") - public @Nullable T preview(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, List.of(rollupId), query, body, responseType); + public @Nullable T preview(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, + List.of(rollupId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview} using a generic response type. @@ -350,8 +399,15 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T preview(String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, List.of(rollupId), query, body, responseType); + public @Nullable T preview( + String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM_PREVIEW, + List.of(rollupId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /ontology/rollups/rollups/{param}/preview} without query parameters. @@ -363,7 +419,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T preview(String rollupId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T preview(String rollupId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return preview(rollupId, QueryParams.empty(), body, responseType); } /** @@ -376,7 +433,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T preview(String rollupId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T preview(String rollupId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return preview(rollupId, QueryParams.empty(), body, responseType); } @@ -392,8 +450,10 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|PUT|/ontology/rollups/rollups/{param}") - public @Nullable T update(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); + public @Nullable T update(String rollupId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}} using a generic response type. @@ -406,8 +466,11 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); + public @Nullable T update( + String rollupId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.PUT_ONTOLOGY_ROLLUPS_ROLLUPS_PARAM, List.of(rollupId), query, body, responseType); } /** * Calls the contract route {@code PUT /ontology/rollups/rollups/{param}} without query parameters. @@ -419,7 +482,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String rollupId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String rollupId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(rollupId, QueryParams.empty(), body, responseType); } /** @@ -432,8 +496,8 @@ public final class OntologyRollupsRollupsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String rollupId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String rollupId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(rollupId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRunsClient.java index 9b5e381..a2146a3 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyRollupsRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyRollupsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyRollupsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/rollups/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyRollupsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_ROLLUPS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyRollupsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/rollups/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyRollupsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_ROLLUPS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyRollupsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyRollupsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasCapabilitiesClient.java index a695e8b..311ad77 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologySchemasCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologySchemasCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasClient.java index ea969dc..43627d4 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public OntologySchemasSchemasClient schemas() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public OntologySchemasSchemasClient schemas() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public OntologySchemasSchemasClient schemas() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasRunsClient.java index b852a0c..09d170a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasRunsClient.java @@ -34,7 +34,8 @@ public final class OntologySchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologySchemasRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/schemas/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologySchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologySchemasRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/schemas/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologySchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologySchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologySchemasRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasSchemasClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasSchemasClient.java index 75c0ad4..4ab53e0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasSchemasClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologySchemasSchemasClient.java @@ -23,8 +23,10 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/schemas/schemas/{param}") - public @Nullable T delete(String schemaId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + public @Nullable T delete(String schemaId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String schemaId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + public @Nullable T delete(String schemaId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/schemas/schemas/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String schemaId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String schemaId, TypeReference responseType) + throws IOException, InterruptedException { return delete(schemaId, QueryParams.empty(), responseType); } @@ -86,7 +91,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, null, responseType); } /** @@ -123,8 +129,10 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/schemas/schemas/{param}") - public @Nullable T get(String schemaId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + public @Nullable T get(String schemaId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/schemas/schemas/{param}} using a generic response type. @@ -136,8 +144,10 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String schemaId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); + public @Nullable T get(String schemaId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_SCHEMAS_SCHEMAS_PARAM, List.of(schemaId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/schemas/schemas/{param}} without query parameters. @@ -160,7 +170,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String schemaId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String schemaId, TypeReference responseType) + throws IOException, InterruptedException { return get(schemaId, QueryParams.empty(), responseType); } @@ -175,7 +186,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/schemas/schemas") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); } /** @@ -188,7 +200,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS, List.of(), query, body, responseType); } /** @@ -200,7 +213,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -212,7 +226,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -227,7 +242,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/schemas/schemas/validate") - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE, List.of(), query, body, responseType); } /** @@ -240,7 +256,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_SCHEMAS_SCHEMAS_VALIDATE, List.of(), query, body, responseType); } /** @@ -252,7 +269,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } /** @@ -264,8 +282,8 @@ public final class OntologySchemasSchemasClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsCapabilitiesClient.java index dc4cf29..f74e3c7 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,7 +22,8 @@ public final class OntologyTransformationsCapabilitiesClient extends ServiceClie */ @SdkOperation("ontology|GET|/ontology/transformations/capabilities") public @Nullable T list(QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + return request( + Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/transformations/capabilities} using a generic response type. @@ -34,8 +34,10 @@ public final class OntologyTransformationsCapabilitiesClient extends ServiceClie * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_CAPABILITIES, List.of(), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/transformations/capabilities} without query parameters. @@ -59,5 +61,4 @@ public final class OntologyTransformationsCapabilitiesClient extends ServiceClie public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsClient.java index 6596f40..41419cd 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -55,7 +54,8 @@ public OntologyTransformationsTransformationsClient transformations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_HEALTH, List.of(), query, null, responseType); } /** @@ -103,7 +103,8 @@ public OntologyTransformationsTransformationsClient transformations() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_INFO, List.of(), query, null, responseType); } /** @@ -128,5 +129,4 @@ public OntologyTransformationsTransformationsClient transformations() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsRunsClient.java index e979a4b..db7bace 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class OntologyTransformationsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/transformations/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/transformations/runs/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class OntologyTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_TRANSFORMATIONS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/transformations/runs/{param}} without query parameters. @@ -123,7 +128,8 @@ public final class OntologyTransformationsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/transformations/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +142,8 @@ public final class OntologyTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +155,8 @@ public final class OntologyTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +168,8 @@ public final class OntologyTransformationsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsTransformationsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsTransformationsClient.java index dbb4136..d22fe9f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsTransformationsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyTransformationsTransformationsClient.java @@ -23,8 +23,10 @@ public final class OntologyTransformationsTransformationsClient extends ServiceC * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/transformations/transformations") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/transformations/transformations} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyTransformationsTransformationsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_TRANSFORMATIONS_TRANSFORMATIONS, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/transformations/transformations} without query parameters. @@ -48,7 +52,8 @@ public final class OntologyTransformationsTransformationsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -60,8 +65,8 @@ public final class OntologyTransformationsTransformationsClient extends ServiceC * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationCapabilitiesClient.java index eaea536..a3c8c32 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyValidationCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyValidationCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationClient.java index 2541629..9ad211e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -62,7 +61,8 @@ public OntologyValidationRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_HEALTH, List.of(), query, null, responseType); } /** @@ -110,7 +110,8 @@ public OntologyValidationRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_INFO, List.of(), query, null, responseType); } /** @@ -135,5 +136,4 @@ public OntologyValidationRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationPayloadsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationPayloadsClient.java index f951595..50cece9 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationPayloadsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationPayloadsClient.java @@ -23,8 +23,10 @@ public final class OntologyValidationPayloadsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/validation/payloads/validate") - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/validation/payloads/validate} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyValidationPayloadsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_PAYLOADS_VALIDATE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/validation/payloads/validate} without query parameters. @@ -48,7 +52,8 @@ public final class OntologyValidationPayloadsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } /** @@ -60,8 +65,8 @@ public final class OntologyValidationPayloadsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRulesClient.java index fce465d..5a0c2aa 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRulesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRulesClient.java @@ -23,8 +23,10 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/validation/rules/{param}") - public @Nullable T delete(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T delete(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/validation/rules/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T delete(String ruleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); } /** * Calls the contract route {@code DELETE /ontology/validation/rules/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String ruleId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String ruleId, TypeReference responseType) + throws IOException, InterruptedException { return delete(ruleId, QueryParams.empty(), responseType); } @@ -86,7 +91,8 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES, List.of(), query, null, responseType); } /** @@ -123,8 +129,10 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/validation/rules/{param}") - public @Nullable T get(String ruleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T get(String ruleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/validation/rules/{param}} using a generic response type. @@ -136,8 +144,10 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String ruleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); + public @Nullable T get(String ruleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RULES_PARAM, List.of(ruleId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/validation/rules/{param}} without query parameters. @@ -175,7 +185,8 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/validation/rules") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RULES, List.of(), query, body, responseType); } /** @@ -188,7 +199,8 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RULES, List.of(), query, body, responseType); } /** @@ -200,7 +212,8 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -212,8 +225,8 @@ public final class OntologyValidationRulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRunsClient.java index 577d13c..1337b87 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyValidationRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyValidationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class OntologyValidationRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/validation/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/validation/runs/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class OntologyValidationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VALIDATION_RUNS_PARAM, List.of(runId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/validation/runs/{param}} without query parameters. @@ -123,7 +128,8 @@ public final class OntologyValidationRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/validation/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +142,8 @@ public final class OntologyValidationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VALIDATION_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +155,8 @@ public final class OntologyValidationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +168,8 @@ public final class OntologyValidationRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsAuditClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsAuditClient.java index dd3d007..3849e90 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsAuditClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsAuditClient.java @@ -23,7 +23,8 @@ public final class OntologyVersionsAuditClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/versions/audit/verify") - public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class OntologyVersionsAuditClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_AUDIT_VERIFY, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class OntologyVersionsAuditClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T verify(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return verify(QueryParams.empty(), body, responseType); } /** @@ -60,8 +63,8 @@ public final class OntologyVersionsAuditClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T verify(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return verify(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsCapabilitiesClient.java index a4d2a01..9dd11fc 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class OntologyVersionsCapabilitiesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class OntologyVersionsCapabilitiesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsClient.java index 6c7148b..6871b89 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -69,7 +68,8 @@ public OntologyVersionsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_HEALTH, List.of(), query, null, responseType); } /** @@ -117,7 +117,8 @@ public OntologyVersionsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_INFO, List.of(), query, null, responseType); } /** @@ -142,5 +143,4 @@ public OntologyVersionsVersionsClient versions() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsReleaseBundlesClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsReleaseBundlesClient.java index d649aa3..d9656bf 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsReleaseBundlesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsReleaseBundlesClient.java @@ -34,7 +34,8 @@ public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, null, responseType); } /** @@ -71,8 +72,14 @@ public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/versions/release-bundles/{param}") - public @Nullable T get(String bundleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, List.of(bundleId), query, null, responseType); + public @Nullable T get(String bundleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, + List.of(bundleId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}} using a generic response type. @@ -84,8 +91,14 @@ public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String bundleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, List.of(bundleId), query, null, responseType); + public @Nullable T get(String bundleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RELEASE_BUNDLES_PARAM, + List.of(bundleId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /ontology/versions/release-bundles/{param}} without query parameters. @@ -108,7 +121,8 @@ public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String bundleId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String bundleId, TypeReference responseType) + throws IOException, InterruptedException { return get(bundleId, QueryParams.empty(), responseType); } @@ -123,7 +137,8 @@ public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/versions/release-bundles") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, body, responseType); } /** @@ -136,7 +151,8 @@ public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RELEASE_BUNDLES, List.of(), query, body, responseType); } /** @@ -148,7 +164,8 @@ public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +177,8 @@ public final class OntologyVersionsReleaseBundlesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsRunsClient.java index 91d3401..b50bdf4 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsRunsClient.java @@ -34,7 +34,8 @@ public final class OntologyVersionsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class OntologyVersionsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/versions/runs/{param}") - public @Nullable T get(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -84,7 +86,8 @@ public final class OntologyVersionsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_RUNS_PARAM, List.of(runId), query, null, responseType); } /** @@ -123,7 +126,8 @@ public final class OntologyVersionsRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/versions/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RUNS, List.of(), query, body, responseType); } /** @@ -136,7 +140,8 @@ public final class OntologyVersionsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_RUNS, List.of(), query, body, responseType); } /** @@ -148,7 +153,8 @@ public final class OntologyVersionsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +166,8 @@ public final class OntologyVersionsRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsVersionsClient.java index 416df7a..078ecf0 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsVersionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/OntologyVersionsVersionsClient.java @@ -23,8 +23,14 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|DELETE|/ontology/versions/versions/{param}") - public @Nullable T delete(String versionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + public @Nullable T delete(String versionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, + List.of(versionId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/versions/versions/{param}} using a generic response type. @@ -36,8 +42,14 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String versionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + public @Nullable T delete(String versionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.DELETE_ONTOLOGY_VERSIONS_VERSIONS_PARAM, + List.of(versionId), + query, + null, + responseType); } /** * Calls the contract route {@code DELETE /ontology/versions/versions/{param}} without query parameters. @@ -60,7 +72,8 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String versionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String versionId, TypeReference responseType) + throws IOException, InterruptedException { return delete(versionId, QueryParams.empty(), responseType); } @@ -75,8 +88,10 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|GET|/ontology/versions/versions/{param}") - public @Nullable T get(String versionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + public @Nullable T get(String versionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/versions/versions/{param}} using a generic response type. @@ -88,8 +103,10 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String versionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); + public @Nullable T get(String versionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.GET_ONTOLOGY_VERSIONS_VERSIONS_PARAM, List.of(versionId), query, null, responseType); } /** * Calls the contract route {@code GET /ontology/versions/versions/{param}} without query parameters. @@ -112,7 +129,8 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String versionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String versionId, TypeReference responseType) + throws IOException, InterruptedException { return get(versionId, QueryParams.empty(), responseType); } @@ -127,7 +145,8 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/versions/versions") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS, List.of(), query, body, responseType); } /** @@ -140,7 +159,8 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS, List.of(), query, body, responseType); } /** @@ -152,7 +172,8 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -164,7 +185,8 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -179,8 +201,10 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("ontology|POST|/ontology/versions/versions/compare") - public @Nullable T compare(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); + public @Nullable T compare(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/versions/versions/compare} using a generic response type. @@ -192,8 +216,10 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T compare(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); + public @Nullable T compare(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Ontology.POST_ONTOLOGY_VERSIONS_VERSIONS_COMPARE, List.of(), query, body, responseType); } /** * Calls the contract route {@code POST /ontology/versions/versions/compare} without query parameters. @@ -204,7 +230,8 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T compare(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T compare(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return compare(QueryParams.empty(), body, responseType); } /** @@ -216,8 +243,8 @@ public final class OntologyVersionsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T compare(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T compare(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return compare(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java index 87a3c20..c582197 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for pipelines. Generated by scripts/generate_endpoints.py. */ public final class PipelinesClient extends ServiceClient { PipelinesClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class PipelinesClient extends ServiceClient { public PipelinesDataClient data() { return new PipelinesDataClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataClient.java index 852cf86..ac8895b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for pipelines/data. Generated by scripts/generate_endpoints.py. */ public final class PipelinesDataClient extends ServiceClient { PipelinesDataClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class PipelinesDataClient extends ServiceClient { public PipelinesDataPipelinesClient pipelines() { return new PipelinesDataPipelinesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesCapabilitiesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesCapabilitiesClient.java index 0ec9abe..b19b777 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesCapabilitiesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesCapabilitiesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class PipelinesDataPipelinesCapabilitiesClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.GET_DATA_PIPELINES_CAPABILITIES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class PipelinesDataPipelinesCapabilitiesClient extends ServiceClien public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesClient.java index b55e60e..5b2a326 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -62,7 +61,8 @@ public PipelinesDataPipelinesRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T health(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T health(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.GET_DATA_PIPELINES_HEALTH, List.of(), query, null, responseType); } /** @@ -110,7 +110,8 @@ public PipelinesDataPipelinesRunsClient runs() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T getInfo(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T getInfo(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.GET_DATA_PIPELINES_INFO, List.of(), query, null, responseType); } /** @@ -135,5 +136,4 @@ public PipelinesDataPipelinesRunsClient runs() { public @Nullable T getInfo(TypeReference responseType) throws IOException, InterruptedException { return getInfo(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelineRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelineRunsClient.java index d87e248..b5634ed 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelineRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelineRunsClient.java @@ -1,11 +1,10 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; -import org.jspecify.annotations.Nullable; import java.util.concurrent.Flow; +import org.jspecify.annotations.Nullable; /** Contract operations for pipelines/data/pipelines/pipeline-runs. Generated by scripts/generate_endpoints.py. */ public final class PipelinesDataPipelinesPipelineRunsClient extends ServiceClient { @@ -35,7 +34,8 @@ public final class PipelinesDataPipelinesPipelineRunsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS, List.of(), query, null, responseType); } /** @@ -72,8 +72,14 @@ public final class PipelinesDataPipelinesPipelineRunsClient extends ServiceClien * @throws InterruptedException if the operation fails */ @SdkOperation("pipelines|GET|/data/pipelines/pipeline-runs/{param}") - public @Nullable T get(String pipelineRunId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query, null, responseType); + public @Nullable T get(String pipelineRunId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, + List.of(pipelineRunId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} using a generic response type. @@ -85,8 +91,14 @@ public final class PipelinesDataPipelinesPipelineRunsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String pipelineRunId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query, null, responseType); + public @Nullable T get(String pipelineRunId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINE_RUNS_PARAM, + List.of(pipelineRunId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /data/pipelines/pipeline-runs/{param}} without query parameters. @@ -109,7 +121,8 @@ public final class PipelinesDataPipelinesPipelineRunsClient extends ServiceClien * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String pipelineRunId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String pipelineRunId, TypeReference responseType) + throws IOException, InterruptedException { return get(pipelineRunId, QueryParams.empty(), responseType); } @@ -121,7 +134,8 @@ public final class PipelinesDataPipelinesPipelineRunsClient extends ServiceClien */ @SdkOperation("pipelines|STREAM|/data/pipelines/pipeline-runs/{param}") public Flow.Publisher get2(String pipelineRunId, QueryParams query) { - return streamPublisher(Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query); + return streamPublisher( + Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query); } /** * Opens a blocking event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}}. @@ -131,8 +145,10 @@ public Flow.Publisher get2(String pipelineRunId, QueryParams query) { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public SseEventIterator get2Blocking(String pipelineRunId, QueryParams query) throws IOException, InterruptedException { - return streamEvents(Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query); + public SseEventIterator get2Blocking(String pipelineRunId, QueryParams query) + throws IOException, InterruptedException { + return streamEvents( + Endpoints.Pipelines.STREAM_DATA_PIPELINES_PIPELINE_RUNS_PARAM, List.of(pipelineRunId), query); } /** * Opens the event stream for {@code STREAM /data/pipelines/pipeline-runs/{param}} with no query parameters. @@ -152,5 +168,4 @@ public Flow.Publisher get2(String pipelineRunId) { public SseEventIterator get2Blocking(String pipelineRunId) throws IOException, InterruptedException { return get2Blocking(pipelineRunId, QueryParams.empty()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelinesClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelinesClient.java index a8905af..1854040 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelinesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesPipelinesClient.java @@ -34,7 +34,8 @@ public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("pipelines|GET|/data/pipelines/pipelines/{param}") - public @Nullable T get(String pipelineId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pipelineId), query, null, responseType); + public @Nullable T get(String pipelineId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pipelineId), query, null, responseType); } /** * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String pipelineId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pipelineId), query, null, responseType); + public @Nullable T get(String pipelineId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Pipelines.GET_DATA_PIPELINES_PIPELINES_PARAM, List.of(pipelineId), query, null, responseType); } /** * Calls the contract route {@code GET /data/pipelines/pipelines/{param}} without query parameters. @@ -108,7 +113,8 @@ public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String pipelineId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String pipelineId, TypeReference responseType) + throws IOException, InterruptedException { return get(pipelineId, QueryParams.empty(), responseType); } @@ -123,7 +129,8 @@ public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("pipelines|POST|/data/pipelines/pipelines") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); } /** @@ -136,7 +143,8 @@ public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.POST_DATA_PIPELINES_PIPELINES, List.of(), query, body, responseType); } /** @@ -148,7 +156,8 @@ public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,8 +169,8 @@ public final class PipelinesDataPipelinesPipelinesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesRunsClient.java index 51ffc17..ea0f59c 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/PipelinesDataPipelinesRunsClient.java @@ -34,7 +34,8 @@ public final class PipelinesDataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.GET_DATA_PIPELINES_RUNS, List.of(), query, null, responseType); } /** @@ -71,7 +72,8 @@ public final class PipelinesDataPipelinesRunsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("pipelines|POST|/data/pipelines/runs") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); } /** @@ -84,7 +86,8 @@ public final class PipelinesDataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Pipelines.POST_DATA_PIPELINES_RUNS, List.of(), query, body, responseType); } /** @@ -96,7 +99,8 @@ public final class PipelinesDataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -108,8 +112,8 @@ public final class PipelinesDataPipelinesRunsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java b/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java index ed81026..bb4b412 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ProvidersClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,7 +22,8 @@ public final class ProvidersClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("providers|GET|/providers/{param}") - public @Nullable T get(String providerSlug, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String providerSlug, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Providers.GET_PROVIDERS_PARAM, List.of(providerSlug), query, null, responseType); } /** @@ -36,7 +36,8 @@ public final class ProvidersClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String providerSlug, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String providerSlug, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Providers.GET_PROVIDERS_PARAM, List.of(providerSlug), query, null, responseType); } /** @@ -60,8 +61,8 @@ public final class ProvidersClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String providerSlug, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String providerSlug, TypeReference responseType) + throws IOException, InterruptedException { return get(providerSlug, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java b/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java index 22af9c1..0069187 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/ReactClient.java @@ -1,15 +1,8 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for react. Generated by scripts/generate_endpoints.py. */ public final class ReactClient extends ServiceClient { ReactClient(ApiClient client) { super(ApiService.REACT, client); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java b/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java index 57f3764..7fe0e44 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/SandboxClient.java @@ -30,7 +30,8 @@ public SandboxLanguagesClient languages() { * @throws InterruptedException if the operation fails */ @SdkOperation("sandbox|POST|/sandbox/self-test") - public @Nullable T createSelfTest(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createSelfTest(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Sandbox.POST_SANDBOX_SELF_TEST, List.of(), query, body, responseType); } /** @@ -43,7 +44,8 @@ public SandboxLanguagesClient languages() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSelfTest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createSelfTest(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Sandbox.POST_SANDBOX_SELF_TEST, List.of(), query, body, responseType); } /** @@ -55,7 +57,8 @@ public SandboxLanguagesClient languages() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSelfTest(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T createSelfTest(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return createSelfTest(QueryParams.empty(), body, responseType); } /** @@ -67,7 +70,8 @@ public SandboxLanguagesClient languages() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T createSelfTest(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T createSelfTest(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return createSelfTest(QueryParams.empty(), body, responseType); } @@ -82,7 +86,8 @@ public SandboxLanguagesClient languages() { * @throws InterruptedException if the operation fails */ @SdkOperation("sandbox|POST|/sandbox/submit") - public @Nullable T submit(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T submit(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Sandbox.POST_SANDBOX_SUBMIT, List.of(), query, body, responseType); } /** @@ -95,7 +100,8 @@ public SandboxLanguagesClient languages() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T submit(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T submit(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Sandbox.POST_SANDBOX_SUBMIT, List.of(), query, body, responseType); } /** @@ -107,7 +113,8 @@ public SandboxLanguagesClient languages() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T submit(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T submit(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return submit(QueryParams.empty(), body, responseType); } /** @@ -119,8 +126,8 @@ public SandboxLanguagesClient languages() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T submit(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T submit(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return submit(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SandboxLanguagesClient.java b/services/src/main/java/dev/frontal/sdk/resources/SandboxLanguagesClient.java index a5cdb6d..1b64b1e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/SandboxLanguagesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/SandboxLanguagesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class SandboxLanguagesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Sandbox.GET_SANDBOX_LANGUAGES, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class SandboxLanguagesClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java index afd06eb..3783b22 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for schedules. Generated by scripts/generate_endpoints.py. */ public final class SchedulesClient extends ServiceClient { SchedulesClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class SchedulesClient extends ServiceClient { public SchedulesWorkflowsClient workflows() { return new SchedulesWorkflowsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsClient.java index f684e52..fe03918 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for schedules/workflows. Generated by scripts/generate_endpoints.py. */ public final class SchedulesWorkflowsClient extends ServiceClient { SchedulesWorkflowsClient(ApiClient client) { @@ -25,5 +19,4 @@ public SchedulesWorkflowsCronClient cron() { public SchedulesWorkflowsSchedulesClient schedules() { return new SchedulesWorkflowsSchedulesClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsCronClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsCronClient.java index 6903765..d5a2334 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsCronClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsCronClient.java @@ -23,7 +23,8 @@ public final class SchedulesWorkflowsCronClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|POST|/workflows/cron/parse") - public @Nullable T parse(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T parse(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_PARSE, List.of(), query, body, responseType); } /** @@ -36,7 +37,8 @@ public final class SchedulesWorkflowsCronClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T parse(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T parse(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_PARSE, List.of(), query, body, responseType); } /** @@ -48,7 +50,8 @@ public final class SchedulesWorkflowsCronClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T parse(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T parse(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return parse(QueryParams.empty(), body, responseType); } /** @@ -60,7 +63,8 @@ public final class SchedulesWorkflowsCronClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T parse(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T parse(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return parse(QueryParams.empty(), body, responseType); } @@ -75,7 +79,8 @@ public final class SchedulesWorkflowsCronClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|POST|/workflows/cron/validate") - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_VALIDATE, List.of(), query, body, responseType); } /** @@ -88,7 +93,8 @@ public final class SchedulesWorkflowsCronClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T validate(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Schedules.POST_WORKFLOWS_CRON_VALIDATE, List.of(), query, body, responseType); } /** @@ -100,7 +106,8 @@ public final class SchedulesWorkflowsCronClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } /** @@ -112,8 +119,8 @@ public final class SchedulesWorkflowsCronClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T validate(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return validate(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsSchedulesClient.java b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsSchedulesClient.java index 1b26c77..ddeb89f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsSchedulesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/SchedulesWorkflowsSchedulesClient.java @@ -23,8 +23,10 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|DELETE|/workflows/schedules/{param}") - public @Nullable T delete(String scheduleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); + public @Nullable T delete(String scheduleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); } /** * Calls the contract route {@code DELETE /workflows/schedules/{param}} using a generic response type. @@ -36,8 +38,10 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String scheduleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); + public @Nullable T delete(String scheduleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.DELETE_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); } /** * Calls the contract route {@code DELETE /workflows/schedules/{param}} without query parameters. @@ -60,7 +64,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String scheduleId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String scheduleId, TypeReference responseType) + throws IOException, InterruptedException { return delete(scheduleId, QueryParams.empty(), responseType); } @@ -86,7 +91,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES, List.of(), query, null, responseType); } /** @@ -123,8 +129,10 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|GET|/workflows/schedules/{param}") - public @Nullable T get(String scheduleId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); + public @Nullable T get(String scheduleId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/schedules/{param}} using a generic response type. @@ -136,8 +144,10 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String scheduleId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); + public @Nullable T get(String scheduleId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.GET_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/schedules/{param}} without query parameters. @@ -160,7 +170,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String scheduleId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String scheduleId, TypeReference responseType) + throws IOException, InterruptedException { return get(scheduleId, QueryParams.empty(), responseType); } @@ -176,8 +187,10 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|PATCH|/workflows/schedules/{param}") - public @Nullable T update(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, body, responseType); + public @Nullable T update(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, body, responseType); } /** * Calls the contract route {@code PATCH /workflows/schedules/{param}} using a generic response type. @@ -190,8 +203,11 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, body, responseType); + public @Nullable T update( + String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.PATCH_WORKFLOWS_SCHEDULES_PARAM, List.of(scheduleId), query, body, responseType); } /** * Calls the contract route {@code PATCH /workflows/schedules/{param}} without query parameters. @@ -203,7 +219,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String scheduleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String scheduleId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(scheduleId, QueryParams.empty(), body, responseType); } /** @@ -216,7 +233,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String scheduleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String scheduleId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(scheduleId, QueryParams.empty(), body, responseType); } @@ -231,7 +249,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|POST|/workflows/schedules") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES, List.of(), query, body, responseType); } /** @@ -244,7 +263,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES, List.of(), query, body, responseType); } /** @@ -256,7 +276,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -268,7 +289,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -284,8 +306,14 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|POST|/workflows/schedules/{param}/pause") - public @Nullable T pause(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, List.of(scheduleId), query, body, responseType); + public @Nullable T pause(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, + List.of(scheduleId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/schedules/{param}/pause} using a generic response type. @@ -298,8 +326,15 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, List.of(scheduleId), query, body, responseType); + public @Nullable T pause( + String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_PAUSE, + List.of(scheduleId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/schedules/{param}/pause} without query parameters. @@ -311,7 +346,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String scheduleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T pause(String scheduleId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return pause(scheduleId, QueryParams.empty(), body, responseType); } /** @@ -324,7 +360,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T pause(String scheduleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T pause(String scheduleId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return pause(scheduleId, QueryParams.empty(), body, responseType); } @@ -340,8 +377,14 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|POST|/workflows/schedules/{param}/resume") - public @Nullable T resume(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, List.of(scheduleId), query, body, responseType); + public @Nullable T resume(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, + List.of(scheduleId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/schedules/{param}/resume} using a generic response type. @@ -354,8 +397,15 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, List.of(scheduleId), query, body, responseType); + public @Nullable T resume( + String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_RESUME, + List.of(scheduleId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/schedules/{param}/resume} without query parameters. @@ -367,7 +417,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String scheduleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T resume(String scheduleId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return resume(scheduleId, QueryParams.empty(), body, responseType); } /** @@ -380,7 +431,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T resume(String scheduleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T resume(String scheduleId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return resume(scheduleId, QueryParams.empty(), body, responseType); } @@ -396,8 +448,14 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("schedules|POST|/workflows/schedules/{param}/trigger") - public @Nullable T trigger(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, List.of(scheduleId), query, body, responseType); + public @Nullable T trigger(String scheduleId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, + List.of(scheduleId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/schedules/{param}/trigger} using a generic response type. @@ -410,8 +468,15 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T trigger(String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, List.of(scheduleId), query, body, responseType); + public @Nullable T trigger( + String scheduleId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Schedules.POST_WORKFLOWS_SCHEDULES_PARAM_TRIGGER, + List.of(scheduleId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/schedules/{param}/trigger} without query parameters. @@ -423,7 +488,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T trigger(String scheduleId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T trigger(String scheduleId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return trigger(scheduleId, QueryParams.empty(), body, responseType); } /** @@ -436,8 +502,8 @@ public final class SchedulesWorkflowsSchedulesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T trigger(String scheduleId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T trigger(String scheduleId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return trigger(scheduleId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java index ab98f2a..5811920 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsClient.java @@ -30,8 +30,10 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|DELETE|/webhook-endpoints/{param}") - public @Nullable T delete(String id, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + public @Nullable T delete(String id, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); } /** * Calls the contract route {@code DELETE /webhook-endpoints/{param}} using a generic response type. @@ -43,8 +45,10 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String id, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); + public @Nullable T delete(String id, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.DELETE_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); } /** * Calls the contract route {@code DELETE /webhook-endpoints/{param}} without query parameters. @@ -93,7 +97,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS, List.of(), query, null, responseType); } /** @@ -130,7 +135,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|GET|/webhook-endpoints/{param}") - public @Nullable T get(String id, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String id, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); } /** @@ -143,7 +149,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String id, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String id, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, null, responseType); } /** @@ -183,8 +190,10 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|PATCH|/webhook-endpoints/{param}") - public @Nullable T update(String id, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); + public @Nullable T update(String id, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); } /** * Calls the contract route {@code PATCH /webhook-endpoints/{param}} using a generic response type. @@ -197,8 +206,10 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); + public @Nullable T update(String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.PATCH_WEBHOOK_ENDPOINTS_PARAM, List.of(id), query, body, responseType); } /** * Calls the contract route {@code PATCH /webhook-endpoints/{param}} without query parameters. @@ -210,7 +221,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String id, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String id, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(id, QueryParams.empty(), body, responseType); } /** @@ -223,7 +235,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String id, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String id, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(id, QueryParams.empty(), body, responseType); } @@ -238,7 +251,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|POST|/webhook-endpoints") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS, List.of(), query, body, responseType); } /** @@ -251,7 +265,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS, List.of(), query, body, responseType); } /** @@ -263,7 +278,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -275,7 +291,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -291,8 +308,14 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|POST|/webhook-endpoints/{param}/rotate-secret") - public @Nullable T rotateSecret(String id, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, List.of(id), query, body, responseType); + public @Nullable T rotateSecret(String id, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, + List.of(id), + query, + body, + responseType); } /** * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret} using a generic response type. @@ -305,8 +328,15 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rotateSecret(String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, List.of(id), query, body, responseType); + public @Nullable T rotateSecret( + String id, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.POST_WEBHOOK_ENDPOINTS_PARAM_ROTATE_SECRET, + List.of(id), + query, + body, + responseType); } /** * Calls the contract route {@code POST /webhook-endpoints/{param}/rotate-secret} without query parameters. @@ -318,7 +348,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rotateSecret(String id, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T rotateSecret(String id, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return rotateSecret(id, QueryParams.empty(), body, responseType); } /** @@ -331,8 +362,8 @@ public WebhookEndpointsDeliveriesClient deliveries() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rotateSecret(String id, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T rotateSecret(String id, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return rotateSecret(id, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsDeliveriesClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsDeliveriesClient.java index 4a2ce25..8cf2d0f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsDeliveriesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhookEndpointsDeliveriesClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class WebhookEndpointsDeliveriesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhook-endpoints|GET|/webhook-endpoints/{param}/deliveries") - public @Nullable T list(String id, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, List.of(id), query, null, responseType); + public @Nullable T list(String id, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, + List.of(id), + query, + null, + responseType); } /** * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries} using a generic response type. @@ -36,8 +41,14 @@ public final class WebhookEndpointsDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String id, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, List.of(id), query, null, responseType); + public @Nullable T list(String id, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.WebhookEndpoints.GET_WEBHOOK_ENDPOINTS_PARAM_DELIVERIES, + List.of(id), + query, + null, + responseType); } /** * Calls the contract route {@code GET /webhook-endpoints/{param}/deliveries} without query parameters. @@ -63,5 +74,4 @@ public final class WebhookEndpointsDeliveriesClient extends ServiceClient { public @Nullable T list(String id, TypeReference responseType) throws IOException, InterruptedException { return list(id, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java index 06aaac5..4fbc732 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhooksClient.java @@ -37,7 +37,8 @@ public WebhooksStatsClient stats() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|DELETE|/webhooks/{param}") - public @Nullable T delete(String webhookId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String webhookId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.DELETE_WEBHOOKS_PARAM, List.of(webhookId), query, null, responseType); } /** @@ -50,7 +51,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String webhookId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String webhookId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.DELETE_WEBHOOKS_PARAM, List.of(webhookId), query, null, responseType); } /** @@ -74,7 +76,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String webhookId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String webhookId, TypeReference responseType) + throws IOException, InterruptedException { return delete(webhookId, QueryParams.empty(), responseType); } @@ -100,7 +103,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.GET_WEBHOOKS, List.of(), query, null, responseType); } /** @@ -137,7 +141,8 @@ public WebhooksStatsClient stats() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|GET|/webhooks/{param}") - public @Nullable T get(String webhookId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String webhookId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.GET_WEBHOOKS_PARAM, List.of(webhookId), query, null, responseType); } /** @@ -150,7 +155,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String webhookId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String webhookId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.GET_WEBHOOKS_PARAM, List.of(webhookId), query, null, responseType); } /** @@ -174,7 +180,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String webhookId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String webhookId, TypeReference responseType) + throws IOException, InterruptedException { return get(webhookId, QueryParams.empty(), responseType); } @@ -189,7 +196,8 @@ public WebhooksStatsClient stats() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|POST|/webhooks") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.POST_WEBHOOKS, List.of(), query, body, responseType); } /** @@ -202,7 +210,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.POST_WEBHOOKS, List.of(), query, body, responseType); } /** @@ -214,7 +223,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -226,7 +236,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -242,8 +253,11 @@ public WebhooksStatsClient stats() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|POST|/webhooks/{param}/rotate-secret") - public @Nullable T rotateSecret(String webhookId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(webhookId), query, body, responseType); + public @Nullable T rotateSecret( + String webhookId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(webhookId), query, body, responseType); } /** * Calls the contract route {@code POST /webhooks/{param}/rotate-secret} using a generic response type. @@ -256,8 +270,11 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rotateSecret(String webhookId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(webhookId), query, body, responseType); + public @Nullable T rotateSecret( + String webhookId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.POST_WEBHOOKS_PARAM_ROTATE_SECRET, List.of(webhookId), query, body, responseType); } /** * Calls the contract route {@code POST /webhooks/{param}/rotate-secret} without query parameters. @@ -269,7 +286,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rotateSecret(String webhookId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T rotateSecret(String webhookId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return rotateSecret(webhookId, QueryParams.empty(), body, responseType); } /** @@ -282,7 +300,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T rotateSecret(String webhookId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T rotateSecret(String webhookId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return rotateSecret(webhookId, QueryParams.empty(), body, responseType); } @@ -298,7 +317,8 @@ public WebhooksStatsClient stats() { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|PUT|/webhooks/{param}") - public @Nullable T update(String webhookId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String webhookId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.PUT_WEBHOOKS_PARAM, List.of(webhookId), query, body, responseType); } /** @@ -312,7 +332,9 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String webhookId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update( + String webhookId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.PUT_WEBHOOKS_PARAM, List.of(webhookId), query, body, responseType); } /** @@ -325,7 +347,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String webhookId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String webhookId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(webhookId, QueryParams.empty(), body, responseType); } /** @@ -338,8 +361,8 @@ public WebhooksStatsClient stats() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String webhookId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String webhookId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(webhookId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhooksDeliveriesClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhooksDeliveriesClient.java index 450ec27..b47323e 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WebhooksDeliveriesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhooksDeliveriesClient.java @@ -34,7 +34,8 @@ public final class WebhooksDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class WebhooksDeliveriesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|GET|/webhooks/deliveries/{param}") - public @Nullable T get(String deliveryId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(deliveryId), query, null, responseType); + public @Nullable T get(String deliveryId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(deliveryId), query, null, responseType); } /** * Calls the contract route {@code GET /webhooks/deliveries/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class WebhooksDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String deliveryId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(deliveryId), query, null, responseType); + public @Nullable T get(String deliveryId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.GET_WEBHOOKS_DELIVERIES_PARAM, List.of(deliveryId), query, null, responseType); } /** * Calls the contract route {@code GET /webhooks/deliveries/{param}} without query parameters. @@ -108,7 +113,8 @@ public final class WebhooksDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String deliveryId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String deliveryId, TypeReference responseType) + throws IOException, InterruptedException { return get(deliveryId, QueryParams.empty(), responseType); } @@ -124,8 +130,14 @@ public final class WebhooksDeliveriesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("webhooks|POST|/webhooks/deliveries/{param}/retry") - public @Nullable T retry(String deliveryId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, List.of(deliveryId), query, body, responseType); + public @Nullable T retry(String deliveryId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, + List.of(deliveryId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry} using a generic response type. @@ -138,8 +150,15 @@ public final class WebhooksDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T retry(String deliveryId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, List.of(deliveryId), query, body, responseType); + public @Nullable T retry( + String deliveryId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Webhooks.POST_WEBHOOKS_DELIVERIES_PARAM_RETRY, + List.of(deliveryId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /webhooks/deliveries/{param}/retry} without query parameters. @@ -151,7 +170,8 @@ public final class WebhooksDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T retry(String deliveryId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T retry(String deliveryId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return retry(deliveryId, QueryParams.empty(), body, responseType); } /** @@ -164,8 +184,8 @@ public final class WebhooksDeliveriesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T retry(String deliveryId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T retry(String deliveryId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return retry(deliveryId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WebhooksStatsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WebhooksStatsClient.java index b6e4e96..04a9002 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WebhooksStatsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WebhooksStatsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -34,7 +33,8 @@ public final class WebhooksStatsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Webhooks.GET_WEBHOOKS_STATS, List.of(), query, null, responseType); } /** @@ -59,5 +59,4 @@ public final class WebhooksStatsClient extends ServiceClient { public @Nullable T list(TypeReference responseType) throws IOException, InterruptedException { return list(QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsApprovalsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsApprovalsClient.java index a9a5aa0..811e19d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsApprovalsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsApprovalsClient.java @@ -34,7 +34,8 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/approvals/{param}") - public @Nullable T get(String approvalId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(approvalId), query, null, responseType); + public @Nullable T get(String approvalId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(approvalId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/approvals/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String approvalId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(approvalId), query, null, responseType); + public @Nullable T get(String approvalId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_APPROVALS_PARAM, List.of(approvalId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/approvals/{param}} without query parameters. @@ -108,7 +113,8 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String approvalId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String approvalId, TypeReference responseType) + throws IOException, InterruptedException { return get(approvalId, QueryParams.empty(), responseType); } @@ -124,8 +130,14 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/approvals/{param}/approve") - public @Nullable T approve(String approvalId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, List.of(approvalId), query, body, responseType); + public @Nullable T approve(String approvalId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, + List.of(approvalId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/approvals/{param}/approve} using a generic response type. @@ -138,8 +150,15 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T approve(String approvalId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, List.of(approvalId), query, body, responseType); + public @Nullable T approve( + String approvalId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_APPROVE, + List.of(approvalId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/approvals/{param}/approve} without query parameters. @@ -151,7 +170,8 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T approve(String approvalId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T approve(String approvalId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return approve(approvalId, QueryParams.empty(), body, responseType); } /** @@ -164,7 +184,8 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T approve(String approvalId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T approve(String approvalId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return approve(approvalId, QueryParams.empty(), body, responseType); } @@ -180,8 +201,14 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/approvals/{param}/reject") - public @Nullable T reject(String approvalId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, List.of(approvalId), query, body, responseType); + public @Nullable T reject(String approvalId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, + List.of(approvalId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/approvals/{param}/reject} using a generic response type. @@ -194,8 +221,15 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T reject(String approvalId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, List.of(approvalId), query, body, responseType); + public @Nullable T reject( + String approvalId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_APPROVALS_PARAM_REJECT, + List.of(approvalId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/approvals/{param}/reject} without query parameters. @@ -207,7 +241,8 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T reject(String approvalId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T reject(String approvalId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return reject(approvalId, QueryParams.empty(), body, responseType); } /** @@ -220,8 +255,8 @@ public final class WorkflowsApprovalsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T reject(String approvalId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T reject(String approvalId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return reject(approvalId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsClient.java index ac4ff4a..42de9e8 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsClient.java @@ -41,7 +41,8 @@ public WorkflowsExecutionsTasksClient tasks() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS, List.of(), query, null, responseType); } /** @@ -78,8 +79,10 @@ public WorkflowsExecutionsTasksClient tasks() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/executions/{param}") - public @Nullable T get(String executionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(executionId), query, null, responseType); + public @Nullable T get(String executionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(executionId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/executions/{param}} using a generic response type. @@ -91,8 +94,10 @@ public WorkflowsExecutionsTasksClient tasks() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String executionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(executionId), query, null, responseType); + public @Nullable T get(String executionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM, List.of(executionId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/executions/{param}} without query parameters. @@ -115,7 +120,8 @@ public WorkflowsExecutionsTasksClient tasks() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String executionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String executionId, TypeReference responseType) + throws IOException, InterruptedException { return get(executionId, QueryParams.empty(), responseType); } @@ -130,7 +136,8 @@ public WorkflowsExecutionsTasksClient tasks() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/executions") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), query, body, responseType); } /** @@ -143,7 +150,8 @@ public WorkflowsExecutionsTasksClient tasks() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_EXECUTIONS, List.of(), query, body, responseType); } /** @@ -155,7 +163,8 @@ public WorkflowsExecutionsTasksClient tasks() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -167,8 +176,8 @@ public WorkflowsExecutionsTasksClient tasks() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsTasksClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsTasksClient.java index f39f377..8bc998a 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsTasksClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsExecutionsTasksClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,8 +22,14 @@ public final class WorkflowsExecutionsTasksClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/executions/{param}/tasks") - public @Nullable T list(String executionId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, List.of(executionId), query, null, responseType); + public @Nullable T list(String executionId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, + List.of(executionId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /workflows/executions/{param}/tasks} using a generic response type. @@ -36,8 +41,14 @@ public final class WorkflowsExecutionsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String executionId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, List.of(executionId), query, null, responseType); + public @Nullable T list(String executionId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_EXECUTIONS_PARAM_TASKS, + List.of(executionId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /workflows/executions/{param}/tasks} without query parameters. @@ -60,8 +71,8 @@ public final class WorkflowsExecutionsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String executionId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String executionId, TypeReference responseType) + throws IOException, InterruptedException { return list(executionId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsClient.java index 51e41f4..357d44b 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsClient.java @@ -1,11 +1,5 @@ package dev.frontal.sdk; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; -import java.io.IOException; -import java.util.List; -import org.jspecify.annotations.Nullable; - /** Contract operations for workflows/runs. Generated by scripts/generate_endpoints.py. */ public final class WorkflowsRunsClient extends ServiceClient { WorkflowsRunsClient(ApiClient client) { @@ -18,5 +12,4 @@ public final class WorkflowsRunsClient extends ServiceClient { public WorkflowsRunsStepsClient steps() { return new WorkflowsRunsStepsClient(client()); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsStepsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsStepsClient.java index f210264..8ae6aa2 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsStepsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsRunsStepsClient.java @@ -1,7 +1,6 @@ package dev.frontal.sdk; import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; import java.util.List; import org.jspecify.annotations.Nullable; @@ -23,7 +22,8 @@ public final class WorkflowsRunsStepsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/runs/{param}/steps") - public @Nullable T list(String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T list(String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_RUNS_PARAM_STEPS, List.of(runId), query, null, responseType); } /** @@ -36,7 +36,8 @@ public final class WorkflowsRunsStepsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_RUNS_PARAM_STEPS, List.of(runId), query, null, responseType); } /** @@ -63,5 +64,4 @@ public final class WorkflowsRunsStepsClient extends ServiceClient { public @Nullable T list(String runId, TypeReference responseType) throws IOException, InterruptedException { return list(runId, QueryParams.empty(), responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java index 631e37e..b529ba9 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsServiceClient.java @@ -65,7 +65,8 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|DELETE|/workflows/{param}") - public @Nullable T delete(String workflowId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T delete(String workflowId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(workflowId), query, null, responseType); } /** @@ -78,7 +79,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String workflowId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String workflowId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.DELETE_WORKFLOWS_PARAM, List.of(workflowId), query, null, responseType); } /** @@ -102,7 +104,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T delete(String workflowId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T delete(String workflowId, TypeReference responseType) + throws IOException, InterruptedException { return delete(workflowId, QueryParams.empty(), responseType); } @@ -128,7 +131,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS, List.of(), query, null, responseType); } /** @@ -165,7 +169,8 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/{param}") - public @Nullable T get(String workflowId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String workflowId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(workflowId), query, null, responseType); } /** @@ -178,7 +183,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String workflowId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String workflowId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM, List.of(workflowId), query, null, responseType); } /** @@ -202,7 +208,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String workflowId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String workflowId, TypeReference responseType) + throws IOException, InterruptedException { return get(workflowId, QueryParams.empty(), responseType); } @@ -218,8 +225,10 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/{param}/{param}") - public @Nullable T get2(String workflowId, String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); + public @Nullable T get2(String workflowId, String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/{param}/{param}} using a generic response type. @@ -232,8 +241,10 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get2(String workflowId, String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); + public @Nullable T get2(String workflowId, String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM, List.of(workflowId, runId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/{param}/{param}} without query parameters. @@ -245,7 +256,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get2(String workflowId, String runId, Class responseType) throws IOException, InterruptedException { + public @Nullable T get2(String workflowId, String runId, Class responseType) + throws IOException, InterruptedException { return get2(workflowId, runId, QueryParams.empty(), responseType); } /** @@ -258,7 +270,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get2(String workflowId, String runId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get2(String workflowId, String runId, TypeReference responseType) + throws IOException, InterruptedException { return get2(workflowId, runId, QueryParams.empty(), responseType); } @@ -274,8 +287,14 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/{param}/{param}/summary") - public @Nullable T summary(String workflowId, String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, List.of(workflowId, runId), query, null, responseType); + public @Nullable T summary(String workflowId, String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, + List.of(workflowId, runId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /workflows/{param}/{param}/summary} using a generic response type. @@ -288,8 +307,14 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T summary(String workflowId, String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, List.of(workflowId, runId), query, null, responseType); + public @Nullable T summary(String workflowId, String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_SUMMARY, + List.of(workflowId, runId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /workflows/{param}/{param}/summary} without query parameters. @@ -301,7 +326,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T summary(String workflowId, String runId, Class responseType) throws IOException, InterruptedException { + public @Nullable T summary(String workflowId, String runId, Class responseType) + throws IOException, InterruptedException { return summary(workflowId, runId, QueryParams.empty(), responseType); } /** @@ -314,7 +340,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T summary(String workflowId, String runId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T summary(String workflowId, String runId, TypeReference responseType) + throws IOException, InterruptedException { return summary(workflowId, runId, QueryParams.empty(), responseType); } @@ -330,8 +357,14 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/{param}/{param}/timeline") - public @Nullable T timeline(String workflowId, String runId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, List.of(workflowId, runId), query, null, responseType); + public @Nullable T timeline(String workflowId, String runId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, + List.of(workflowId, runId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /workflows/{param}/{param}/timeline} using a generic response type. @@ -344,8 +377,14 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T timeline(String workflowId, String runId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, List.of(workflowId, runId), query, null, responseType); + public @Nullable T timeline(String workflowId, String runId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_PARAM_PARAM_TIMELINE, + List.of(workflowId, runId), + query, + null, + responseType); } /** * Calls the contract route {@code GET /workflows/{param}/{param}/timeline} without query parameters. @@ -357,7 +396,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T timeline(String workflowId, String runId, Class responseType) throws IOException, InterruptedException { + public @Nullable T timeline(String workflowId, String runId, Class responseType) + throws IOException, InterruptedException { return timeline(workflowId, runId, QueryParams.empty(), responseType); } /** @@ -370,7 +410,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T timeline(String workflowId, String runId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T timeline(String workflowId, String runId, TypeReference responseType) + throws IOException, InterruptedException { return timeline(workflowId, runId, QueryParams.empty(), responseType); } @@ -386,7 +427,8 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|PATCH|/workflows/{param}") - public @Nullable T update(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(workflowId), query, body, responseType); } /** @@ -400,7 +442,9 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update( + String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.PATCH_WORKFLOWS_PARAM, List.of(workflowId), query, body, responseType); } /** @@ -413,7 +457,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T update(String workflowId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return update(workflowId, QueryParams.empty(), body, responseType); } /** @@ -426,7 +471,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T update(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T update(String workflowId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return update(workflowId, QueryParams.empty(), body, responseType); } @@ -441,7 +487,8 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), query, body, responseType); } /** @@ -454,7 +501,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS, List.of(), query, body, responseType); } /** @@ -466,7 +514,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -478,7 +527,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -493,7 +543,8 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/batch") - public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_BATCH, List.of(), query, body, responseType); } /** @@ -506,7 +557,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T batch(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_BATCH, List.of(), query, body, responseType); } /** @@ -518,7 +570,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T batch(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return batch(QueryParams.empty(), body, responseType); } /** @@ -530,7 +583,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T batch(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return batch(QueryParams.empty(), body, responseType); } @@ -545,7 +599,8 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/search") - public @Nullable T search(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T search(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_SEARCH, List.of(), query, body, responseType); } /** @@ -558,7 +613,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T search(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T search(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_SEARCH, List.of(), query, body, responseType); } /** @@ -570,7 +626,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T search(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T search(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return search(QueryParams.empty(), body, responseType); } /** @@ -582,7 +639,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T search(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T search(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return search(QueryParams.empty(), body, responseType); } @@ -598,8 +656,10 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/{param}/archive") - public @Nullable T archive(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(workflowId), query, body, responseType); + public @Nullable T archive(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(workflowId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/archive} using a generic response type. @@ -612,8 +672,11 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T archive(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(workflowId), query, body, responseType); + public @Nullable T archive( + String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_ARCHIVE, List.of(workflowId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/archive} without query parameters. @@ -625,7 +688,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T archive(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T archive(String workflowId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return archive(workflowId, QueryParams.empty(), body, responseType); } /** @@ -638,7 +702,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T archive(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T archive(String workflowId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return archive(workflowId, QueryParams.empty(), body, responseType); } @@ -654,8 +719,10 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/{param}/publish") - public @Nullable T publish(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(workflowId), query, body, responseType); + public @Nullable T publish(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(workflowId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/publish} using a generic response type. @@ -668,8 +735,11 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T publish(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(workflowId), query, body, responseType); + public @Nullable T publish( + String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_PUBLISH, List.of(workflowId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/publish} without query parameters. @@ -681,7 +751,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T publish(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T publish(String workflowId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return publish(workflowId, QueryParams.empty(), body, responseType); } /** @@ -694,7 +765,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T publish(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T publish(String workflowId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return publish(workflowId, QueryParams.empty(), body, responseType); } @@ -710,8 +782,10 @@ public WorkflowsVersionsClient versions() { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/{param}/restore") - public @Nullable T restore(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(workflowId), query, body, responseType); + public @Nullable T restore(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(workflowId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/restore} using a generic response type. @@ -724,8 +798,11 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T restore(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(workflowId), query, body, responseType); + public @Nullable T restore( + String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_RESTORE, List.of(workflowId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/restore} without query parameters. @@ -737,7 +814,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T restore(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T restore(String workflowId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return restore(workflowId, QueryParams.empty(), body, responseType); } /** @@ -750,8 +828,8 @@ public WorkflowsVersionsClient versions() { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T restore(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T restore(String workflowId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return restore(workflowId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTasksClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTasksClient.java index b7c8cc0..d76fd3f 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTasksClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTasksClient.java @@ -23,7 +23,8 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/tasks/{param}") - public @Nullable T get(String taskId, QueryParams query, Class responseType) throws IOException, InterruptedException { + public @Nullable T get(String taskId, QueryParams query, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_TASKS_PARAM, List.of(taskId), query, null, responseType); } /** @@ -36,7 +37,8 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String taskId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String taskId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_TASKS_PARAM, List.of(taskId), query, null, responseType); } /** @@ -76,8 +78,10 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/tasks/{param}/cancel") - public @Nullable T cancel(String taskId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(taskId), query, body, responseType); + public @Nullable T cancel(String taskId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(taskId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/tasks/{param}/cancel} using a generic response type. @@ -90,8 +94,11 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T cancel(String taskId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(taskId), query, body, responseType); + public @Nullable T cancel( + String taskId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_CANCEL, List.of(taskId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/tasks/{param}/cancel} without query parameters. @@ -103,7 +110,8 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T cancel(String taskId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T cancel(String taskId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return cancel(taskId, QueryParams.empty(), body, responseType); } /** @@ -116,7 +124,8 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T cancel(String taskId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T cancel(String taskId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return cancel(taskId, QueryParams.empty(), body, responseType); } @@ -132,8 +141,10 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/tasks/{param}/retry") - public @Nullable T retry(String taskId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(taskId), query, body, responseType); + public @Nullable T retry(String taskId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(taskId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/tasks/{param}/retry} using a generic response type. @@ -146,8 +157,11 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T retry(String taskId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(taskId), query, body, responseType); + public @Nullable T retry( + String taskId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TASKS_PARAM_RETRY, List.of(taskId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/tasks/{param}/retry} without query parameters. @@ -159,7 +173,8 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T retry(String taskId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T retry(String taskId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return retry(taskId, QueryParams.empty(), body, responseType); } /** @@ -172,8 +187,8 @@ public final class WorkflowsTasksClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T retry(String taskId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T retry(String taskId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return retry(taskId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTemplatesClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTemplatesClient.java index fc7199f..12bab74 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTemplatesClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsTemplatesClient.java @@ -34,7 +34,8 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T list(QueryParams query, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T list(QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES, List.of(), query, null, responseType); } /** @@ -71,8 +72,10 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|GET|/workflows/templates/{param}") - public @Nullable T get(String templateId, QueryParams query, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(templateId), query, null, responseType); + public @Nullable T get(String templateId, QueryParams query, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(templateId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/templates/{param}} using a generic response type. @@ -84,8 +87,10 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String templateId, QueryParams query, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(templateId), query, null, responseType); + public @Nullable T get(String templateId, QueryParams query, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.GET_WORKFLOWS_TEMPLATES_PARAM, List.of(templateId), query, null, responseType); } /** * Calls the contract route {@code GET /workflows/templates/{param}} without query parameters. @@ -108,7 +113,8 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T get(String templateId, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T get(String templateId, TypeReference responseType) + throws IOException, InterruptedException { return get(templateId, QueryParams.empty(), responseType); } @@ -123,7 +129,8 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/templates") - public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES, List.of(), query, body, responseType); } /** @@ -136,7 +143,8 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES, List.of(), query, body, responseType); } /** @@ -148,7 +156,8 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } /** @@ -160,7 +169,8 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(@Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(QueryParams.empty(), body, responseType); } @@ -176,8 +186,15 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/templates/{param}/instantiate") - public @Nullable T instantiate(String templateId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, List.of(templateId), query, body, responseType); + public @Nullable T instantiate( + String templateId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, + List.of(templateId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/templates/{param}/instantiate} using a generic response type. @@ -190,8 +207,15 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T instantiate(String templateId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, List.of(templateId), query, body, responseType); + public @Nullable T instantiate( + String templateId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_TEMPLATES_PARAM_INSTANTIATE, + List.of(templateId), + query, + body, + responseType); } /** * Calls the contract route {@code POST /workflows/templates/{param}/instantiate} without query parameters. @@ -203,7 +227,8 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T instantiate(String templateId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T instantiate(String templateId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return instantiate(templateId, QueryParams.empty(), body, responseType); } /** @@ -216,8 +241,8 @@ public final class WorkflowsTemplatesClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T instantiate(String templateId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T instantiate(String templateId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return instantiate(templateId, QueryParams.empty(), body, responseType); } - } diff --git a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsVersionsClient.java b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsVersionsClient.java index 9b4a9b3..49d4c9d 100644 --- a/services/src/main/java/dev/frontal/sdk/resources/WorkflowsVersionsClient.java +++ b/services/src/main/java/dev/frontal/sdk/resources/WorkflowsVersionsClient.java @@ -24,8 +24,10 @@ public final class WorkflowsVersionsClient extends ServiceClient { * @throws InterruptedException if the operation fails */ @SdkOperation("workflows|POST|/workflows/{param}/versions") - public @Nullable T create(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(workflowId), query, body, responseType); + public @Nullable T create(String workflowId, QueryParams query, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(workflowId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/versions} using a generic response type. @@ -38,8 +40,11 @@ public final class WorkflowsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { - return request(Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(workflowId), query, body, responseType); + public @Nullable T create( + String workflowId, QueryParams query, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { + return request( + Endpoints.Workflows.POST_WORKFLOWS_PARAM_VERSIONS, List.of(workflowId), query, body, responseType); } /** * Calls the contract route {@code POST /workflows/{param}/versions} without query parameters. @@ -51,7 +56,8 @@ public final class WorkflowsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String workflowId, @Nullable JsonNode body, Class responseType) throws IOException, InterruptedException { + public @Nullable T create(String workflowId, @Nullable JsonNode body, Class responseType) + throws IOException, InterruptedException { return create(workflowId, QueryParams.empty(), body, responseType); } /** @@ -64,8 +70,8 @@ public final class WorkflowsVersionsClient extends ServiceClient { * @throws IOException if the operation fails * @throws InterruptedException if the operation fails */ - public @Nullable T create(String workflowId, @Nullable JsonNode body, TypeReference responseType) throws IOException, InterruptedException { + public @Nullable T create(String workflowId, @Nullable JsonNode body, TypeReference responseType) + throws IOException, InterruptedException { return create(workflowId, QueryParams.empty(), body, responseType); } - }