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 ChannelEndpointsControllerListChannelEndpointsQueryParamOrderDirection: { readonly Asc: "ASC"; readonly Desc: "DESC"; }; /** * Direction of sorting */ export type ChannelEndpointsControllerListChannelEndpointsQueryParamOrderDirection = ClosedEnum; /** * Channel type to filter results. */ export declare const QueryParamChannel: { readonly InApp: "in_app"; readonly Email: "email"; readonly Sms: "sms"; readonly Chat: "chat"; readonly Push: "push"; }; /** * Channel type to filter results. */ export type QueryParamChannel = ClosedEnum; export type ChannelEndpointsControllerListChannelEndpointsRequest = { /** * 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?: ChannelEndpointsControllerListChannelEndpointsQueryParamOrderDirection | 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 exact context keys, order insensitive (format: "type:id") */ contextKeys?: Array | undefined; /** * Channel type to filter results. */ channel?: QueryParamChannel | undefined; /** * Filter by provider identifier (e.g., sendgrid, twilio, slack, etc.). */ providerId?: components.ProvidersIdEnum | undefined; /** * Integration identifier to filter results. */ integrationIdentifier?: string | undefined; /** * Connection identifier to filter results. */ connectionIdentifier?: string | undefined; /** * A header for idempotency purposes */ idempotencyKey?: string | undefined; }; export type ChannelEndpointsControllerListChannelEndpointsResponse = { headers: { [k: string]: Array; }; result: components.ListChannelEndpointsResponseDto; }; /** @internal */ export declare const ChannelEndpointsControllerListChannelEndpointsQueryParamOrderDirection$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const QueryParamChannel$outboundSchema: z.ZodNativeEnum; /** @internal */ export type ChannelEndpointsControllerListChannelEndpointsRequest$Outbound = { after?: string | undefined; before?: string | undefined; limit?: number | undefined; orderDirection?: string | undefined; orderBy?: string | undefined; includeCursor?: boolean | undefined; subscriberId?: string | undefined; contextKeys?: Array | undefined; channel?: string | undefined; providerId?: string | undefined; integrationIdentifier?: string | undefined; connectionIdentifier?: string | undefined; "idempotency-key"?: string | undefined; }; /** @internal */ export declare const ChannelEndpointsControllerListChannelEndpointsRequest$outboundSchema: z.ZodType; export declare function channelEndpointsControllerListChannelEndpointsRequestToJSON(channelEndpointsControllerListChannelEndpointsRequest: ChannelEndpointsControllerListChannelEndpointsRequest): string; /** @internal */ export declare const ChannelEndpointsControllerListChannelEndpointsResponse$inboundSchema: z.ZodType; export declare function channelEndpointsControllerListChannelEndpointsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=channelendpointscontrollerlistchannelendpoints.d.ts.map