import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { BenefitType } from "../components/benefittype.js"; import { CustomerBenefitGrantSortProperty } from "../components/customerbenefitgrantsortproperty.js"; import { ListResourceCustomerBenefitGrant } from "../components/listresourcecustomerbenefitgrant.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CustomerPortalBenefitGrantsListSecurity = { customerSession?: string | undefined; memberSession?: string | undefined; }; /** * Filter by benefit type. */ export type QueryParamBenefitTypeFilter = BenefitType | Array; /** * Filter by benefit ID. */ export type CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter = string | Array; /** * Filter by checkout ID. */ export type QueryParamCheckoutIDFilter = string | Array; /** * Filter by order ID. */ export type CustomerPortalBenefitGrantsListQueryParamOrderIDFilter = string | Array; /** * Filter by subscription ID. */ export type CustomerPortalBenefitGrantsListQueryParamSubscriptionIDFilter = string | Array; /** * Filter by member ID. */ export type QueryParamMemberIDFilter = string | Array; export type CustomerPortalBenefitGrantsListRequest = { /** * Filter by benefit description. */ query?: string | null | undefined; /** * Filter by benefit type. */ typeFilter?: BenefitType | Array | null | undefined; /** * Filter by benefit ID. */ benefitId?: string | Array | null | undefined; /** * Filter by checkout ID. */ checkoutId?: string | Array | null | undefined; /** * Filter by order ID. */ orderId?: string | Array | null | undefined; /** * Filter by subscription ID. */ subscriptionId?: string | Array | null | undefined; /** * Filter by member ID. */ memberId?: 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 CustomerPortalBenefitGrantsListResponse = { result: ListResourceCustomerBenefitGrant; }; /** @internal */ export type CustomerPortalBenefitGrantsListSecurity$Outbound = { customer_session?: string | undefined; member_session?: string | undefined; }; /** @internal */ export declare const CustomerPortalBenefitGrantsListSecurity$outboundSchema: z.ZodMiniType; export declare function customerPortalBenefitGrantsListSecurityToJSON(customerPortalBenefitGrantsListSecurity: CustomerPortalBenefitGrantsListSecurity): string; /** @internal */ export type QueryParamBenefitTypeFilter$Outbound = string | Array; /** @internal */ export declare const QueryParamBenefitTypeFilter$outboundSchema: z.ZodMiniType; export declare function queryParamBenefitTypeFilterToJSON(queryParamBenefitTypeFilter: QueryParamBenefitTypeFilter): string; /** @internal */ export type CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter$Outbound = string | Array; /** @internal */ export declare const CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter$outboundSchema: z.ZodMiniType; export declare function customerPortalBenefitGrantsListQueryParamBenefitIDFilterToJSON(customerPortalBenefitGrantsListQueryParamBenefitIDFilter: CustomerPortalBenefitGrantsListQueryParamBenefitIDFilter): string; /** @internal */ export type QueryParamCheckoutIDFilter$Outbound = string | Array; /** @internal */ export declare const QueryParamCheckoutIDFilter$outboundSchema: z.ZodMiniType; export declare function queryParamCheckoutIDFilterToJSON(queryParamCheckoutIDFilter: QueryParamCheckoutIDFilter): string; /** @internal */ export type CustomerPortalBenefitGrantsListQueryParamOrderIDFilter$Outbound = string | Array; /** @internal */ export declare const CustomerPortalBenefitGrantsListQueryParamOrderIDFilter$outboundSchema: z.ZodMiniType; export declare function customerPortalBenefitGrantsListQueryParamOrderIDFilterToJSON(customerPortalBenefitGrantsListQueryParamOrderIDFilter: CustomerPortalBenefitGrantsListQueryParamOrderIDFilter): string; /** @internal */ export type CustomerPortalBenefitGrantsListQueryParamSubscriptionIDFilter$Outbound = string | Array; /** @internal */ export declare const CustomerPortalBenefitGrantsListQueryParamSubscriptionIDFilter$outboundSchema: z.ZodMiniType; export declare function customerPortalBenefitGrantsListQueryParamSubscriptionIDFilterToJSON(customerPortalBenefitGrantsListQueryParamSubscriptionIDFilter: CustomerPortalBenefitGrantsListQueryParamSubscriptionIDFilter): string; /** @internal */ export type QueryParamMemberIDFilter$Outbound = string | Array; /** @internal */ export declare const QueryParamMemberIDFilter$outboundSchema: z.ZodMiniType; export declare function queryParamMemberIDFilterToJSON(queryParamMemberIDFilter: QueryParamMemberIDFilter): string; /** @internal */ export type CustomerPortalBenefitGrantsListRequest$Outbound = { query?: string | null | undefined; type_filter?: string | Array | null | undefined; benefit_id?: string | Array | null | undefined; checkout_id?: string | Array | null | undefined; order_id?: string | Array | null | undefined; subscription_id?: string | Array | null | undefined; member_id?: string | Array | null | undefined; page: number; limit: number; sorting?: Array | null | undefined; }; /** @internal */ export declare const CustomerPortalBenefitGrantsListRequest$outboundSchema: z.ZodMiniType; export declare function customerPortalBenefitGrantsListRequestToJSON(customerPortalBenefitGrantsListRequest: CustomerPortalBenefitGrantsListRequest): string; /** @internal */ export declare const CustomerPortalBenefitGrantsListResponse$inboundSchema: z.ZodMiniType; export declare function customerPortalBenefitGrantsListResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customerportalbenefitgrantslist.d.ts.map