Interface ProviderServiceAsync
-
- All Implemented Interfaces:
public interface ProviderServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceProviderServiceAsync.WithRawResponseA view of ProviderServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ProviderServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ProviderServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
catalog
abstract CatalogServiceAsync catalog()
-
create
CompletableFuture<Provider> create(ProviderCreateParams params)
Create a new provider configuration. The
providerfield must be a known Courier provider key (see catalog).
-
create
abstract CompletableFuture<Provider> create(ProviderCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Provider> retrieve(String id)
Fetch a single provider configuration by ID.
-
retrieve
CompletableFuture<Provider> retrieve(String id, ProviderRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Provider> retrieve(String id, ProviderRetrieveParams params)
-
retrieve
abstract CompletableFuture<Provider> retrieve(ProviderRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Provider> retrieve(ProviderRetrieveParams params)
-
retrieve
CompletableFuture<Provider> retrieve(String id, RequestOptions requestOptions)
-
update
CompletableFuture<Provider> update(String id, ProviderUpdateParams params)
Update an existing provider configuration. The
providerkey is required. All other fields are optional — omitted fields are cleared from the stored configuration (this is a full replacement, not a partial merge).
-
update
CompletableFuture<Provider> update(String id, ProviderUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Provider> update(ProviderUpdateParams params)
-
update
abstract CompletableFuture<Provider> update(ProviderUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ProviderListResponse> list()
List configured provider integrations for the current workspace. Supports cursor-based pagination.
-
list
abstract CompletableFuture<ProviderListResponse> list(ProviderListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ProviderListResponse> list(ProviderListParams params)
-
list
CompletableFuture<ProviderListResponse> list(RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(String id)
Delete a provider configuration. Returns 409 if the provider is still referenced by routing or notifications.
-
delete
CompletableFuture<Void> delete(String id, ProviderDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(String id, ProviderDeleteParams params)
-
delete
abstract CompletableFuture<Void> delete(ProviderDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(ProviderDeleteParams params)
-
delete
CompletableFuture<Void> delete(String id, RequestOptions requestOptions)
-
-
-
-