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 AccountingCreditNotesUpdateGlobals = { /** * 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 AccountingCreditNotesUpdateRequest = { /** * 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; creditNote: components.CreditNoteInput; }; export type AccountingCreditNotesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Credit Note updated */ updateCreditNoteResponse?: components.UpdateCreditNoteResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingCreditNotesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingCreditNotesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingCreditNotesUpdateGlobals$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 AccountingCreditNotesUpdateGlobals$ { /** @deprecated use `AccountingCreditNotesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesUpdateGlobals$Outbound` instead. */ type Outbound = AccountingCreditNotesUpdateGlobals$Outbound; } export declare function accountingCreditNotesUpdateGlobalsToJSON(accountingCreditNotesUpdateGlobals: AccountingCreditNotesUpdateGlobals): string; export declare function accountingCreditNotesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingCreditNotesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingCreditNotesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; CreditNote: components.CreditNoteInput$Outbound; }; /** @internal */ export declare const AccountingCreditNotesUpdateRequest$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 AccountingCreditNotesUpdateRequest$ { /** @deprecated use `AccountingCreditNotesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesUpdateRequest$Outbound` instead. */ type Outbound = AccountingCreditNotesUpdateRequest$Outbound; } export declare function accountingCreditNotesUpdateRequestToJSON(accountingCreditNotesUpdateRequest: AccountingCreditNotesUpdateRequest): string; export declare function accountingCreditNotesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingCreditNotesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingCreditNotesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateCreditNoteResponse?: components.UpdateCreditNoteResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingCreditNotesUpdateResponse$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 AccountingCreditNotesUpdateResponse$ { /** @deprecated use `AccountingCreditNotesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesUpdateResponse$Outbound` instead. */ type Outbound = AccountingCreditNotesUpdateResponse$Outbound; } export declare function accountingCreditNotesUpdateResponseToJSON(accountingCreditNotesUpdateResponse: AccountingCreditNotesUpdateResponse): string; export declare function accountingCreditNotesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingcreditnotesupdate.d.ts.map