import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { Activity } from "./activity.js"; import { ChannelConnections } from "./channelconnections.js"; import { ChannelEndpoints } from "./channelendpoints.js"; import { Contexts } from "./contexts.js"; import { Domains } from "./domains.js"; import { Environments } from "./environments.js"; import { EnvironmentVariables } from "./environmentvariables.js"; import { Integrations } from "./integrations.js"; import { Layouts } from "./layouts.js"; import { Messages } from "./messages.js"; import { Notifications } from "./notifications.js"; import { Subscribers } from "./subscribers.js"; import { Topics } from "./topics.js"; import { Translations } from "./translations.js"; import { Workflows } from "./workflows.js"; export declare class Novu extends ClientSDK { private _contexts?; get contexts(): Contexts; private _environments?; get environments(): Environments; private _activity?; get activity(): Activity; private _layouts?; get layouts(): Layouts; private _subscribers?; get subscribers(): Subscribers; private _topics?; get topics(): Topics; private _translations?; get translations(): Translations; private _workflows?; get workflows(): Workflows; private _channelConnections?; get channelConnections(): ChannelConnections; private _channelEndpoints?; get channelEndpoints(): ChannelEndpoints; private _domains?; get domains(): Domains; private _environmentVariables?; get environmentVariables(): EnvironmentVariables; private _integrations?; get integrations(): Integrations; private _messages?; get messages(): Messages; private _notifications?; get notifications(): Notifications; /** * Trigger event * * @remarks * * Trigger event is the main (and only) way to send notifications to subscribers. The trigger identifier is used to match the particular workflow associated with it. Maximum number of recipients can be 100. Additional information can be passed according the body interface below. * To prevent duplicate triggers, you can optionally pass a **transactionId** in the request body. If the same **transactionId** is used again, the trigger will be ignored. The retention period depends on your billing tier. */ trigger(triggerEventRequestDto: components.TriggerEventRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Cancel triggered event * * @remarks * * Using a previously generated transactionId during the event trigger, * will cancel any active or pending workflows. This is useful to cancel active digests, delays etc... */ cancel(transactionId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Broadcast event to all * * @remarks * Trigger a broadcast event to all existing subscribers, could be used to send announcements, etc. * In the future could be used to trigger events to a subset of subscribers based on defined filters. */ triggerBroadcast(triggerEventToAllRequestDto: components.TriggerEventToAllRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Bulk trigger event * * @remarks * * Using this endpoint you can trigger multiple events at once, to avoid multiple calls to the API. * The bulk API is limited to 100 events per request. */ triggerBulk(bulkTriggerEventDto: components.BulkTriggerEventDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=sdk.d.ts.map