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 AccountingCreditNotesDeleteGlobals = { /** * 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 AccountingCreditNotesDeleteRequest = { /** * 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; }; export type AccountingCreditNotesDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Credit Note deleted */ deleteCreditNoteResponse?: components.DeleteCreditNoteResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingCreditNotesDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingCreditNotesDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingCreditNotesDeleteGlobals$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 AccountingCreditNotesDeleteGlobals$ { /** @deprecated use `AccountingCreditNotesDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesDeleteGlobals$Outbound` instead. */ type Outbound = AccountingCreditNotesDeleteGlobals$Outbound; } export declare function accountingCreditNotesDeleteGlobalsToJSON(accountingCreditNotesDeleteGlobals: AccountingCreditNotesDeleteGlobals): string; export declare function accountingCreditNotesDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingCreditNotesDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingCreditNotesDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const AccountingCreditNotesDeleteRequest$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 AccountingCreditNotesDeleteRequest$ { /** @deprecated use `AccountingCreditNotesDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesDeleteRequest$Outbound` instead. */ type Outbound = AccountingCreditNotesDeleteRequest$Outbound; } export declare function accountingCreditNotesDeleteRequestToJSON(accountingCreditNotesDeleteRequest: AccountingCreditNotesDeleteRequest): string; export declare function accountingCreditNotesDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingCreditNotesDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingCreditNotesDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteCreditNoteResponse?: components.DeleteCreditNoteResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingCreditNotesDeleteResponse$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 AccountingCreditNotesDeleteResponse$ { /** @deprecated use `AccountingCreditNotesDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCreditNotesDeleteResponse$Outbound` instead. */ type Outbound = AccountingCreditNotesDeleteResponse$Outbound; } export declare function accountingCreditNotesDeleteResponseToJSON(accountingCreditNotesDeleteResponse: AccountingCreditNotesDeleteResponse): string; export declare function accountingCreditNotesDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingcreditnotesdelete.d.ts.map