import type { ClientOptions, OperationOptions } from "@azure-rest/core-client"; import type { BrowserPushChannel } from "./installation.js"; /** * Describes the options that can be provided while creating the NotificationHubsClientContext. */ export interface NotificationHubsClientOptions extends ClientOptions { } /** * Options for polled operations including the polling interval cycle. */ export interface PolledOperationOptions extends OperationOptions { /** * Time delay between poll requests, in milliseconds. */ updateIntervalInMs?: number; } /** * Options for sending notifications for both tag based scheduled send. */ export interface ScheduleNotificationOptions extends OperationOptions { /** * A tag expression used to target devices. Use the `createTagExpression` function to create a tag expression from an array of tags. */ tagExpression: string; } /** * Options for sending notifications for test send. */ export interface BroadcastSendNotificationOptions extends OperationOptions { /** * Set to true to enable test send. */ enableTestSend?: boolean; } /** * Options for sending notifications for tag based send. */ export interface SendNotificationOptions extends BroadcastSendNotificationOptions { /** * A tag expression used to target devices. Use the `createTagExpression` function to create a tag expression from an array of tags. */ tagExpression: string; } /** * Options for sending notifications to individual devices. */ export interface DirectSendNotificationOptions extends OperationOptions { /** * The device handle to send the notification. If an array is provided, this uses batch direct send which is only available in Standard SKU and above. */ deviceHandle: string | BrowserPushChannel | string[]; } /** * Represents entity update operation options that can be set. */ export interface EntityOperationOptions extends OperationOptions { /** * ETag as returned by creation, update, and retrieval, or ‘*’ (overwrite). */ etag?: string; } /** * Represents query options to include $top support. */ export interface RegistrationQueryLimitOptions extends OperationOptions { /** * The $top query member to get a number of records. */ top?: number; } /** * Represents query options to include both $top and $filter. */ export interface RegistrationQueryOptions extends RegistrationQueryLimitOptions { /** * The OData $filter operator query string. */ filter?: string; } //# sourceMappingURL=options.d.ts.map