import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Filter destinations by type(s). Use bracket notation for multiple values (e.g., `type[0]=webhook&type[1]=aws_sqs`). */ export type ListTenantDestinationsType = components.DestinationType | Array; /** * Filter destinations by supported topic(s). Use bracket notation for multiple values (e.g., `topics[0]=user.created&topics[1]=user.deleted`). */ export type Topics = string | Array; export type ListTenantDestinationsRequest = { /** * The ID of the tenant. Required when using AdminApiKey authentication. */ tenantId: string; /** * Filter destinations by type(s). Use bracket notation for multiple values (e.g., `type[0]=webhook&type[1]=aws_sqs`). */ type?: components.DestinationType | Array | undefined; /** * Filter destinations by supported topic(s). Use bracket notation for multiple values (e.g., `topics[0]=user.created&topics[1]=user.deleted`). */ topics?: string | Array | undefined; }; /** @internal */ export declare const ListTenantDestinationsType$inboundSchema: z.ZodType; /** @internal */ export type ListTenantDestinationsType$Outbound = string | Array; /** @internal */ export declare const ListTenantDestinationsType$outboundSchema: z.ZodType; export declare function listTenantDestinationsTypeToJSON(listTenantDestinationsType: ListTenantDestinationsType): string; export declare function listTenantDestinationsTypeFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Topics$inboundSchema: z.ZodType; /** @internal */ export type Topics$Outbound = string | Array; /** @internal */ export declare const Topics$outboundSchema: z.ZodType; export declare function topicsToJSON(topics: Topics): string; export declare function topicsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListTenantDestinationsRequest$inboundSchema: z.ZodType; /** @internal */ export type ListTenantDestinationsRequest$Outbound = { tenant_id: string; type?: string | Array | undefined; topics?: string | Array | undefined; }; /** @internal */ export declare const ListTenantDestinationsRequest$outboundSchema: z.ZodType; export declare function listTenantDestinationsRequestToJSON(listTenantDestinationsRequest: ListTenantDestinationsRequest): string; export declare function listTenantDestinationsRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listtenantdestinations.d.ts.map