Class RawWebhookSetupClient
- java.lang.Object
-
- com.chrt.api.resources.notifications.webhooksetup.RawWebhookSetupClient
-
public class RawWebhookSetupClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawWebhookSetupClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<WebhookAppPortalAccessRes>appPortalAccessV1()Returns a 1-day magic link URL to access the Svix App Portal.ChrtApiHttpResponse<WebhookAppPortalAccessRes>appPortalAccessV1(RequestOptions requestOptions)Returns a 1-day magic link URL to access the Svix App Portal.ChrtApiHttpResponse<java.lang.Boolean>createAppV1()Creates a Svix consumer application for the organization.ChrtApiHttpResponse<java.lang.Boolean>createAppV1(RequestOptions requestOptions)Creates a Svix consumer application for the organization.ChrtApiHttpResponse<java.lang.Boolean>turnOffV1()Disables webhook notifications for the organization.ChrtApiHttpResponse<java.lang.Boolean>turnOffV1(RequestOptions requestOptions)Disables webhook notifications for the organization.ChrtApiHttpResponse<java.lang.Boolean>turnOnV1()Enables webhook notifications for the organization.ChrtApiHttpResponse<java.lang.Boolean>turnOnV1(RequestOptions requestOptions)Enables webhook notifications for the organization.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawWebhookSetupClient
public RawWebhookSetupClient(ClientOptions clientOptions)
-
-
Method Detail
-
createAppV1
public ChrtApiHttpResponse<java.lang.Boolean> createAppV1()
Creates a Svix consumer application for the organization. Each org needs one app, then endpoints can be added and configured via the app portal. Idempotent - returns True if already created. | authz: min_org_role=administrator | () -> (bool)
-
createAppV1
public ChrtApiHttpResponse<java.lang.Boolean> createAppV1(RequestOptions requestOptions)
Creates a Svix consumer application for the organization. Each org needs one app, then endpoints can be added and configured via the app portal. Idempotent - returns True if already created. | authz: min_org_role=administrator | () -> (bool)
-
appPortalAccessV1
public ChrtApiHttpResponse<WebhookAppPortalAccessRes> appPortalAccessV1()
Returns a 1-day magic link URL to access the Svix App Portal. The link contains a one-time token - request a fresh link for each portal session. Admins/owners get full access, operators get read-only. | authz: min_org_role=operator | () -> (WebhookAppPortalAccessRes)
-
appPortalAccessV1
public ChrtApiHttpResponse<WebhookAppPortalAccessRes> appPortalAccessV1(RequestOptions requestOptions)
Returns a 1-day magic link URL to access the Svix App Portal. The link contains a one-time token - request a fresh link for each portal session. Admins/owners get full access, operators get read-only. | authz: min_org_role=operator | () -> (WebhookAppPortalAccessRes)
-
turnOnV1
public ChrtApiHttpResponse<java.lang.Boolean> turnOnV1()
Enables webhook notifications for the organization. Idempotent. | authz: min_org_role=administrator | () -> (bool)
-
turnOnV1
public ChrtApiHttpResponse<java.lang.Boolean> turnOnV1(RequestOptions requestOptions)
Enables webhook notifications for the organization. Idempotent. | authz: min_org_role=administrator | () -> (bool)
-
turnOffV1
public ChrtApiHttpResponse<java.lang.Boolean> turnOffV1()
Disables webhook notifications for the organization. Idempotent. | authz: min_org_role=administrator | () -> (bool)
-
turnOffV1
public ChrtApiHttpResponse<java.lang.Boolean> turnOffV1(RequestOptions requestOptions)
Disables webhook notifications for the organization. Idempotent. | authz: min_org_role=administrator | () -> (bool)
-
-