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"; export type ListAllReportExecutionsGlobals = { merchantAccountId?: string | undefined; }; export type ListAllReportExecutionsRequest = { /** * A pointer to the page of results to return. */ cursor?: string | null | undefined; /** * The maximum number of items that are at returned. */ limit?: number | undefined; /** * Filters the reports by searching their name for (partial) matches. */ reportName?: string | null | undefined; /** * Filters the results to only reports created before this ISO date-time string. The time zone must be included. Ensure that the date-time string is URL encoded, e.g. `2022-01-01T12:00:00+08:00` must be encoded as `2022-01-01T12%3A00%3A00%2B08%3A00`. */ createdAtLte?: Date | null | undefined; /** * Filters the results to only reports created after this ISO date-time string. The time zone must be included. Ensure that the date-time string is URL encoded, e.g. `2022-01-01T12:00:00+08:00` must be encoded as `2022-01-01T12%3A00%3A00%2B08%3A00`. */ createdAtGte?: Date | null | undefined; /** * Filters the results to only the reports that have a `status` that matches with any of the provided status values. */ status?: Array | null | undefined; /** * Filters the results to only the reports that were created by the users with these IDs. */ creatorId?: Array | null | undefined; /** * The ID of the merchant account to use for this request. */ merchantAccountId?: string | null | undefined; }; export type ListAllReportExecutionsResponse = { result: components.ReportExecutions; }; /** @internal */ export type ListAllReportExecutionsRequest$Outbound = { cursor?: string | null | undefined; limit: number; report_name?: string | null | undefined; created_at_lte?: string | null | undefined; created_at_gte?: string | null | undefined; status?: Array | null | undefined; creator_id?: Array | null | undefined; merchantAccountId?: string | null | undefined; }; /** @internal */ export declare const ListAllReportExecutionsRequest$outboundSchema: z.ZodType; export declare function listAllReportExecutionsRequestToJSON(listAllReportExecutionsRequest: ListAllReportExecutionsRequest): string; /** @internal */ export declare const ListAllReportExecutionsResponse$inboundSchema: z.ZodType; export declare function listAllReportExecutionsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listallreportexecutions.d.ts.map