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 AccountingJournalEntriesAddGlobals = { /** * 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 AccountingJournalEntriesAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * 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; journalEntry: components.JournalEntryInput; }; export type AccountingJournalEntriesAddResponse = { httpMeta: components.HTTPMetadata; /** * JournalEntries */ createJournalEntryResponse?: components.CreateJournalEntryResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingJournalEntriesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingJournalEntriesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingJournalEntriesAddGlobals$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 AccountingJournalEntriesAddGlobals$ { /** @deprecated use `AccountingJournalEntriesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesAddGlobals$Outbound` instead. */ type Outbound = AccountingJournalEntriesAddGlobals$Outbound; } export declare function accountingJournalEntriesAddGlobalsToJSON(accountingJournalEntriesAddGlobals: AccountingJournalEntriesAddGlobals): string; export declare function accountingJournalEntriesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingJournalEntriesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingJournalEntriesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; JournalEntry: components.JournalEntryInput$Outbound; }; /** @internal */ export declare const AccountingJournalEntriesAddRequest$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 AccountingJournalEntriesAddRequest$ { /** @deprecated use `AccountingJournalEntriesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesAddRequest$Outbound` instead. */ type Outbound = AccountingJournalEntriesAddRequest$Outbound; } export declare function accountingJournalEntriesAddRequestToJSON(accountingJournalEntriesAddRequest: AccountingJournalEntriesAddRequest): string; export declare function accountingJournalEntriesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingJournalEntriesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingJournalEntriesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateJournalEntryResponse?: components.CreateJournalEntryResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingJournalEntriesAddResponse$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 AccountingJournalEntriesAddResponse$ { /** @deprecated use `AccountingJournalEntriesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingJournalEntriesAddResponse$Outbound` instead. */ type Outbound = AccountingJournalEntriesAddResponse$Outbound; } export declare function accountingJournalEntriesAddResponseToJSON(accountingJournalEntriesAddResponse: AccountingJournalEntriesAddResponse): string; export declare function accountingJournalEntriesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingjournalentriesadd.d.ts.map