import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Direction of sorting */ export declare const ChannelConnectionsControllerListChannelConnectionsQueryParamOrderDirection: { readonly Asc: "ASC"; readonly Desc: "DESC"; }; /** * Direction of sorting */ export type ChannelConnectionsControllerListChannelConnectionsQueryParamOrderDirection = ClosedEnum; /** * Filter by channel type (email, sms, push, chat, etc.). */ export declare const Channel: { readonly InApp: "in_app"; readonly Email: "email"; readonly Sms: "sms"; readonly Chat: "chat"; readonly Push: "push"; }; /** * Filter by channel type (email, sms, push, chat, etc.). */ export type Channel = ClosedEnum; export type ChannelConnectionsControllerListChannelConnectionsRequest = { /** * Cursor for pagination indicating the starting point after which to fetch results. */ after?: string | undefined; /** * Cursor for pagination indicating the ending point before which to fetch results. */ before?: string | undefined; /** * Limit the number of items to return (max 100) */ limit?: number | undefined; /** * Direction of sorting */ orderDirection?: ChannelConnectionsControllerListChannelConnectionsQueryParamOrderDirection | undefined; /** * Field to order by */ orderBy?: string | undefined; /** * Include cursor item in response */ includeCursor?: boolean | undefined; /** * The subscriber ID to filter results by */ subscriberId?: string | undefined; /** * Filter by channel type (email, sms, push, chat, etc.). */ channel?: Channel | undefined; /** * Filter by provider identifier (e.g., sendgrid, twilio, slack, etc.). */ providerId?: components.ProvidersIdEnum | undefined; /** * Filter by integration identifier. */ integrationIdentifier?: string | undefined; /** * Filter by exact context keys, order insensitive (format: "type:id") */ contextKeys?: Array | undefined; /** * A header for idempotency purposes */ idempotencyKey?: string | undefined; }; export type ChannelConnectionsControllerListChannelConnectionsResponse = { headers: { [k: string]: Array; }; result: components.ListChannelConnectionsResponseDto; }; /** @internal */ export declare const ChannelConnectionsControllerListChannelConnectionsQueryParamOrderDirection$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Channel$outboundSchema: z.ZodNativeEnum; /** @internal */ export type ChannelConnectionsControllerListChannelConnectionsRequest$Outbound = { after?: string | undefined; before?: string | undefined; limit?: number | undefined; orderDirection?: string | undefined; orderBy?: string | undefined; includeCursor?: boolean | undefined; subscriberId?: string | undefined; channel?: string | undefined; providerId?: string | undefined; integrationIdentifier?: string | undefined; contextKeys?: Array | undefined; "idempotency-key"?: string | undefined; }; /** @internal */ export declare const ChannelConnectionsControllerListChannelConnectionsRequest$outboundSchema: z.ZodType; export declare function channelConnectionsControllerListChannelConnectionsRequestToJSON(channelConnectionsControllerListChannelConnectionsRequest: ChannelConnectionsControllerListChannelConnectionsRequest): string; /** @internal */ export declare const ChannelConnectionsControllerListChannelConnectionsResponse$inboundSchema: z.ZodType; export declare function channelConnectionsControllerListChannelConnectionsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=channelconnectionscontrollerlistchannelconnections.d.ts.map