import * as z from "zod/v3";
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 AccountingListCompanyJournalsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type AccountingListCompanyJournalsRequest = {
    /**
     * 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?: AccountingListCompanyJournalsQueryParamFilter | null | undefined;
    id: string;
    /**
     * 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?: Date | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type AccountingListCompanyJournalsResponse = {
    /**
     * The list of journals was retrieved.
     */
    accountingJournalsPaginated?: shared.AccountingJournalsPaginated | 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 AccountingListCompanyJournalsQueryParamFilter$inboundSchema: z.ZodType<AccountingListCompanyJournalsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompanyJournalsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const AccountingListCompanyJournalsQueryParamFilter$outboundSchema: z.ZodType<AccountingListCompanyJournalsQueryParamFilter$Outbound, z.ZodTypeDef, AccountingListCompanyJournalsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompanyJournalsQueryParamFilter$ {
    /** @deprecated use `AccountingListCompanyJournalsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompanyJournalsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompanyJournalsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompanyJournalsQueryParamFilter$Outbound, z.ZodTypeDef, AccountingListCompanyJournalsQueryParamFilter>;
    /** @deprecated use `AccountingListCompanyJournalsQueryParamFilter$Outbound` instead. */
    type Outbound = AccountingListCompanyJournalsQueryParamFilter$Outbound;
}
export declare function accountingListCompanyJournalsQueryParamFilterToJSON(accountingListCompanyJournalsQueryParamFilter: AccountingListCompanyJournalsQueryParamFilter): string;
export declare function accountingListCompanyJournalsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<AccountingListCompanyJournalsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AccountingListCompanyJournalsRequest$inboundSchema: z.ZodType<AccountingListCompanyJournalsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompanyJournalsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: AccountingListCompanyJournalsQueryParamFilter$Outbound | null | undefined;
    id: string;
    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 AccountingListCompanyJournalsRequest$outboundSchema: z.ZodType<AccountingListCompanyJournalsRequest$Outbound, z.ZodTypeDef, AccountingListCompanyJournalsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompanyJournalsRequest$ {
    /** @deprecated use `AccountingListCompanyJournalsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompanyJournalsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompanyJournalsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompanyJournalsRequest$Outbound, z.ZodTypeDef, AccountingListCompanyJournalsRequest>;
    /** @deprecated use `AccountingListCompanyJournalsRequest$Outbound` instead. */
    type Outbound = AccountingListCompanyJournalsRequest$Outbound;
}
export declare function accountingListCompanyJournalsRequestToJSON(accountingListCompanyJournalsRequest: AccountingListCompanyJournalsRequest): string;
export declare function accountingListCompanyJournalsRequestFromJSON(jsonString: string): SafeParseResult<AccountingListCompanyJournalsRequest, SDKValidationError>;
/** @internal */
export declare const AccountingListCompanyJournalsResponse$inboundSchema: z.ZodType<AccountingListCompanyJournalsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompanyJournalsResponse$Outbound = {
    AccountingJournalsPaginated?: shared.AccountingJournalsPaginated$Outbound | undefined;
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AccountingListCompanyJournalsResponse$outboundSchema: z.ZodType<AccountingListCompanyJournalsResponse$Outbound, z.ZodTypeDef, AccountingListCompanyJournalsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompanyJournalsResponse$ {
    /** @deprecated use `AccountingListCompanyJournalsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompanyJournalsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompanyJournalsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompanyJournalsResponse$Outbound, z.ZodTypeDef, AccountingListCompanyJournalsResponse>;
    /** @deprecated use `AccountingListCompanyJournalsResponse$Outbound` instead. */
    type Outbound = AccountingListCompanyJournalsResponse$Outbound;
}
export declare function accountingListCompanyJournalsResponseToJSON(accountingListCompanyJournalsResponse: AccountingListCompanyJournalsResponse): string;
export declare function accountingListCompanyJournalsResponseFromJSON(jsonString: string): SafeParseResult<AccountingListCompanyJournalsResponse, SDKValidationError>;
//# sourceMappingURL=accountinglistcompanyjournals.d.ts.map