import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type AccountingCreditNotesAddGlobals = {
    /**
     * 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 AccountingCreditNotesAddRequest = {
    /**
     * Include raw response. Mostly used for debugging purposes
     */
    raw?: boolean | undefined;
    /**
     * 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;
    /**
     * 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;
    creditNote: components.CreditNoteInput;
};
export type AccountingCreditNotesAddResponse = {
    httpMeta: components.HTTPMetadata;
    /**
     * Credit Note created
     */
    createCreditNoteResponse?: components.CreateCreditNoteResponse | undefined;
    /**
     * Unexpected error
     */
    unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
};
/** @internal */
export type AccountingCreditNotesAddRequest$Outbound = {
    raw: boolean;
    consumerId?: string | undefined;
    appId?: string | undefined;
    serviceId?: string | undefined;
    CreditNote: components.CreditNoteInput$Outbound;
};
/** @internal */
export declare const AccountingCreditNotesAddRequest$outboundSchema: z.ZodType<AccountingCreditNotesAddRequest$Outbound, z.ZodTypeDef, AccountingCreditNotesAddRequest>;
export declare function accountingCreditNotesAddRequestToJSON(accountingCreditNotesAddRequest: AccountingCreditNotesAddRequest): string;
/** @internal */
export declare const AccountingCreditNotesAddResponse$inboundSchema: z.ZodType<AccountingCreditNotesAddResponse, z.ZodTypeDef, unknown>;
export declare function accountingCreditNotesAddResponseFromJSON(jsonString: string): SafeParseResult<AccountingCreditNotesAddResponse, SDKValidationError>;
//# sourceMappingURL=accountingcreditnotesadd.d.ts.map