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 AccountingJournalEntriesUpdateGlobals = { /** * 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 AccountingJournalEntriesUpdateRequest = { /** * 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; journalEntry: components.JournalEntryInput; }; export type AccountingJournalEntriesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * JournalEntries */ updateJournalEntryResponse?: components.UpdateJournalEntryResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingJournalEntriesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingJournalEntriesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingJournalEntriesUpdateGlobals$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 AccountingJournalEntriesUpdateGlobals$ { /** @deprecated use `AccountingJournalEntriesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesUpdateGlobals$Outbound` instead. */ type Outbound = AccountingJournalEntriesUpdateGlobals$Outbound; } export declare function accountingJournalEntriesUpdateGlobalsToJSON(accountingJournalEntriesUpdateGlobals: AccountingJournalEntriesUpdateGlobals): string; export declare function accountingJournalEntriesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingJournalEntriesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingJournalEntriesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; JournalEntry: components.JournalEntryInput$Outbound; }; /** @internal */ export declare const AccountingJournalEntriesUpdateRequest$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 AccountingJournalEntriesUpdateRequest$ { /** @deprecated use `AccountingJournalEntriesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesUpdateRequest$Outbound` instead. */ type Outbound = AccountingJournalEntriesUpdateRequest$Outbound; } export declare function accountingJournalEntriesUpdateRequestToJSON(accountingJournalEntriesUpdateRequest: AccountingJournalEntriesUpdateRequest): string; export declare function accountingJournalEntriesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingJournalEntriesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingJournalEntriesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateJournalEntryResponse?: components.UpdateJournalEntryResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingJournalEntriesUpdateResponse$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 AccountingJournalEntriesUpdateResponse$ { /** @deprecated use `AccountingJournalEntriesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesUpdateResponse$Outbound` instead. */ type Outbound = AccountingJournalEntriesUpdateResponse$Outbound; } export declare function accountingJournalEntriesUpdateResponseToJSON(accountingJournalEntriesUpdateResponse: AccountingJournalEntriesUpdateResponse): string; export declare function accountingJournalEntriesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingjournalentriesupdate.d.ts.map