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 AccountingLedgerAccountsAddGlobals = { /** * 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 AccountingLedgerAccountsAddRequest = { /** * 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; ledgerAccount: components.LedgerAccountInput; }; export type AccountingLedgerAccountsAddResponse = { httpMeta: components.HTTPMetadata; /** * LedgerAccount created */ createLedgerAccountResponse?: components.CreateLedgerAccountResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingLedgerAccountsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingLedgerAccountsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingLedgerAccountsAddGlobals$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 AccountingLedgerAccountsAddGlobals$ { /** @deprecated use `AccountingLedgerAccountsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsAddGlobals$Outbound` instead. */ type Outbound = AccountingLedgerAccountsAddGlobals$Outbound; } export declare function accountingLedgerAccountsAddGlobalsToJSON(accountingLedgerAccountsAddGlobals: AccountingLedgerAccountsAddGlobals): string; export declare function accountingLedgerAccountsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLedgerAccountsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingLedgerAccountsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; LedgerAccount: components.LedgerAccountInput$Outbound; }; /** @internal */ export declare const AccountingLedgerAccountsAddRequest$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 AccountingLedgerAccountsAddRequest$ { /** @deprecated use `AccountingLedgerAccountsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsAddRequest$Outbound` instead. */ type Outbound = AccountingLedgerAccountsAddRequest$Outbound; } export declare function accountingLedgerAccountsAddRequestToJSON(accountingLedgerAccountsAddRequest: AccountingLedgerAccountsAddRequest): string; export declare function accountingLedgerAccountsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLedgerAccountsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingLedgerAccountsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateLedgerAccountResponse?: components.CreateLedgerAccountResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingLedgerAccountsAddResponse$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 AccountingLedgerAccountsAddResponse$ { /** @deprecated use `AccountingLedgerAccountsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLedgerAccountsAddResponse$Outbound` instead. */ type Outbound = AccountingLedgerAccountsAddResponse$Outbound; } export declare function accountingLedgerAccountsAddResponseToJSON(accountingLedgerAccountsAddResponse: AccountingLedgerAccountsAddResponse): string; export declare function accountingLedgerAccountsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingledgeraccountsadd.d.ts.map