/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { topicsSubscribersRetrieve } from "../funcs/topicsSubscribersRetrieve.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class NovuSubscribers extends ClientSDK { /** * Check topic subscriber * * @remarks * Check if a subscriber belongs to a certain topic */ async retrieve( externalSubscriberId: string, topicKey: string, idempotencyKey?: string | undefined, options?: RequestOptions, ): Promise { return unwrapAsync(topicsSubscribersRetrieve( this, externalSubscriberId, topicKey, idempotencyKey, options, )); } }