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 AccountingListCompanyAccountsQueryParamFilter = {
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type AccountingListCompanyAccountsRequest = {
    /**
     * 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?: AccountingListCompanyAccountsQueryParamFilter | 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 AccountingListCompanyAccountsResponse = {
    /**
     * The list of accounts was retrieved.
     */
    accountingAccountsPaginated?: shared.AccountingAccountsPaginated | 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 AccountingListCompanyAccountsQueryParamFilter$inboundSchema: z.ZodType<AccountingListCompanyAccountsQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompanyAccountsQueryParamFilter$Outbound = {
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const AccountingListCompanyAccountsQueryParamFilter$outboundSchema: z.ZodType<AccountingListCompanyAccountsQueryParamFilter$Outbound, z.ZodTypeDef, AccountingListCompanyAccountsQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompanyAccountsQueryParamFilter$ {
    /** @deprecated use `AccountingListCompanyAccountsQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompanyAccountsQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompanyAccountsQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompanyAccountsQueryParamFilter$Outbound, z.ZodTypeDef, AccountingListCompanyAccountsQueryParamFilter>;
    /** @deprecated use `AccountingListCompanyAccountsQueryParamFilter$Outbound` instead. */
    type Outbound = AccountingListCompanyAccountsQueryParamFilter$Outbound;
}
export declare function accountingListCompanyAccountsQueryParamFilterToJSON(accountingListCompanyAccountsQueryParamFilter: AccountingListCompanyAccountsQueryParamFilter): string;
export declare function accountingListCompanyAccountsQueryParamFilterFromJSON(jsonString: string): SafeParseResult<AccountingListCompanyAccountsQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const AccountingListCompanyAccountsRequest$inboundSchema: z.ZodType<AccountingListCompanyAccountsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompanyAccountsRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: AccountingListCompanyAccountsQueryParamFilter$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 AccountingListCompanyAccountsRequest$outboundSchema: z.ZodType<AccountingListCompanyAccountsRequest$Outbound, z.ZodTypeDef, AccountingListCompanyAccountsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompanyAccountsRequest$ {
    /** @deprecated use `AccountingListCompanyAccountsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompanyAccountsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompanyAccountsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompanyAccountsRequest$Outbound, z.ZodTypeDef, AccountingListCompanyAccountsRequest>;
    /** @deprecated use `AccountingListCompanyAccountsRequest$Outbound` instead. */
    type Outbound = AccountingListCompanyAccountsRequest$Outbound;
}
export declare function accountingListCompanyAccountsRequestToJSON(accountingListCompanyAccountsRequest: AccountingListCompanyAccountsRequest): string;
export declare function accountingListCompanyAccountsRequestFromJSON(jsonString: string): SafeParseResult<AccountingListCompanyAccountsRequest, SDKValidationError>;
/** @internal */
export declare const AccountingListCompanyAccountsResponse$inboundSchema: z.ZodType<AccountingListCompanyAccountsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AccountingListCompanyAccountsResponse$Outbound = {
    AccountingAccountsPaginated?: shared.AccountingAccountsPaginated$Outbound | undefined;
    ContentType: string;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const AccountingListCompanyAccountsResponse$outboundSchema: z.ZodType<AccountingListCompanyAccountsResponse$Outbound, z.ZodTypeDef, AccountingListCompanyAccountsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccountingListCompanyAccountsResponse$ {
    /** @deprecated use `AccountingListCompanyAccountsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccountingListCompanyAccountsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccountingListCompanyAccountsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccountingListCompanyAccountsResponse$Outbound, z.ZodTypeDef, AccountingListCompanyAccountsResponse>;
    /** @deprecated use `AccountingListCompanyAccountsResponse$Outbound` instead. */
    type Outbound = AccountingListCompanyAccountsResponse$Outbound;
}
export declare function accountingListCompanyAccountsResponseToJSON(accountingListCompanyAccountsResponse: AccountingListCompanyAccountsResponse): string;
export declare function accountingListCompanyAccountsResponseFromJSON(jsonString: string): SafeParseResult<AccountingListCompanyAccountsResponse, SDKValidationError>;
//# sourceMappingURL=accountinglistcompanyaccounts.d.ts.map