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 ListAuditLogsGlobals = { merchantAccountId?: string | undefined; }; export type ListAuditLogsRequest = { /** * 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 results to only the items for which the `audit-log` has an `action` that matches this value. */ action?: components.AuditLogAction | null | undefined; /** * Filters the results to only the items for which the `user` has an `id` that matches this value. */ userId?: string | null | undefined; /** * Filters the results to only the items for which the `audit-log` has a `resource` that matches this type value. */ resourceType?: string | null | undefined; /** * The ID of the merchant account to use for this request. */ merchantAccountId?: string | null | undefined; }; export type ListAuditLogsResponse = { result: components.AuditLogEntries; }; /** @internal */ export type ListAuditLogsRequest$Outbound = { cursor?: string | null | undefined; limit: number; action?: string | null | undefined; user_id?: string | null | undefined; resource_type?: string | null | undefined; merchantAccountId?: string | null | undefined; }; /** @internal */ export declare const ListAuditLogsRequest$outboundSchema: z.ZodType; export declare function listAuditLogsRequestToJSON(listAuditLogsRequest: ListAuditLogsRequest): string; /** @internal */ export declare const ListAuditLogsResponse$inboundSchema: z.ZodType; export declare function listAuditLogsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listauditlogs.d.ts.map