/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { ClientSDK } from "../lib/sdks.js"; import { Account } from "./account.js"; import { Actions } from "./actions.js"; import { Authors } from "./authors.js"; import { Channels } from "./channels.js"; import { Content } from "./content.js"; import { Projects } from "./projects.js"; import { Queue } from "./queue.js"; import { WebhookSecret } from "./webhook-secret.js"; import { Webhooks } from "./webhooks.js"; import { Wordlist } from "./wordlist.js"; export class ModerationApi extends ClientSDK { private _authors?: Authors; get authors(): Authors { return (this._authors ??= new Authors(this._options)); } private _queue?: Queue; get queue(): Queue { return (this._queue ??= new Queue(this._options)); } private _actions?: Actions; get actions(): Actions { return (this._actions ??= new Actions(this._options)); } private _webhooks?: Webhooks; get webhooks(): Webhooks { return (this._webhooks ??= new Webhooks(this._options)); } private _webhookSecret?: WebhookSecret; get webhookSecret(): WebhookSecret { return (this._webhookSecret ??= new WebhookSecret(this._options)); } private _account?: Account; get account(): Account { return (this._account ??= new Account(this._options)); } private _wordlist?: Wordlist; get wordlist(): Wordlist { return (this._wordlist ??= new Wordlist(this._options)); } private _content?: Content; get content(): Content { return (this._content ??= new Content(this._options)); } private _projects?: Projects; get projects(): Projects { return (this._projects ??= new Projects(this._options)); } private _channels?: Channels; get channels(): Channels { return (this._channels ??= new Channels(this._options)); } }