import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { CheckoutLinkSortProperty } from "../components/checkoutlinksortproperty.js"; import { ListResourceCheckoutLink } from "../components/listresourcecheckoutlink.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Filter by organization ID. */ export type CheckoutLinksListQueryParamOrganizationIDFilter = string | Array; /** * Filter by product ID. */ export type CheckoutLinksListQueryParamProductIDFilter = string | Array; export type CheckoutLinksListRequest = { /** * Filter by organization ID. */ organizationId?: string | Array | null | undefined; /** * Filter by product ID. */ productId?: string | Array | null | undefined; /** * Page number, defaults to 1. */ page?: number | undefined; /** * Size of a page, defaults to 10. Maximum is 100. */ limit?: number | undefined; /** * Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. */ sorting?: Array | null | undefined; }; export type CheckoutLinksListResponse = { result: ListResourceCheckoutLink; }; /** @internal */ export type CheckoutLinksListQueryParamOrganizationIDFilter$Outbound = string | Array; /** @internal */ export declare const CheckoutLinksListQueryParamOrganizationIDFilter$outboundSchema: z.ZodMiniType; export declare function checkoutLinksListQueryParamOrganizationIDFilterToJSON(checkoutLinksListQueryParamOrganizationIDFilter: CheckoutLinksListQueryParamOrganizationIDFilter): string; /** @internal */ export type CheckoutLinksListQueryParamProductIDFilter$Outbound = string | Array; /** @internal */ export declare const CheckoutLinksListQueryParamProductIDFilter$outboundSchema: z.ZodMiniType; export declare function checkoutLinksListQueryParamProductIDFilterToJSON(checkoutLinksListQueryParamProductIDFilter: CheckoutLinksListQueryParamProductIDFilter): string; /** @internal */ export type CheckoutLinksListRequest$Outbound = { organization_id?: string | Array | null | undefined; product_id?: string | Array | null | undefined; page: number; limit: number; sorting?: Array | null | undefined; }; /** @internal */ export declare const CheckoutLinksListRequest$outboundSchema: z.ZodMiniType; export declare function checkoutLinksListRequestToJSON(checkoutLinksListRequest: CheckoutLinksListRequest): string; /** @internal */ export declare const CheckoutLinksListResponse$inboundSchema: z.ZodMiniType; export declare function checkoutLinksListResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=checkoutlinkslist.d.ts.map