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 AccountingListCompaniesQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type AccountingListCompaniesRequest = {
    /**
     * 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?: AccountingListCompaniesQueryParamFilter | 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?: Date | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type AccountingListCompaniesResponse = {
    /**
     * The list of companies was retrieved.
     */
    accountingCompaniesPaginated?: shared.AccountingCompaniesPaginated | 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 AccountingListCompaniesQueryParamFilter$inboundSchema: z.ZodType<AccountingListCompaniesQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompaniesQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const AccountingListCompaniesQueryParamFilter$outboundSchema: z.ZodType<AccountingListCompaniesQueryParamFilter$Outbound, z.ZodTypeDef, AccountingListCompaniesQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompaniesQueryParamFilter$ {
    /** @deprecated use `AccountingListCompaniesQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompaniesQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompaniesQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompaniesQueryParamFilter$Outbound, z.ZodTypeDef, AccountingListCompaniesQueryParamFilter>;
    /** @deprecated use `AccountingListCompaniesQueryParamFilter$Outbound` instead. */
    type Outbound = AccountingListCompaniesQueryParamFilter$Outbound;
}
export declare function accountingListCompaniesQueryParamFilterToJSON(accountingListCompaniesQueryParamFilter: AccountingListCompaniesQueryParamFilter): string;
export declare function accountingListCompaniesQueryParamFilterFromJSON(jsonString: string): SafeParseResult<AccountingListCompaniesQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AccountingListCompaniesRequest$inboundSchema: z.ZodType<AccountingListCompaniesRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompaniesRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: AccountingListCompaniesQueryParamFilter$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 AccountingListCompaniesRequest$outboundSchema: z.ZodType<AccountingListCompaniesRequest$Outbound, z.ZodTypeDef, AccountingListCompaniesRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompaniesRequest$ {
    /** @deprecated use `AccountingListCompaniesRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompaniesRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompaniesRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompaniesRequest$Outbound, z.ZodTypeDef, AccountingListCompaniesRequest>;
    /** @deprecated use `AccountingListCompaniesRequest$Outbound` instead. */
    type Outbound = AccountingListCompaniesRequest$Outbound;
}
export declare function accountingListCompaniesRequestToJSON(accountingListCompaniesRequest: AccountingListCompaniesRequest): string;
export declare function accountingListCompaniesRequestFromJSON(jsonString: string): SafeParseResult<AccountingListCompaniesRequest, SDKValidationError>;
/** @internal */
export declare const AccountingListCompaniesResponse$inboundSchema: z.ZodType<AccountingListCompaniesResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompaniesResponse$Outbound = {
    AccountingCompaniesPaginated?: shared.AccountingCompaniesPaginated$Outbound | undefined;
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AccountingListCompaniesResponse$outboundSchema: z.ZodType<AccountingListCompaniesResponse$Outbound, z.ZodTypeDef, AccountingListCompaniesResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompaniesResponse$ {
    /** @deprecated use `AccountingListCompaniesResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompaniesResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompaniesResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompaniesResponse$Outbound, z.ZodTypeDef, AccountingListCompaniesResponse>;
    /** @deprecated use `AccountingListCompaniesResponse$Outbound` instead. */
    type Outbound = AccountingListCompaniesResponse$Outbound;
}
export declare function accountingListCompaniesResponseToJSON(accountingListCompaniesResponse: AccountingListCompaniesResponse): string;
export declare function accountingListCompaniesResponseFromJSON(jsonString: string): SafeParseResult<AccountingListCompaniesResponse, SDKValidationError>;
//# sourceMappingURL=accountinglistcompanies.d.ts.map