All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.src.internal.webhook-client.d.ts Maven / Gradle / Ivy

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