import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { CustomerSubscriptionSortProperty } from "../components/customersubscriptionsortproperty.js"; import { ListResourceCustomerSubscription } from "../components/listresourcecustomersubscription.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CustomerPortalSubscriptionsListSecurity = { customerSession?: string | undefined; memberSession?: string | undefined; }; /** * Filter by product ID. */ export type CustomerPortalSubscriptionsListQueryParamProductIDFilter = string | Array; export type CustomerPortalSubscriptionsListRequest = { /** * Filter by product ID. */ productId?: string | Array | null | undefined; /** * Filter by active or cancelled subscription. */ active?: boolean | null | undefined; /** * Search by product or organization name. */ query?: string | 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 CustomerPortalSubscriptionsListResponse = { result: ListResourceCustomerSubscription; }; /** @internal */ export type CustomerPortalSubscriptionsListSecurity$Outbound = { customer_session?: string | undefined; member_session?: string | undefined; }; /** @internal */ export declare const CustomerPortalSubscriptionsListSecurity$outboundSchema: z.ZodMiniType; export declare function customerPortalSubscriptionsListSecurityToJSON(customerPortalSubscriptionsListSecurity: CustomerPortalSubscriptionsListSecurity): string; /** @internal */ export type CustomerPortalSubscriptionsListQueryParamProductIDFilter$Outbound = string | Array; /** @internal */ export declare const CustomerPortalSubscriptionsListQueryParamProductIDFilter$outboundSchema: z.ZodMiniType; export declare function customerPortalSubscriptionsListQueryParamProductIDFilterToJSON(customerPortalSubscriptionsListQueryParamProductIDFilter: CustomerPortalSubscriptionsListQueryParamProductIDFilter): string; /** @internal */ export type CustomerPortalSubscriptionsListRequest$Outbound = { product_id?: string | Array | null | undefined; active?: boolean | null | undefined; query?: string | null | undefined; page: number; limit: number; sorting?: Array | null | undefined; }; /** @internal */ export declare const CustomerPortalSubscriptionsListRequest$outboundSchema: z.ZodMiniType; export declare function customerPortalSubscriptionsListRequestToJSON(customerPortalSubscriptionsListRequest: CustomerPortalSubscriptionsListRequest): string; /** @internal */ export declare const CustomerPortalSubscriptionsListResponse$inboundSchema: z.ZodMiniType; export declare function customerPortalSubscriptionsListResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customerportalsubscriptionslist.d.ts.map