import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AccountingLedgerAccountsDeleteGlobals = { /** * ID of the consumer which you want to get or push data from */ consumerId?: string | undefined; /** * The ID of your Unify application */ appId?: string | undefined; }; export type AccountingLedgerAccountsDeleteRequest = { /** * ID of the record you are acting upon. */ id: string; /** * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. */ serviceId?: string | undefined; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; }; export type AccountingLedgerAccountsDeleteResponse = { httpMeta: components.HTTPMetadata; /** * LedgerAccount deleted */ deleteLedgerAccountResponse?: components.DeleteLedgerAccountResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingLedgerAccountsDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingLedgerAccountsDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingLedgerAccountsDeleteGlobals$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AccountingLedgerAccountsDeleteGlobals$ { /** @deprecated use `AccountingLedgerAccountsDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsDeleteGlobals$Outbound` instead. */ type Outbound = AccountingLedgerAccountsDeleteGlobals$Outbound; } export declare function accountingLedgerAccountsDeleteGlobalsToJSON(accountingLedgerAccountsDeleteGlobals: AccountingLedgerAccountsDeleteGlobals): string; export declare function accountingLedgerAccountsDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLedgerAccountsDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingLedgerAccountsDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const AccountingLedgerAccountsDeleteRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AccountingLedgerAccountsDeleteRequest$ { /** @deprecated use `AccountingLedgerAccountsDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsDeleteRequest$Outbound` instead. */ type Outbound = AccountingLedgerAccountsDeleteRequest$Outbound; } export declare function accountingLedgerAccountsDeleteRequestToJSON(accountingLedgerAccountsDeleteRequest: AccountingLedgerAccountsDeleteRequest): string; export declare function accountingLedgerAccountsDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLedgerAccountsDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingLedgerAccountsDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteLedgerAccountResponse?: components.DeleteLedgerAccountResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingLedgerAccountsDeleteResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AccountingLedgerAccountsDeleteResponse$ { /** @deprecated use `AccountingLedgerAccountsDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsDeleteResponse$Outbound` instead. */ type Outbound = AccountingLedgerAccountsDeleteResponse$Outbound; } export declare function accountingLedgerAccountsDeleteResponseToJSON(accountingLedgerAccountsDeleteResponse: AccountingLedgerAccountsDeleteResponse): string; export declare function accountingLedgerAccountsDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingledgeraccountsdelete.d.ts.map