import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
/**
 * Filter parameters that allow greater customisation of the list response
 */
export type MarketingListCampaignsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: string | null | undefined;
};
export type MarketingListCampaignsRequest = {
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    /**
     * Filter parameters that allow greater customisation of the list response
     */
    filter?: MarketingListCampaignsQueryParamFilter | null | undefined;
    /**
     * The unified cursor
     */
    next?: string | null | undefined;
    /**
     * The page number of the results to fetch
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    page?: string | null | undefined;
    /**
     * The number of results per page (default value is 25)
     */
    pageSize?: string | null | undefined;
    /**
     * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
     */
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
     */
    raw?: boolean | null | undefined;
    /**
     * Use a string with a date to only select results updated after that given date
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    updatedAfter?: string | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type MarketingListCampaignsResponse = {
    /**
     * The list of campaigns was retrieved.
     */
    campaignsPaginated?: shared.CampaignsPaginated | undefined;
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export declare const MarketingListCampaignsQueryParamFilter$inboundSchema: z.ZodType<MarketingListCampaignsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type MarketingListCampaignsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const MarketingListCampaignsQueryParamFilter$outboundSchema: z.ZodType<MarketingListCampaignsQueryParamFilter$Outbound, z.ZodTypeDef, MarketingListCampaignsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MarketingListCampaignsQueryParamFilter$ {
    /** @deprecated use `MarketingListCampaignsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MarketingListCampaignsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `MarketingListCampaignsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MarketingListCampaignsQueryParamFilter$Outbound, z.ZodTypeDef, MarketingListCampaignsQueryParamFilter>;
    /** @deprecated use `MarketingListCampaignsQueryParamFilter$Outbound` instead. */
    type Outbound = MarketingListCampaignsQueryParamFilter$Outbound;
}
export declare function marketingListCampaignsQueryParamFilterToJSON(marketingListCampaignsQueryParamFilter: MarketingListCampaignsQueryParamFilter): string;
export declare function marketingListCampaignsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<MarketingListCampaignsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const MarketingListCampaignsRequest$inboundSchema: z.ZodType<MarketingListCampaignsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type MarketingListCampaignsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: MarketingListCampaignsQueryParamFilter$Outbound | null | undefined;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size?: string | null | undefined;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const MarketingListCampaignsRequest$outboundSchema: z.ZodType<MarketingListCampaignsRequest$Outbound, z.ZodTypeDef, MarketingListCampaignsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MarketingListCampaignsRequest$ {
    /** @deprecated use `MarketingListCampaignsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MarketingListCampaignsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `MarketingListCampaignsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MarketingListCampaignsRequest$Outbound, z.ZodTypeDef, MarketingListCampaignsRequest>;
    /** @deprecated use `MarketingListCampaignsRequest$Outbound` instead. */
    type Outbound = MarketingListCampaignsRequest$Outbound;
}
export declare function marketingListCampaignsRequestToJSON(marketingListCampaignsRequest: MarketingListCampaignsRequest): string;
export declare function marketingListCampaignsRequestFromJSON(jsonString: string): SafeParseResult<MarketingListCampaignsRequest, SDKValidationError>;
/** @internal */
export declare const MarketingListCampaignsResponse$inboundSchema: z.ZodType<MarketingListCampaignsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type MarketingListCampaignsResponse$Outbound = {
    CampaignsPaginated?: shared.CampaignsPaginated$Outbound | undefined;
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const MarketingListCampaignsResponse$outboundSchema: z.ZodType<MarketingListCampaignsResponse$Outbound, z.ZodTypeDef, MarketingListCampaignsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MarketingListCampaignsResponse$ {
    /** @deprecated use `MarketingListCampaignsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MarketingListCampaignsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `MarketingListCampaignsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MarketingListCampaignsResponse$Outbound, z.ZodTypeDef, MarketingListCampaignsResponse>;
    /** @deprecated use `MarketingListCampaignsResponse$Outbound` instead. */
    type Outbound = MarketingListCampaignsResponse$Outbound;
}
export declare function marketingListCampaignsResponseToJSON(marketingListCampaignsResponse: MarketingListCampaignsResponse): string;
export declare function marketingListCampaignsResponseFromJSON(jsonString: string): SafeParseResult<MarketingListCampaignsResponse, SDKValidationError>;
//# sourceMappingURL=marketinglistcampaigns.d.ts.map