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 AccountingInvoicesUpdateGlobals = { /** * 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 AccountingInvoicesUpdateRequest = { /** * 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; invoice: components.InvoiceInput; }; export type AccountingInvoicesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Invoice updated */ updateInvoiceResponse?: components.UpdateInvoiceResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingInvoicesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoicesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingInvoicesUpdateGlobals$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 AccountingInvoicesUpdateGlobals$ { /** @deprecated use `AccountingInvoicesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesUpdateGlobals$Outbound` instead. */ type Outbound = AccountingInvoicesUpdateGlobals$Outbound; } export declare function accountingInvoicesUpdateGlobalsToJSON(accountingInvoicesUpdateGlobals: AccountingInvoicesUpdateGlobals): string; export declare function accountingInvoicesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingInvoicesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoicesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Invoice: components.InvoiceInput$Outbound; }; /** @internal */ export declare const AccountingInvoicesUpdateRequest$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 AccountingInvoicesUpdateRequest$ { /** @deprecated use `AccountingInvoicesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesUpdateRequest$Outbound` instead. */ type Outbound = AccountingInvoicesUpdateRequest$Outbound; } export declare function accountingInvoicesUpdateRequestToJSON(accountingInvoicesUpdateRequest: AccountingInvoicesUpdateRequest): string; export declare function accountingInvoicesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingInvoicesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoicesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateInvoiceResponse?: components.UpdateInvoiceResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingInvoicesUpdateResponse$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 AccountingInvoicesUpdateResponse$ { /** @deprecated use `AccountingInvoicesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesUpdateResponse$Outbound` instead. */ type Outbound = AccountingInvoicesUpdateResponse$Outbound; } export declare function accountingInvoicesUpdateResponseToJSON(accountingInvoicesUpdateResponse: AccountingInvoicesUpdateResponse): string; export declare function accountingInvoicesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountinginvoicesupdate.d.ts.map