package.dist.src.internal.webhook-client.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
Client SDK for Momento services
The newest version!
import { CredentialProvider, Webhook, WebhookId, DeleteWebhook, PutWebhook, ListWebhooks, GetWebhookSecret, RotateWebhookSecret } from '@gomomento/sdk-core';
import { IWebhookClient } from '@gomomento/sdk-core/dist/src/internal/clients/pubsub/IWebhookClient';
import { TopicClientAllProps } from './topic-client-all-props';
export declare class WebhookClient implements IWebhookClient {
private readonly webhookClient;
protected readonly credentialProvider: CredentialProvider;
private readonly logger;
private readonly cacheServiceErrorMapper;
private static readonly DEFAULT_REQUEST_TIMEOUT_MS;
private readonly unaryInterceptors;
/**
* @param {TopicClientProps} props
*/
constructor(props: TopicClientAllProps);
deleteWebhook(id: WebhookId): Promise;
listWebhooks(cache: string): Promise;
putWebhook(webhook: Webhook): Promise;
getWebhookSecret(id: WebhookId): Promise;
rotateWebhookSecret(id: WebhookId): Promise;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy